Thursday, February 10, 2022

Gitlab- Step By Step Basic CICD pipeline


Step1: Create a Private Repo (CICD) in Gitlab and add a file.

Step2: Create a new branch(Repositories --> branches-->New branch) called dev1 from main branch and add a new file

Step3: Add print("Hello World") in and commit the changes.

Step4:  Add one more file in dev1 branch .gitlab-ci.yml

           and add below content in the file


                - python

Step5: commit the changes will start the cicd pipeline execution.

Step6:- Check Pipeline status viewpipeline or CICD-->Pipeline and CICD->Jobs you can find (job-to-run) job status. It should be passed.


Post a Comment