Skip to content

Commit

Permalink
ci: Always add retention policy to E2E run logs (#6104)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Apr 26, 2024
1 parent e6fa442 commit 3cb2cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
git_ref: ${{ inputs.git_ref }}
workflow_trigger: ${{ inputs.workflow_trigger }}
- name: add log retention policy
if: ${{ inputs.workflow_trigger != 'private_cluster' }}
if: (success() || failure()) && inputs.workflow_trigger != 'private_cluster'
env:
CLUSTER_NAME: ${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }}
run: |
Expand Down

0 comments on commit 3cb2cf5

Please sign in to comment.