Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Terraform Openstack
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
Terraform Openstack
Commits
2e89a72d
Commit
2e89a72d
authored
2 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Return false if terraform apply failed
parent
5accf5b3
No related branches found
No related tags found
Loading
Pipeline
#7910
failed with stages
in 3 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
with
1 addition
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
2e89a72d
...
...
@@ -41,7 +41,7 @@ tf-apply:
-
export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
-
export TF_VAR_internal_network="tf-clusternet-$BUILD_DATE"
-
export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
-
terraform apply -auto-approve || terraform destroy -auto-approve
-
terraform apply -auto-approve || terraform destroy -auto-approve
&&
false
clean-up
:
stage
:
cleanup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment