Skip to content

Commit

Permalink
Cluster dump artifact name
Browse files Browse the repository at this point in the history
Previously since artifact from both jobs are named the same only one was available because the second one either overwrote the first one or the other way around
  • Loading branch information
blaskoa committed Jan 25, 2024
1 parent 135f388 commit 67ca531
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
variant-values: ['ci/multitenant-values.yaml', 'ci/edge-values.yaml']
variant: ['multitenant', 'edge']
steps:
- uses: actions/checkout@v3
- name: Install yq
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
TENANT_1_SECRET: ${{ secrets.TENANT_1_SECRET }}
TENANT_2_SECRET: ${{ secrets.TENANT_2_SECRET }}
run: |
helm install smartface . -f ci/test-values.yaml --set tests.authentication.tenant1.clientSecret="$TENANT_1_SECRET" --set tests.authentication.tenant2.clientSecret="$TENANT_2_SECRET" -f ${{ matrix.variant-values }}
helm install smartface . -f ci/test-values.yaml --set tests.authentication.tenant1.clientSecret="$TENANT_1_SECRET" --set tests.authentication.tenant2.clientSecret="$TENANT_2_SECRET" -f ci/${{ matrix.variant }}-values.yaml
kubectl rollout status deployment sf-api --timeout=300s
if helm get values smartface -a | yq -e '.edgeStreamsStateSync.wlStreamPopulationJob.enabled'; then
kubectl wait --for=condition=complete job/sf-wl-update-log-population --timeout=300s
Expand All @@ -84,11 +84,11 @@ jobs:
- name: Dump cluster info
if: ${{ always() }}
run: |
kubectl cluster-info dump > cluster-info.txt
kubectl cluster-info dump > cluster-info-${{ matrix.variant }}.txt
- name: Upload cluster-info
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: cluster-info
path: |
cluster-info.txt
cluster-info-${{ matrix.variant }}.txt

0 comments on commit 67ca531

Please sign in to comment.