Continuous integration and development pipeline using Github or Gitlab - Alteredux/XR GitHub Wiki
This wiki explains different ways to create a CI/CD pipeline using Github or Gitlab.
Github has a built-in system that does the majority of the work for you (developers are lazy, it's well known).
Prerequisites:
- Your application is hosted on a Github repository
- You have the admin permissions on the repo
Step 1: Click on the Actions tab
Go to your repository, then click the Actions tab.
Step 2: Select a workflow for your pipeline
Github automatically detects your application's language and offers you several workflows you can add to your repository. Choose the one which suits you best.
This will create a yml file in the .github/workflows directory.
Step 3: Edit if necessary and commit changes
If you want to add, modify or remove a job, you can do it before pushing the changes, by clicking on the Start commit button.
Your builds will be available under the Actions tab.
Note: For more information, you can check the Workflow syntax for GitHub Actions
Gitlab also has a built-in system to create a CI/CD pipeline, but it requires more setup. To do so, please follow the Getting started with Auto DevOps documentation, which is more complete than what we could accomplish with the university's Gitlab.