Commit 194ed506 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'john_long-change-gitlab-ci-yaml' into 'master'

Change gitlab-ci.yaml to gitlab-ci.yml docs

See merge request gitlab-org/gitlab!50901
parents 5a791545 cacf3deb
...@@ -72,10 +72,10 @@ To manually configure a GitLab Terraform Report artifact requires the following ...@@ -72,10 +72,10 @@ To manually configure a GitLab Terraform Report artifact requires the following
terraform: $PLAN_JSON terraform: $PLAN_JSON
``` ```
For a full example using the pre-built image, see [Example `.gitlab-ci.yaml` For a full example using the pre-built image, see [Example `.gitlab-ci.yml`
file](#example-gitlab-ciyaml-file). file](#example-gitlab-ciyml-file).
For an example displaying multiple reports, see [`.gitlab-ci.yaml` multiple reports file](#multiple-terraform-plan-reports). For an example displaying multiple reports, see [`.gitlab-ci.yml` multiple reports file](#multiple-terraform-plan-reports).
1. Running the pipeline displays the widget in the merge request, like this: 1. Running the pipeline displays the widget in the merge request, like this:
...@@ -86,7 +86,7 @@ To manually configure a GitLab Terraform Report artifact requires the following ...@@ -86,7 +86,7 @@ To manually configure a GitLab Terraform Report artifact requires the following
![Terraform plan logs](img/terraform_plan_log_v13_0.png) ![Terraform plan logs](img/terraform_plan_log_v13_0.png)
### Example `.gitlab-ci.yaml` file ### Example `.gitlab-ci.yml` file
```yaml ```yaml
default: default:
......
...@@ -200,7 +200,7 @@ If the job that's executing is within a freeze period, GitLab CI/CD creates an e ...@@ -200,7 +200,7 @@ If the job that's executing is within a freeze period, GitLab CI/CD creates an e
variable named `$CI_DEPLOY_FREEZE`. variable named `$CI_DEPLOY_FREEZE`.
To prevent the deployment job from executing, create a `rules` entry in your To prevent the deployment job from executing, create a `rules` entry in your
`gitlab-ci.yaml`, for example: `gitlab-ci.yml`, for example:
```yaml ```yaml
deploy_to_production: deploy_to_production:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment