-
Notifications
You must be signed in to change notification settings - Fork 3
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
Switch to two stage build #355
base: develop
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #355 +/- ##
=========================================
Coverage 93.3% 93.3%
Complexity 1469 1469
=========================================
Files 100 100
Lines 4448 4448
Branches 757 757
=========================================
Hits 4150 4150
Misses 282 282
Partials 16 16 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## develop #355 +/- ##
=========================================
Coverage 93.3% 93.3%
Complexity 1469 1469
=========================================
Files 100 100
Lines 4448 4448
Branches 757 757
=========================================
Hits 4150 4150
Misses 282 282
Partials 16 16 |
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.
Couple of ?s about the changes -they look like they may be breaking, but I'm not an expert on this stuff.
|
||
# The BUILD_DATE value seem to bust the docker cache when the timestamp changes, move to | ||
# the end | ||
LABEL org.label-schema.build-date=$BUILD_DATE \ |
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.
Was this intentionally deleted? it's been part of the build variables for a long time.
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.
Yes. The automated dockerrhub builds don't have a way to pass parameters dynamically.
org.label-schema.vcs-url="https://github.com/kbase/groups.git" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-ref=$SOURCE_COMMIT \ |
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.
Will these changes break the travis build?
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.
These would replace the builds on travis.
And prepare for using automated builds on dockerhub.