Skip to content

Moove ENV, LABEL to bottom #126

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

Merged
merged 5 commits into from
Apr 30, 2020
Merged

Conversation

humitos
Copy link
Member

@humitos humitos commented Mar 4, 2020

Moving all variables immediately before where they are needed. This allow us to share as much layer as we can when upgrading only one package.

I also moved conda to the bottom because it has been being the package the updated the most in the last months.

I also added more LABEL for the new pinned package versions. We are not using them though, so we may want to just remove them all.

Ref #124 (comment)

humitos added 2 commits March 4, 2020 11:30
Having them close to the bottom allow us to share most of the layer
from the Docker images even after a Python version was updated
Conda has been doing the package we updated the most in the last
months. So, it may be good to have it the closest to the bottom as possible.
@humitos humitos requested review from ericholscher and a team March 4, 2020 19:44
@ericholscher
Copy link
Member

Not sure if this is still needed, or if it was adopted w/ the RTD prefix changes?

@humitos
Copy link
Member Author

humitos commented Mar 13, 2020

The idea is still worth to explore: move the definition of the variable immediately before where it's used trying to share the as much as layer as we can.

The PR needs to be adapted to the new naming with the RTD_ prefix, though.

@humitos humitos added the PR: work in progress Pull request is not ready for full review label Mar 24, 2020
@humitos humitos removed the PR: work in progress Pull request is not ready for full review label Apr 30, 2020
@humitos
Copy link
Member Author

humitos commented Apr 30, 2020

I resolved the conflicts and it's ready to merge once the tests pass.

@humitos humitos merged commit 064ba8d into master Apr 30, 2020
@humitos humitos deleted the humitos/move-env-labels-to-bottom branch April 30, 2020 11:56
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