Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
2
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
Krish Moodbidri
hpc-factory
Commits
d1d2135d
Commit
d1d2135d
authored
1 year ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Update to use ruffner flavor
parent
6e3f51be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
d1d2135d
...
...
@@ -14,7 +14,7 @@ variables:
OS_IDENTITY_API_VERSION
:
"
3"
OS_INTERFACE
:
"
public"
OS_REGION_NAME
:
"
bhm1"
PKR_VAR_flavor
:
"
m1.
small
"
PKR_VAR_flavor
:
"
m1.
medium-ruffner
"
PKR_VAR_source_image
:
"
CentOS-7-x86_64-GenericCloud-2009"
PKR_VAR_floating_ip_network
:
"
uab-campus"
PKR_VAR_security_groups
:
'
["allow-ssh"]'
...
...
@@ -112,7 +112,7 @@ build_base_image:
-
*update_ansible_repo
-
*get_ansible_files
-
export REPO_HEAD=$(git rev-parse --short HEAD)
-
export PKR_VAR_flavor="m1.medium"
-
export PKR_VAR_flavor="m1.medium
-ruffner
"
-
export PKR_VAR_build_instance_name="base-${REPO_HEAD}"
-
export PKR_VAR_image_date_suffix=false
-
|
...
...
@@ -142,7 +142,7 @@ build_compute_image:
-
*get_ansible_files
-
export PKR_VAR_source_image=${BUILT_BASE_IMAGE_ID}
-
export REPO_HEAD=$(git rev-parse --short HEAD)
-
export PKR_VAR_flavor="m1.medium"
-
export PKR_VAR_flavor="m1.medium
-ruffner
"
-
export PKR_VAR_build_instance_name="compute-${REPO_HEAD}"
-
export PKR_VAR_image_date_suffix=false
-
|
...
...
@@ -215,7 +215,7 @@ build_ood_image:
-
|
if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
export PKR_VAR_image_name="ood-PR-${CI_MERGE_REQUEST_IID}"
echo INSTANCE_FLAVOR="m1.
small
" | tee -a $CI_PROJECT_DIR/image.env
echo INSTANCE_FLAVOR="m1.
medium-ruffner
" | tee -a $CI_PROJECT_DIR/image.env
echo OOD_INSTANCE_NAME="ood-PR-${CI_MERGE_REQUEST_IID}" | tee -a $CI_PROJECT_DIR/image.env
export FLOATING_IP=$(openstack floating ip create uab-campus -f value -c floating_ip_address)
echo FLOATING_IP=$FLOATING_IP | tee -a $CI_PROJECT_DIR/image.env
...
...
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