Skip to content

Commit

Permalink
Archive rosa logs for creating and deleting clusters (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhajas committed Jun 26, 2023
1 parent 45df050 commit c91213a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rosa-cluster-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@ jobs:
COMPUTE_MACHINE_TYPE: ${{ inputs.computeMachineType }}
MULTI_AZ: ${{ inputs.multiAz }}
REPLICAS: ${{ inputs.replicas }}

- name: Archive ROSA logs
uses: actions/upload-artifact@v3
if: always()
with:
name: rosa-logs
path: provision/aws/logs
retention-days: 5
8 changes: 8 additions & 0 deletions .github/workflows/rosa-cluster-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
if: ${{ inputs.deleteAll == 'yes' }}
run: ./rosa_cluster_reaper.sh
working-directory: provision/aws

- name: Archive ROSA logs
uses: actions/upload-artifact@v3
if: always()
with:
name: rosa-logs
path: provision/aws/logs
retention-days: 5

0 comments on commit c91213a

Please sign in to comment.