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

moved to sequential docker building #748

Merged
merged 5 commits into from
Jul 14, 2021
Merged

Conversation

shimwell
Copy link
Member

@shimwell shimwell commented Jul 8, 2021

Description

This is a minor change to the docker CI image building process. It uses "needs" keyword in the steps for docker images building to ensure the images are getting the most up to date version of the previous image.

This has a nice upgrade path as I think it is compatible with docker layer caching which would speed up the overall process.

Also if we like a badge can be added to the README ?
.github/workflows/docker_publish.yml

Motivation and Context

Ensures images build on the latest previous base images
Cleaner presentation of build process with connections between images identified on the GH actions

Changes

What kind of change does this PR introduce? (Bug fix, feature, documentation update...)
update to current GH action building the dockerfiles

Behavior

What is the current behavior? What is the new behavior?
Current behavior is one large matrix of builds, new process is sequential matrixes of builds with "needs" keyword

News file

done

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

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

Thanks @shimwell - just one small optional change

.github/workflows/docker_publish.yml Show resolved Hide resolved
@gonuke
Copy link
Member

gonuke commented Jul 8, 2021

Perhaps add the badge to the README as part of this PR, as well?

Why is this failing on circleci?

@shimwell
Copy link
Member Author

shimwell commented Jul 8, 2021

I've added the badge to the readme and removed the unnecessary housekeeping build with Ubuntu 18.04

@gonuke
Copy link
Member

gonuke commented Jul 8, 2021

Can you rebase this? it should allow it to pass the CircleCI builds as well

@bam241
Copy link
Member

bam241 commented Jul 8, 2021

I manually restarted the CI to make sure we have correctly identified (and fix) the issue with CI here.

@gonuke
Copy link
Member

gonuke commented Jul 8, 2021

still failing on circle because it doesn't have the right Pyhton 3 stuff maybe?

@gonuke
Copy link
Member

gonuke commented Jul 8, 2021

that's why it may need the rebase?

@gonuke
Copy link
Member

gonuke commented Jul 8, 2021

I'm a little confused that the changes from #747 are showing up as changes here.... it probably doesn't matter...

@gonuke gonuke force-pushed the sequential_docker_builds branch from 045f282 to 906afc4 Compare July 9, 2021 13:47
@gonuke
Copy link
Member

gonuke commented Jul 9, 2021

I rebased again to cleanup the history

@gonuke
Copy link
Member

gonuke commented Jul 9, 2021

Will merge after tests pass - they should since the code is identical to the last set of tests!

@bam241
Copy link
Member

bam241 commented Jul 14, 2021

looking good merging.

(so we see if we can still push imp to svalinn registry)

@bam241 bam241 merged commit 4201a2f into develop Jul 14, 2021
@gonuke gonuke deleted the sequential_docker_builds branch August 16, 2023 15:02
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