Skip to content

Commit

Permalink
Don't clobber the log artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
as-com authored and girishmg committed Feb 19, 2020
1 parent 8bf8e1b commit 6b0b938
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .github/workflow-templates/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
name: e2e-kind-ovn-shard-n
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: "e2e-shard-n"
steps:
- *step_gosetup
- *step_checkout
Expand Down Expand Up @@ -135,13 +137,15 @@ jobs:
if: always()
uses: actions/upload-artifact@v1
with:
name: kind-logs
name: kind-logs-${{ github.run_id }}-${{ env.JOB_NAME }}
path: /tmp/kind/logs

e2e-shard-np:
name: e2e-kind-ovn-shard-np
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: "e2e-shard-np"
steps:
- *step_gosetup
- *step_checkout
Expand Down Expand Up @@ -169,6 +173,8 @@ jobs:
name: e2e-kind-ovn-shard-s
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: "e2e-shard-s"
steps:
- *step_gosetup
- *step_checkout
Expand All @@ -195,6 +201,8 @@ jobs:
name: e2e-kind-ovn-shard-other
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: "e2e-shard-other"
steps:
- *step_gosetup
- *step_checkout
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/test_generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
name: e2e-kind-ovn-shard-n
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: e2e-shard-n
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down Expand Up @@ -155,12 +157,14 @@ jobs:
if: always()
uses: actions/upload-artifact@v1
with:
name: kind-logs
name: kind-logs-${{ github.run_id }}-${{ env.JOB_NAME }}
path: "/tmp/kind/logs"
e2e-shard-np:
name: e2e-kind-ovn-shard-np
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: e2e-shard-np
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down Expand Up @@ -231,12 +235,14 @@ jobs:
if: always()
uses: actions/upload-artifact@v1
with:
name: kind-logs
name: kind-logs-${{ github.run_id }}-${{ env.JOB_NAME }}
path: "/tmp/kind/logs"
e2e-shard-s:
name: e2e-kind-ovn-shard-s
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: e2e-shard-s
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down Expand Up @@ -306,12 +312,14 @@ jobs:
if: always()
uses: actions/upload-artifact@v1
with:
name: kind-logs
name: kind-logs-${{ github.run_id }}-${{ env.JOB_NAME }}
path: "/tmp/kind/logs"
e2e-shard-other:
name: e2e-kind-ovn-shard-other
runs-on: ubuntu-latest
needs: k8s
env:
JOB_NAME: e2e-shard-other
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down Expand Up @@ -381,5 +389,5 @@ jobs:
if: always()
uses: actions/upload-artifact@v1
with:
name: kind-logs
name: kind-logs-${{ github.run_id }}-${{ env.JOB_NAME }}
path: "/tmp/kind/logs"

0 comments on commit 6b0b938

Please sign in to comment.