mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
NET-6692: Ensure 'upload test results' step is always run (#19783)
This commit is contained in:
parent
2eebdb22ba
commit
c9f85eb925
@ -106,12 +106,12 @@ jobs:
|
|||||||
TERM: ansi
|
TERM: ansi
|
||||||
|
|
||||||
- name: Authenticate to Vault
|
- name: Authenticate to Vault
|
||||||
if: ${{ endsWith(github.repository, '-enterprise') }}
|
if: ${{ endsWith(github.repository, '-enterprise') && !cancelled() }}
|
||||||
id: vault-auth
|
id: vault-auth
|
||||||
run: vault-auth
|
run: vault-auth
|
||||||
|
|
||||||
- name: Fetch Secrets
|
- name: Fetch Secrets
|
||||||
if: ${{ endsWith(github.repository, '-enterprise') }}
|
if: ${{ endsWith(github.repository, '-enterprise') && !cancelled() }}
|
||||||
id: secrets
|
id: secrets
|
||||||
uses: hashicorp/vault-action@v2.5.0
|
uses: hashicorp/vault-action@v2.5.0
|
||||||
with:
|
with:
|
||||||
@ -122,6 +122,7 @@ jobs:
|
|||||||
kv/data/github/${{ github.repository }}/datadog apikey | DATADOG_API_KEY;
|
kv/data/github/${{ github.repository }}/datadog apikey | DATADOG_API_KEY;
|
||||||
|
|
||||||
- name: upload test results
|
- name: upload test results
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
DATADOG_API_KEY: "${{ endsWith(github.repository, '-enterprise') && env.DATADOG_API_KEY || secrets.DATADOG_API_KEY }}"
|
DATADOG_API_KEY: "${{ endsWith(github.repository, '-enterprise') && env.DATADOG_API_KEY || secrets.DATADOG_API_KEY }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user