Skip to content
Snippets Groups Projects
Commit 6d62cfef authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Build compute and gpu with ansible files

parent 9f566e11
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,7 @@ build_compute_image: ...@@ -131,6 +131,7 @@ build_compute_image:
- build - build
script: script:
- *update_ansible_repo - *update_ansible_repo
- *get_ansible_files
- export PKR_VAR_source_image=${BUILT_BASE_IMAGE_ID} - export PKR_VAR_source_image=${BUILT_BASE_IMAGE_ID}
- export REPO_HEAD=$(git rev-parse --short HEAD) - export REPO_HEAD=$(git rev-parse --short HEAD)
- export PKR_VAR_flavor="m1.medium" - export PKR_VAR_flavor="m1.medium"
...@@ -152,6 +153,7 @@ build_gpu_image: ...@@ -152,6 +153,7 @@ build_gpu_image:
- build - build
script: script:
- *update_ansible_repo - *update_ansible_repo
- *get_ansible_files
- export PKR_VAR_source_image=${BUILT_BASE_IMAGE_ID} - export PKR_VAR_source_image=${BUILT_BASE_IMAGE_ID}
- export REPO_HEAD=$(git rev-parse --short HEAD) - export REPO_HEAD=$(git rev-parse --short HEAD)
- export PKR_VAR_flavor="gpu1.medium" - export PKR_VAR_flavor="gpu1.medium"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment