Skip to content

Commit

Permalink
fix: Upload RMS directory artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Devon Crouse <[email protected]>
  • Loading branch information
devoncrouse committed Aug 17, 2023
1 parent afcfbbf commit f1fc606
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/rms.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Publish Terraform OCI OKE RMS Stacks
on:
push:
branches:
- "5.x-tf12"
branches: ["5.x-tf12"]
workflow_dispatch:

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
Expand All @@ -18,13 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create archive
working-directory: ./examples/rms
run: zip -r tfoke-rms-network-only.zip ./oke-network-only
- uses: actions/upload-artifact@v3
with:
name: tfoke-rms-network-only.zip
path: ./examples/rms/tfoke-rms-network-only.zip
name: tfoke-rms-network-only
path: ./examples/rms/oke-network-only/
retention-days: 90
if-no-files-found: error

Expand All @@ -34,13 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create archive
working-directory: ./examples/rms
run: zip -r tfoke-rms-cluster-only.zip ./oke-cluster-only
- uses: actions/upload-artifact@v3
with:
name: tfoke-rms-cluster-only.zip
path: ./examples/rms/tfoke-rms-cluster-only.zip
name: tfoke-rms-cluster-only
path: ./examples/rms/oke-cluster-only/
retention-days: 90
if-no-files-found: error

Expand All @@ -50,13 +43,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create archive
working-directory: ./examples/rms
run: zip -r tfoke-rms-workers-only.zip ./oke-workers-only
- uses: actions/upload-artifact@v3
with:
name: tfoke-rms-workers-only.zip
path: ./examples/rms/tfoke-rms-workers-only.zip
name: tfoke-rms-workers-only
path: ./examples/rms/oke-workers-only/
retention-days: 90
if-no-files-found: error

0 comments on commit f1fc606

Please sign in to comment.