Skip to content

Commit 9ef7d69

Browse files
committed
now uses lookup instead of packer args
1 parent 40d9e1f commit 9ef7d69

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

.github/workflows/fatimage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ jobs:
8888
-only=${{ matrix.build }} \
8989
-var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
9090
-var "source_image_name=${{ env.SOURCE_IMAGE }}" \
91-
-var "ark_password=${ARK_PASSWORD}" \
9291
openstack.pkr.hcl
9392
env:
9493
PKR_VAR_os_version: ${{ matrix.os_version }}

.github/workflows/nightlybuild.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ jobs:
8686
-only=${{ matrix.build }} \
8787
-var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
8888
-var "source_image_name=${{ env.SOURCE_IMAGE }}" \
89-
-var "ark_password=${ARK_PASSWORD}" \
9089
openstack.pkr.hcl
9190
9291
env:

ansible/roles/release_train/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ release_train_url_suffix: "x86_64/os/{{ release_train_timestamp }}/"
55
release_train_timestamp: 20240816T002610
66
release_train_auth: |
77
username = slurm-app-ci
8-
password = {{ _github_secrets_ark_password }}
8+
password = {{ lookup('ansible.builtin.env', 'ARK_PASSWORD') }}

packer/openstack.pkr.hcl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ variable "extra_build_image_name" {
167167
default = "extra"
168168
}
169169

170-
variable "ark_password" {
171-
type = string
172-
default = "none"
173-
}
174-
175170
source "openstack" "openhpc" {
176171
# Build VM:
177172
flavor = var.flavor
@@ -233,7 +228,6 @@ build {
233228
"-i", "${var.repo_root}/packer/ansible-inventory.sh",
234229
"-vv",
235230
"-e", "@${var.repo_root}/packer/openhpc_extravars.yml", # not overridable by environments
236-
"-e", "_github_secrets_ark_password=${var.ark_password}",
237231
]
238232
}
239233

0 commit comments

Comments
 (0)