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
Migrate to circle2.0 #33
Conversation
# create a version.json per https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md | ||
printf '{"commit":"%s","version":"%s","source":"https://github.com/%s/%s","build":"%s"}\n' \ | ||
"$CIRCLE_SHA1" \ | ||
"$CIRCLE_TAG" \ |
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.
Have you tested a build for a tag? CIRCLE_TAG's a bit suspicious now: https://discuss.circleci.com/t/circle-tag-documentation-for-2-0-points-to-1-x-documentation/13298/2
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.
You're right to be skeptical. Last I tried, you need to use a workflow to build tags on CircleCI 2.0. Note the documentation here: https://github.com/mozilla-services/ci-testground/blob/master/.circleci/config.yml#L144-L182.
Seems the CircleCI integration with GH is broken for some reason. Will come back and try it tomorrow 🤦♂️ |
Migrate from circleci 1.0 to 2.0 config syntax