Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-cicd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
terraform-cicd
Commits
76126b91
Commit
76126b91
authored
Apr 25, 2022
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete .gitlab-ci.yml
parent
a7b57d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
56 deletions
+0
-56
.gitlab-ci.yml
.gitlab-ci.yml
+0
-56
No files found.
.gitlab-ci.yml
deleted
100644 → 0
View file @
a7b57d8c
# This file is a template, and might need editing before it works on your project.
# Official image for Hashicorp's Terraform. It uses light image which is Alpine
# based as it is much lighter.
#
# Entrypoint is also needed as image by default set `terraform` binary as an
# entrypoint.
image
:
name
:
hashicorp/terraform:light
entrypoint
:
-
'
/usr/bin/env'
-
'
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
# Default output file for Terraform plan
variables
:
PLAN
:
plan.tfplan
cache
:
paths
:
-
.terraform
before_script
:
-
terraform --version
-
terraform init
stages
:
-
validate
-
build
-
deploy
validate
:
stage
:
validate
script
:
-
terraform validate
plan
:
stage
:
build
script
:
-
terraform plan -out=$PLAN
artifacts
:
name
:
plan
paths
:
-
$PLAN
# Separate apply job for manual launching Terraform as it can be destructive
# action.
apply
:
stage
:
deploy
environment
:
name
:
production
script
:
-
terraform apply -input=false $PLAN
dependencies
:
-
plan
when
:
manual
only
:
-
master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment