Skip to content

Commit d52a021

Browse files
committed
remove environment-specific compute image build/test from CI
1 parent b513d9e commit d52a021

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/stackhpc.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -135,25 +135,25 @@ jobs:
135135
env:
136136
TESTUSER_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }}
137137

138-
- name: Build environment-specific compute image
139-
id: packer_build
140-
run: |
141-
. venv/bin/activate
142-
. environments/${{ matrix.cloud }}/activate
143-
cd packer/
144-
packer init
145-
PACKER_LOG=1 packer build -except openstack.fatimage -on-error=ask -var-file=$PKR_VAR_environment_root/builder.pkrvars.hcl openstack.pkr.hcl
146-
../dev/output_manifest.py packer-manifest.json # Sets NEW_COMPUTE_IMAGE_ID outputs
138+
# - name: Build environment-specific compute image
139+
# id: packer_build
140+
# run: |
141+
# . venv/bin/activate
142+
# . environments/${{ matrix.cloud }}/activate
143+
# cd packer/
144+
# packer init
145+
# PACKER_LOG=1 packer build -except openstack.fatimage -on-error=ask -var-file=$PKR_VAR_environment_root/builder.pkrvars.hcl openstack.pkr.hcl
146+
# ../dev/output_manifest.py packer-manifest.json # Sets NEW_COMPUTE_IMAGE_ID outputs
147147

148-
- name: Test reimage of compute nodes to new environment-specific image (via slurm)
149-
run: |
150-
. venv/bin/activate
151-
. environments/${{ matrix.cloud }}/activate
152-
ansible login -v -a "sudo scontrol reboot ASAP nextstate=RESUME reason='rebuild image:${{ steps.packer_build.outputs.NEW_COMPUTE_IMAGE_ID }}' ${TF_VAR_cluster_name}-compute-[0-3]"
153-
ansible compute -m wait_for_connection -a 'delay=60 timeout=600' # delay allows node to go down
154-
ansible-playbook -v ansible/ci/check_slurm.yml
148+
# - name: Test reimage of compute nodes to new environment-specific image (via slurm)
149+
# run: |
150+
# . venv/bin/activate
151+
# . environments/${{ matrix.cloud }}/activate
152+
# ansible login -v -a "sudo scontrol reboot ASAP nextstate=RESUME reason='rebuild image:${{ steps.packer_build.outputs.NEW_COMPUTE_IMAGE_ID }}' ${TF_VAR_cluster_name}-compute-[0-3]"
153+
# ansible compute -m wait_for_connection -a 'delay=60 timeout=600' # delay allows node to go down
154+
# ansible-playbook -v ansible/ci/check_slurm.yml
155155

156-
- name: Test reimage of control and login node to same image (via rebuild adhoc)
156+
- name: Test reimage of all nodes (via rebuild adhoc)
157157
run: |
158158
. venv/bin/activate
159159
. environments/${{ matrix.cloud }}/activate
@@ -182,8 +182,8 @@ jobs:
182182
terraform destroy -auto-approve
183183
if: ${{ success() || cancelled() }}
184184

185-
- name: Delete images
186-
run: |
187-
. venv/bin/activate
188-
. environments/${{ matrix.cloud }}/activate
189-
ansible-playbook -vv ansible/ci/delete_images.yml
185+
# - name: Delete images
186+
# run: |
187+
# . venv/bin/activate
188+
# . environments/${{ matrix.cloud }}/activate
189+
# ansible-playbook -vv ansible/ci/delete_images.yml

0 commit comments

Comments
 (0)