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

Creating a CI/CD pipeline with Github Actions

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. image

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.
image This will create a yml file in the .github/workflows directory. image

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.
image
Your builds will be available under the Actions tab.

Note: For more information, you can check the Workflow syntax for GitHub Actions

Gitlab

Creating a CI/CD pipeline with Auto DevOps (using Google Cloud Platform Console)

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.

References

⚠️ **GitHub.com Fallback** ⚠️