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
Merge requests
!15
Create a volume out of a snapshot for dev and staging envs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Create a volume out of a snapshot for dev and staging envs
feat-set-unique-vol-creation
into
master
Overview
0
Commits
2
Pipelines
5
Changes
1
Merged
Ravi Tripathi
requested to merge
feat-set-unique-vol-creation
into
master
1 year ago
Overview
0
Commits
2
Pipelines
5
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
version 1
version 1
80a3d585
1 year ago
master (base)
and
latest version
latest version
1f5dc7e6
2 commits,
1 year ago
version 1
80a3d585
1 commit,
1 year ago
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
2
−
2
Options
@@ -35,11 +35,11 @@ prep-deploy:
if [ "$TARGET_ENV" = "dev" ]; then
TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE"
TF_VAR_flavor="m1.medium"
openstack volume create --snapshot xdmod-dev-snap
shot
--size 20 $TF_VAR_data_volume
openstack volume create --snapshot xdmod-dev-
volume-
snap --size 20 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "staging" ]; then
TF_VAR_data_volume="xdmod-staging-volume-$BUILD_DATE"
TF_VAR_flavor="m1.medium"
openstack volume create --snapshot xdmod-
dev
-snap
shot
--size 150 $TF_VAR_data_volume
openstack volume create --snapshot xdmod-
staging-volume
-snap --size 150 $TF_VAR_data_volume
elif [ "$TARGET_ENV" = "production" ]; then
TF_VAR_data_volume="xdmod-staging-volume"
TF_VAR_flavor="m1.xlarge"
Loading