Bug: Make e2e artifacts upload run at the end of the pipeline (#43962)

* Rename step

* Make e2e tests artifacts upload run even on failed e2e tests
This commit is contained in:
Dimitris Sotirakis
2022-01-12 17:58:35 +02:00
committed by GitHub
parent 5eaaadd59d
commit 0c88b39162
2 changed files with 48 additions and 10 deletions

View File

@ -288,7 +288,7 @@ def store_storybook_step(edition, ver_mode):
def e2e_tests_artifacts(edition):
return {
'name': 'e2e_tests_artifacts_upload' + enterprise2_suffix(edition),
'name': 'e2e-tests-artifacts-upload' + enterprise2_suffix(edition),
'image': 'google/cloud-sdk:367.0.0',
'depends_on': [
'end-to-end-tests-dashboards-suite',
@ -296,6 +296,12 @@ def e2e_tests_artifacts(edition):
'end-to-end-tests-smoke-tests-suite',
'end-to-end-tests-various-suite',
],
'when': {
'status': [
'success',
'failure',
]
},
'environment': {
'GCP_GRAFANA_UPLOAD_ARTIFACTS_KEY': from_secret('gcp_upload_artifacts_key'),
'E2E_TEST_ARTIFACTS_BUCKET': 'releng-pipeline-artifacts-dev',