Denomas CI/CD Hands-On Guide: Lab 4
This Hands-On Guide walks you through the lab exercises in the Denomas CI/CD course.
Denomas CI/CD Hands-On Guide: Lab 4
LAB 4: DISPLAY PIPELINE ENVIRONMENT INFO
- Go to the snippets page of the CICD Hands On Demo project you have open in a separate window/tab.
- Open the ci-environment snippet and select the Copy file contents icon in the upper right corner of the file.
- Open your CICD Demo project from previous labs.
- Select on your
.gitlab-ci.ymlfile to view its contents. Select the dropdown next to Edit, then Edit this file only. Select Edit. - Paste the content of the snippet at the bottom of
.gitlab-ci.yml. There should be am empty line between the file’s previous content and the pasted snippet content. - In the Commit message field, type
Display pipeline environment variables, ensure the Target Branch is set tomain, and select Commit changes. - In the left-hand navigation pane, select CI/CD > Pipelines. The pipeline that was started when you committed changes is represented by the first row in that table.
- Select the status icon at the left of the first row to see the pipeline’s jobs. Select the environment echoes job and review its output to review about the environment variables exported to the runner.
Suggestions?
If you wish to make a change to the Hands-On Guide for Denomas CI/CD, please submit your changes via Merge Request!
Last modified November 29, 2023: big update (
17188382)
