Skip to content

Fix docker args#896

Merged
pshriwise merged 4 commits into
svalinn:developfrom
gonuke:fix_docker_args
Aug 17, 2023
Merged

Fix docker args#896
pshriwise merged 4 commits into
svalinn:developfrom
gonuke:fix_docker_args

Conversation

@gonuke

@gonuke gonuke commented Aug 16, 2023

Copy link
Copy Markdown
Member

Description

Pass correctly named docker arguments to manage builds.

Also streamlines the docker build & test further taking more advantage of the multi-stage-build action.

Motivation and Context

We currently build multiple docker images with a matrix of options. The variable names to control the HDF5 and MOAB versions were not named correctly. This did not create a flaw in our building/testing, because we only attempted a single version of each and those versions were the defaults anyway. This PR corrects that.

Changes

Rename the build args passed to Docker & combine two steps in the workflow.

@gonuke

gonuke commented Aug 16, 2023

Copy link
Copy Markdown
Member Author

Success of this build is demonstrated here.

pshriwise
pshriwise previously approved these changes Aug 16, 2023

@pshriwise pshriwise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these fixes @gonuke.

Comment thread .github/workflows/docker_publish.yml
@gonuke

gonuke commented Aug 17, 2023

Copy link
Copy Markdown
Member Author

New test of the docker building underway here.

@gonuke

gonuke commented Aug 17, 2023

Copy link
Copy Markdown
Member Author

New test of the docker building underway here.

It appears to have been successful!

@shimwell shimwell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, Paul has put in a nice python command to fix the hdf5 versions / major version error.

@pshriwise is this one ok to merge

@pshriwise pshriwise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @gonuke!

@pshriwise pshriwise merged commit 5090f1a into svalinn:develop Aug 17, 2023
@gonuke gonuke deleted the fix_docker_args branch August 21, 2023 00:10
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.

3 participants