-
Notifications
You must be signed in to change notification settings - Fork 65
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
integration of test for dockerfile update #754
Conversation
also added a contiditon push based on PR status |
@shimwell do you know if my implementation will use cashed img ? |
I can see 12 jobs all running in parallel as the first stage. I don't think these will make use of cached images. Perhaps the I think the |
.github/workflows/docker_publish.yml
Outdated
build-args: | | ||
UBUNTU_VERSION=${{ matrix.ubuntu_versions }} | ||
tags: ghcr.io/svalinn/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }} | ||
tags: ghcr.io/svalinn/test_dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to include some other unique string (sha?) to avoid two simultaneous PR's from overwriting each other
.github/workflows/docker_publish.yml
Outdated
|
||
- name: Environment setup | ||
run: | | ||
if [ "${{ matrix.isMerged }}" == "true" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I don't understand how the isMerged
works, but this seems like the logic is reversed. Don't we want the sha for PRs and without a sha for merged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops
CI/Dockerfile_1_external_deps
Outdated
ARG UBUNTU_VERSION=18.04 | ||
FROM ghcr.io/svalinn/dagmc-ci-ubuntu-${UBUNTU_VERSION} | ||
ARG UBUNTU_VERSION=18.04ARG | ||
ROOT_NAME=dagmc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ROOT_NAME=dagmc | |
ARG ROOT_NAME=dagmc |
closing and reopening from upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should fix the most recent error
Co-authored-by: Paul Wilson <paul.wilson@wisc.edu>
@gonuke thx for the suggestion ! it seems tone working now ! One need to make sure the retagging is working well, then I disable retag on personal branch and this should be good to go. |
not that I rearranged @shimwell slicing to avoid uploading image we don't use or don't need to exchange between jobs... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another typo?
Co-authored-by: Paul Wilson <paul.wilson@wisc.edu>
If we hard-coded the matrix, could we get more parallelism on the expensive builds? |
@gonuke I am happy with his. package are tagged as stable when test pass (set on merge) https://github.com/bam241/DAGMC/pkgs/container/dagmc-ci-ubuntu-18.04-gcc-ext-hdf5_1.10.4-moab_develop I also limited the retagging to svalinn only to limit the amount of pollution we are producing in users forks.... |
we already have parallelism for the 4 expensive builds |
see https://github.com/bam241/DAGMC/actions/runs/1042760146 |
OK! I must have been looking at something old that looked slower. |
I'll wait for CircleCI (should be OK) and then merge |
Thanks for tackling this @bam241 |
duplicating test for docker file update.