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

Allow dev build promotes to proceed in deb/rpm pipelines #17340

Closed
wants to merge 1 commit into from

Conversation

wadells
Copy link
Contributor

@wadells wadells commented Oct 12, 2022

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 me to catch that error during testing.

@fheinecke: Do you see any way we could move the local yum repo package and sign before the cutoff, and only have the s3 upload be skipped? I took a look, but I wasn't familiar enough with the codepaths to feel confident making this more aggressive change.

Testing

I included the fixes from #17334 and I am running a complete dev build

tag: https://drone.platform.teleport.sh/gravitational/teleport/16393
promote: https://drone.platform.teleport.sh/gravitational/teleport/16444

Looks like there is still a credentials issue -- so please do not merge yet.

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.
@wadells wadells requested review from r0mant and fheinecke October 12, 2022 17:05
@github-actions github-actions bot requested a review from klizhentas October 12, 2022 17:05
@fheinecke
Copy link
Contributor

Do you see any way [...]

Yes, with some additional work and testing. Essentially the build-os-package-repos tool would need to be split so that the "upload" s3 calls are triggered by a separate subcommand. Additionally, we'd need an extra step to call the program (again) after the pre-release check had passed to perform the upload. The program is structured in such a way so this should be easy to implement, but again would require more work and testing.

@wadells wadells marked this pull request as draft October 13, 2022 15:44
@wadells wadells closed this Oct 20, 2022
@wadells
Copy link
Contributor Author

wadells commented Oct 20, 2022

This work will continue forward in #17638

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