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

Switch to two stage build #355

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

scanon
Copy link
Contributor

@scanon scanon commented Feb 20, 2019

And prepare for using automated builds on dockerhub.

@codecov
Copy link

codecov bot commented Feb 20, 2019

Codecov Report

Merging #355 into develop will not change coverage.
The diff coverage is n/a.

@@            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
Copy link

codecov bot commented Feb 20, 2019

Codecov Report

Merging #355 into develop will not change coverage.
The diff coverage is n/a.

@@            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

Copy link
Member

@MrCreosote MrCreosote left a 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 \
Copy link
Member

@MrCreosote MrCreosote Feb 20, 2019

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.

Copy link
Contributor Author

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 \
Copy link
Member

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?

Copy link
Contributor Author

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.

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.

2 participants