@@ -135,25 +135,25 @@ jobs:
135
135
env :
136
136
TESTUSER_PASSWORD : ${{ secrets.TEST_USER_PASSWORD }}
137
137
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
147
147
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
155
155
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)
157
157
run : |
158
158
. venv/bin/activate
159
159
. environments/${{ matrix.cloud }}/activate
@@ -182,8 +182,8 @@ jobs:
182
182
terraform destroy -auto-approve
183
183
if : ${{ success() || cancelled() }}
184
184
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