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
b0e507a3
Commit
b0e507a3
authored
1 year ago
by
Ravi Tripathi
Browse files
Options
Downloads
Patches
Plain Diff
Add command to go to the dev branch in CRI_XCBC repo
parent
2c5b8ac1
No related branches found
Branches containing commit
No related tags found
2 merge requests
!6
Add CD feature to the repo
,
!1
wip: test-keypair without file
Pipeline
#8014
failed with stages
in 4 minutes and 17 seconds
Changes
1
Pipelines
1
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 @
b0e507a3
...
@@ -41,13 +41,13 @@ tf-apply:
...
@@ -41,13 +41,13 @@ tf-apply:
stage
:
build
stage
:
build
tags
:
[
build
]
tags
:
[
build
]
script
:
script
:
-
ls -al . && git status && ls -al CRI_XCBC && ls -al CRI_XCBC/.git && ls -al CRI_Cluster_Monitor
-
export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
-
export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
-
export TF_VAR_internal_network="tf-clusternet-$BUILD_DATE"
-
export TF_VAR_internal_network="tf-clusternet-$BUILD_DATE"
-
export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
-
export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
-
XDMOD_IMAGES=($(openstack image list --sort-column Name --sort-descending -f value -c Name -c ID | grep -P ' xdmod-\d{14}$' | awk '{print $2}'))
-
XDMOD_IMAGES=($(openstack image list --sort-column Name --sort-descending -f value -c Name -c ID | grep -P ' xdmod-\d{14}$' | awk '{print $2}'))
-
export TF_VAR_image_ohpc="${XDMOD_IMAGES[1]}"
-
export TF_VAR_image_ohpc="${XDMOD_IMAGES[1]}"
-
echo $TF_VAR_image_ohpc
-
echo $TF_VAR_image_ohpc
-
cd CRI_XCBC && git checkout dev && git status && cd ..
-
'
sed
-i
-E
"s/(cod_deploy:
).*/\1false/"
CRI_XCBC/group_vars/all'
-
'
sed
-i
-E
"s/(cod_deploy:
).*/\1false/"
CRI_XCBC/group_vars/all'
-
terraform apply -auto-approve || terraform destroy -auto-approve &&
false
-
terraform apply -auto-approve || terraform destroy -auto-approve &&
false
...
...
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