-
Notifications
You must be signed in to change notification settings - Fork 550
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
Rosetta/test build rosetta dockerfile in ci #5635
Rosetta/test build rosetta dockerfile in ci #5635
Conversation
…te and specific DOCKER_DEPLOY_ENV
…tta and more explicit when its happenning
…nch in rebuild-deb
…nch in rebuild-deb
…on cycle by uploading DOCKER_DEPLOY_ENV
…eprecation and quote coda_version
…in with quoted dockerfile
… for deb package name
…rks while also trying to fix the env in publish-deb
buildkite/scripts/publish-deb.sh
Outdated
echo "Exporting Variables: " | ||
# Export Variables for Downstream Steps | ||
|
||
GITHASH=$(git rev-parse --short=7 HEAD) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This environment setup seems to be duplicated in rebuild-deb
. Can we move it to a separate file that they both source/call, so that we know they'll be kept in sync?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we've had that number get out of sync before too
…ce, hope that its consistent
…nto export-git-env-vars
…OY_ENV setup to avoid breaking circle-ci, with comment about current use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful BASH
Thank you for contributing to Coda! Please see
CONTRIBUTING.md
if you haven'tyet. In that doc, there are more details around how to start our CI.
Identical content to #5634 except with rosetta in the beginning of the branch name to trigger a rosetta dockerfile build. Some additional commits have been made to make the git branch more consistently use BUILDKITE_BRANCH which is immutable and set properly.
This PR extends the original goal of fixing docker builds in CI to also include properly building + pushing the rosetta image as this was a small change from the existing setup.
NOTE: Only develop, master, and branches with "rosetta/" as a leading prefix on the name will build rosetta images in CI as this setup is still very slow and does not leverage caching properly.
Explain your changes here.
Explain how you tested your changes here.
Checklist:
Closes #5151