- The aim of this project is to collect as many resources as possible that users can use to DevOps.
- The project will contain DevOps Learning labs.
- Detailed instructions how to contribute
- Contributing notes
- Contributing Quality
- Recommended extensions for improved contribution
- Contribute to the project.
- Make changes locally on your local machine (clone).
- Create a new branch with meaningful name (git checkout -b your-branch-name)
- Add & Commit the changes. (git add . && git commit -m "Describe your changes")
- Push the changes to your forked repository. (git push origin your-branch-name)
- Create a pull request to the main repository main branch.
- When the PR is merged you will automatically added to the list of contributors.
- Follow the instructions in the pull request to merge your changes.
- Wait for the project maintainers to review and merge your pull request.
- Start by forking the repository to your own GitHub account:
- Click the "Fork" button in the upper right corner
- Clone your fork locally:
# Clone the repository $ git clone https://github.com/YOUR-USERNAME/DevOps-Zero2Hero.git # Navigate into the project directory $ cd DevOps-Zero2Hero-NAME
- Make sure you have a setup an SSH key for GitHub.
- If you don't have one, follow these steps to generate and add your SSH key to GitHub.
- Generate an SSH key:
# Generate rsa key ssh-keygen -t rsa # Follow the prompt to save the key to a file (e.g., `~/.ssh/id_rsa`) # You can also specify a different file name by using `-f` option, e.g: # ssh-keygen -t rsa -f ~/.ssh/mykey
- This will create a new file named
id_rsaandid_rsa.pubin your home directory unless you gave it a different name
- Generate an SSH key:
- Copy the contents of
id_rsa.puband paste it under "SSH key" field in your GitHub account settings.
- Add the original repository as an upstream remote:
# Add the original repository as an upstream remote git remote add upstream git@github.com:nirgeier/DevOps-Zero2Hero.git
- Keep your fork in sync with the upstream repository:
# Keep your fork in sync with the upstream repository git fetch --all # Merge upstream changes into your branch git merge upstream/main
# Create branch for your changes.
$ git checkout -b <your-branch-name>
# Make changes locally on your local machine (clone).
# Add the changes to your staging area
$ git add .
# Commit the changes
$ git commit -m "Describe your changes here"
# Push the changes to your forked repository.
$ git push origin <your-branch-name>- Create a pull request to the main repository.
- Use the Template.md as your base file for your content.
- All folders should be named in lowercase with no spaces.
- Content should be written in markdown and file name should be
.md - Content should b based upon the Default template with the required placeholders and include TOC
- GitHub action is collecting all the files and generate auto-content README file with the different topics.
- Images should be in the resources/images folder
- If you add new technology you have to edit the main README as well and add the logo + add the technology to the list
- Install
actfrom the official website to run GithubAction locally
Click CTRL to open in hew tab: https://nektosact.com/installation/index.html - Execute the following command in your terminal:
# Execute the Github Actions locally act --workflows \ ".github/workflows/add-contrib.yml" --job "add-contributor"
- TODO: Add detailed page on how to run and text GitHub actions locally
- Verify that your code is passing all the pre-merge checks
- Use the discussions tab to discuss the project.
Thank it. AS simple as that!
