Skip to content

Commit 6d54252

Browse files
committed
simplify CI workflow
1 parent 76f0b5e commit 6d54252

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

.github/workflows/arcus.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@ name: Build images on arcus:rcp-cloud-portal-demo
22
on:
33
workflow_dispatch:
44
pull_request:
5-
concurrency: rcp-cloud-portal-demo # openstack project
65
jobs:
76
arcus:
87
runs-on: ubuntu-20.04
9-
defaults:
10-
run:
11-
working-directory: ./collections/ansible_collections/stackhpc/slurm_image_builder
8+
# defaults:
9+
# run:
10+
# working-directory: ./collections/ansible_collections/stackhpc/slurm_image_builder
1211
outputs:
1312
image_name: ${{ steps.manifest.outputs.IMAGE_NAME }}
1413
steps:
1514
- uses: actions/checkout@v2
16-
with:
17-
path: collections/ansible_collections/stackhpc/slurm_image_builder
1815

1916
- name: Setup ssh
2017
run: |
@@ -48,12 +45,6 @@ jobs:
4845
env:
4946
OS_CLOUD: openstack
5047

51-
- name: Delete infrastructure
52-
run: terraform destroy -auto-approve
53-
env:
54-
OS_CLOUD: openstack
55-
if: ${{ success() || cancelled() }}
56-
5748
- name: Get created image name from manifest
5849
id: manifest
5950
run: |
@@ -68,12 +59,12 @@ jobs:
6859
env:
6960
OS_CLOUD: openstack
7061

71-
- name: Download image to runner
72-
run: |
73-
. venv/bin/activate
74-
openstack image save --file ${{ steps.manifest.outputs.IMAGE_NAME }} ${{ steps.manifest.outputs.IMAGE_ID }}
75-
env:
76-
OS_CLOUD: openstack
62+
# - name: Download image to runner
63+
# run: |
64+
# . venv/bin/activate
65+
# openstack image save --file ${{ steps.manifest.outputs.IMAGE_NAME }} ${{ steps.manifest.outputs.IMAGE_ID }}
66+
# env:
67+
# OS_CLOUD: openstack
7768

7869
# - name: Upload image to S3 release bucket
7970
# run: |

0 commit comments

Comments
 (0)