Build container with JEDI libraries weekly#2123
Conversation
RussTreadon-NOAA
left a comment
There was a problem hiding this comment.
I don't know much about containers, but this looks neat. Two simple questions:
- where will the container be stored / pushed?
- on which machines / how will developers use the container?
Do we want to temporarily change the cron date to 19Z today (cron: '0 19 * * 4) to ensure that the changes automatically and correctly run as intended?
Approve.
|
@RussTreadon-NOAA I've temporarily made it run on push so that I can debug
|
|
I see there are discussions about use container here, and Cory shared Mark Potts's way, or we call it externalizing container to compile and run GDASApp (or Global-Workflow, in general). |
|
Thanks @weihuang-jedi for the additional information! |
|
Similar PPT and an helllo-world example of using container can be find at: |
There was a problem hiding this comment.
Pull request overview
This PR adds automation to build and publish a weekly JEDI container image and introduces CMake options to split core JEDI library builds from GDAS application builds.
Changes:
- Adds a GitHub Actions workflow to build JEDI libraries inside a JCSDA base container and push tagged images to GHCR.
- Adds
BUILD_JEDIandBUILD_GDASCMake options to control which bundle components are built. - Moves several bundle components behind the new build-option gates.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/build-jedi-container.yaml |
Adds the scheduled/manual container build and GHCR publish workflow. |
bundle/CMakeLists.txt |
Adds build split options and gates JEDI/GDAS bundle components accordingly. |
| # Gibbs seawater (optional dependency for vader) | ||
| if (BUILD_SOCA) | ||
| ecbuild_bundle( PROJECT gsw SOURCE "../sorc/gsw" ) |
| bash -c " | ||
| source /opt/spack-environment/activate.sh | ||
| export jedi_cmake_ROOT=/opt/view | ||
| mkdir -p /build && cd /build | ||
| ecbuild \ |
Description
Add a GitHub action to build a container with key JEDI libraries already compiled/installed
Companion PRs
None
Issues
None
Automated CI tests to run in Global Workflow