Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v8] APT/YUM publishing fixes #17648

Merged
merged 3 commits into from
Oct 21, 2022
Merged

[v8] APT/YUM publishing fixes #17648

merged 3 commits into from
Oct 21, 2022

Conversation

wadells
Copy link
Contributor

@wadells wadells commented Oct 21, 2022

Backports #17638

This PR includes a variety of fixes and improvements to our apt & yum promotion pipelines. These are broken out by commit:

Changes for v8:

Aside from the drongen and signature conflicts, there were no other merge conflicts.

This change doesn't need to be ported any further, as dronegen/os_repos.go and related pipelines aren't in v7.

Testing

Tag: https://drone.platform.teleport.sh/gravitational/teleport/16761
Promote: https://drone.platform.teleport.sh/gravitational/teleport/16773

These were running in parallel, but we want them to run serially.
Therefore, we add a dependency between each step and its previous step.
This helps test a couple more changes from this pipeline when cutting a
dev build.  Particularly, we saw the download and role assumption steps
fail in #17334, and this
change would have allowed us to catch that error during testing.
This bug does not appear to affect anything currently.  However it
should be fixed in case the rm is important at some point in the future.

The bug is: when a wildcard is inside quotes, it is treated as a literal
filename.  So rm -rf "$ARTIFACT_PATH/*" tries to remove the file named
'*' instead of trying to remove everything in artifact path.
@wadells wadells merged commit 54432dd into branch/v8 Oct 21, 2022
@wadells wadells deleted the walt/v8-fix-yum-race branch October 21, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants