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

CI container update and fix for log files #34

Merged
merged 6 commits into from
Dec 18, 2020

Conversation

rem1776
Copy link
Contributor

@rem1776 rem1776 commented Dec 16, 2020

Updates the GitHub actions file to pull and run on a stored container image, and removes the docker recipe file and run script.

The Github Action's steps will run on the container directly as opposed to building an image and then running through docker commands and a run script, which fixes an issue with the testing logs getting saved and allows you to easily see if a build failed from configuring, building, or testing.

***side note: the last merge (with #27) seems to still fail with these updates when i tested the merge. From the log file, it looks like some sort of memory allocation error but I'm not sure why it would only be happening within the CI. You can download it here.

runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
env:
container:
image: ryanmulhall/fre-nctools-base
Copy link
Contributor

@ngs333 ngs333 Dec 17, 2020

Choose a reason for hiding this comment

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

@rem1776 Ryan, Would you know if the directory of an individual is required to be used here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently we don't have a central public container registry or dockerhub account and to run the action this way requires a registry to pull the image from. I believe this should change soon though as the container project moves along and then i can migrate it to whichever to solution we go with.

@ngs333 ngs333 merged commit c6784b8 into NOAA-GFDL:master Dec 18, 2020
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.

None yet

2 participants