Skip to content

Add a step to build base image locally - #94

Merged
srmanda-cs merged 12 commits into
developfrom
container-tests-failure-fix-build-image-locally
Aug 18, 2026
Merged

Add a step to build base image locally#94
srmanda-cs merged 12 commits into
developfrom
container-tests-failure-fix-build-image-locally

Conversation

@srmanda-cs

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

Copilot AI lite review requested due to automatic review settings August 12, 2026 20:08
@srmanda-cs
srmanda-cs requested a review from pdurbin as a code owner August 12, 2026 20:08
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown

Test Results

404 tests  +404   389 ✅ +389   34m 16s ⏱️ + 34m 16s
 55 suites + 55    15 💤 + 15 
 55 files   + 55     0 ❌ ±  0 

Results for commit 01fefd9. ± Comparison against base commit fd70a10.

♻️ This comment has been updated with latest results.

Updated Maven command to specify pom.xml for building the base image.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the container integration test GitHub Actions workflow to build the gdcc/base container image locally before building the Dataverse application/container images, aiming to avoid failures when the expected base image tag is not available from a remote registry.

Changes:

  • Added a new workflow step to build the modules/container-base image/module before the main container build.
  • Minor formatting/whitespace adjustment in the artifact upload section.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +78 to +80
set -euo pipefail
echo "Building the base image module so it is cached locally..."
mvn -Pct clean package -pl modules/container-base
Added step to build local base image for caching.
Updated the workflow to fetch or build the base image based on its availability in the registry.
Updated workflow to fetch or build the base image based on availability in the registry.
Updated the workflow to change the directory before evaluating the base image and added safety checks for image evaluation.
Updated the process for fetching or building the local base image in the CI workflow. Added a safety check for unresolved variables and modified the Maven command to ensure proper evaluation of the base image tag.
@srmanda-cs
srmanda-cs merged commit e28af3f into develop Aug 18, 2026
8 of 9 checks passed
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.

2 participants