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

Bump base docker image version. #4353

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Bump base docker image version. #4353

merged 1 commit into from
Sep 4, 2020

Conversation

yakutovicha
Copy link
Contributor

fixes #4339

The new image is based on the latest stable Bionic Beaver (18.04)
Ubuntu distribution, which contains fixes for critical vulnerabilities.

Additionally, this image contains a fix for ruamel.yaml package
installation.

The new image is based on the latest stable Bionic Beaver (18.04)
Ubuntu distribution, which contains fixes for critical vulnerabilities.

Additionally, this image contains a fix for `ruamel.yaml` package
installation.
@greschd
Copy link
Member

greschd commented Sep 4, 2020

Thanks! Since (I think) this will only affect the latest tag, how are we fixing this for stable? Backporting this commit to the release branch? Just curious, you're the expert here :)

@yakutovicha
Copy link
Contributor Author

Thanks! Since I think this will only affect the latest tag, how are we fixing this for stable? Backporting this commit to the release branch?

I can make a new docker image, tagged as 1.3.1.1 (based on AiiDA 1.3.1) or 1.3.0.2 (based on AiiDA 1.3.0).

@yakutovicha
Copy link
Contributor Author

Thanks! Since I think this will only affect the latest tag, how are we fixing this for stable? Backporting this commit to the release branch?

I can make a new docker image, tagged as 1.3.1.1 (based on AiiDA 1.3.1) or 1.3.0.2 (based on AiiDA 1.3.0).

any preferences, or should I do both?

@greschd
Copy link
Member

greschd commented Sep 4, 2020

Probably the version based on AiiDA 1.3.1 (1.3.1.1) at least should be fixed, right? Not sure if the 1.3.0 - based one makes sense.. that also won't contain the bugfixes between 1.3.0 and 1.3.1.

For me it doesn't make much of a difference, I'm using these just for testing - there's nothing critical I rely on different between these versions.

@yakutovicha
Copy link
Contributor Author

Probably the version based on AiiDA 1.3.1 (1.3.1.1) at least should be fixed, right? Not sure if the 1.3.0 - based one makes sense.. that also won't contain the bugfixes between 1.3.0 and 1.3.1.

For me it doesn't make much of a difference, I'm using these just for testing - there's nothing critical I rely on different between these versions.

Alright, then. I will build this updated image locally and push it to the DockerHub.

@greschd
Copy link
Member

greschd commented Sep 4, 2020

Probably a decent policy is always having one maintained image per maintained AiiDA release branch.

@codecov
Copy link

codecov bot commented Sep 4, 2020

Codecov Report

Merging #4353 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #4353      +/-   ##
===========================================
+ Coverage    79.28%   79.29%   +0.01%     
===========================================
  Files          468      468              
  Lines        34620    34620              
===========================================
+ Hits         27446    27447       +1     
+ Misses        7174     7173       -1     
Flag Coverage Δ
#django 72.91% <ø> (ø)
#sqlalchemy 72.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aiida/engine/daemon/runner.py 82.76% <0.00%> (+3.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c31bc2...1215406. Read the comment docs.

@yakutovicha yakutovicha merged commit ea033b4 into aiidateam:develop Sep 4, 2020
@yakutovicha yakutovicha deleted the update/base-image-bump branch September 4, 2020 10:36
@yakutovicha
Copy link
Contributor Author

@greschd both images (1.3.0.2 and 1.3.1.1) are pushed.

@greschd
Copy link
Member

greschd commented Sep 4, 2020

@yakutovicha I guess the stable tag should now point to 1.3.1.1? Or is that just automatically built from master and can't be changed otherwise?

@yakutovicha
Copy link
Contributor Author

@yakutovicha I guess the stable tag should now point to 1.3.1.1? Or is that just automatically built from master and can't be changed otherwise?

The stable always points to the latest build at the master branch

@greschd
Copy link
Member

greschd commented Sep 5, 2020

I see - probably not worth it to cherry-pick that onto master, right? It would probably lead to a bit of a mess next time we merge develop into master.

@yakutovicha
Copy link
Contributor Author

I see - probably not worth it to cherry-pick that onto master, right?

I think it is not worth. At least I don't see a clear advantage of doing it vs the mess it would create.

@greschd
Copy link
Member

greschd commented Sep 5, 2020

Agreed - since it's harder to update, I think we should advise (don't know where) people to prefer pinning specific tags (like 1.3.1.1) instead of the stable tag.

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.

Newest aiidateam/aiida-core:stable docker image contains broken pymatgen dependency
2 participants