Skip to content

Add osg-htc Harbor project support - #316 - #317

Merged
matyasselmeci merged 9 commits into
opensciencegrid:mainfrom
brianhlin:add-osg-htc-project-support
Jul 29, 2026
Merged

Add osg-htc Harbor project support - #316#317
matyasselmeci merged 9 commits into
opensciencegrid:mainfrom
brianhlin:add-osg-htc-project-support

Conversation

@brianhlin

Copy link
Copy Markdown
Member

Expanding on the commit in #308 . This might work out of the box -- the account appears to have osg-htc push permissions

Take 2 after some more validation on my own fork.

Copilot AI review requested due to automatic review settings July 28, 2026 17:54
@brianhlin
brianhlin requested a review from a team as a code owner July 28, 2026 17:54
@brianhlin

Copy link
Copy Markdown
Member Author

@mwestphall I think we should add #315 to the osg-htc project so that we can get weekly rebuilds. This PR is a prereq

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 build workflow to support building (and subsequently pushing) images that live under either opensciencegrid/ or the new osg-htc/ top-level directory, and adjusts the build matrix so the build context is the full <org>/<image> path.

Changes:

  • Expand image discovery in the workflow from opensciencegrid/ only to opensciencegrid/ and osg-htc/.
  • Change the build matrix “name” to carry the full image directory path (e.g., osg-htc/<image>), and use that directly as the build/push context.
  • Modernize matrix output handling (move away from deprecated ::set-output) and attempt to handle “no images changed” cases.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
scripts/build-job-matrix.py Emits matrix entries keyed by full image directory path instead of basename.
.github/workflows/build-containers.yml Detects image dirs under both opensciencegrid/ and osg-htc/, and uses full-path matrix context for build/push steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build-containers.yml
Comment thread .github/workflows/build-containers.yml Outdated
Co-authored-by: Matyas Selmeci <mselmeci@wisc.edu>
@matyasselmeci
matyasselmeci merged commit 6b625bb into opensciencegrid:main Jul 29, 2026
4 checks passed
@brianhlin
brianhlin deleted the add-osg-htc-project-support branch July 30, 2026 14:17
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