@@ -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