Skip to content

Make sure we throw if uploading artifacts to S3 fails in gitlab#3116

Merged
andrewlock merged 1 commit into
masterfrom
andrew/add-gitlab-resilience
Aug 23, 2022
Merged

Make sure we throw if uploading artifacts to S3 fails in gitlab#3116
andrewlock merged 1 commit into
masterfrom
andrew/add-gitlab-resilience

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

Make sure we detect upload failures

Reason for change

The s3 upload is flaky, but we weren't detecting it in the previous code.

Implementation details

Check the exit code from aws s3 cp

Test coverage

Manual checking

Other details

We can retry the publish stage only when it fails, worst case, but it's annoying

@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Aug 23, 2022
@andrewlock
andrewlock requested review from a team as code owners August 23, 2022 10:46
@andrewlock
andrewlock merged commit 2d56401 into master Aug 23, 2022
@andrewlock
andrewlock deleted the andrew/add-gitlab-resilience branch August 23, 2022 16:10
@github-actions github-actions Bot added this to the vNext milestone Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants