Skip to content

Consolidate Artifacts into Single Artifact#267

Merged
CodeGat merged 2 commits intov3from
266-consolidate-outputs-into-one-artifact
Feb 10, 2026
Merged

Consolidate Artifacts into Single Artifact#267
CodeGat merged 2 commits intov3from
266-consolidate-outputs-into-one-artifact

Conversation

@CodeGat
Copy link
Copy Markdown
Member

@CodeGat CodeGat commented Jan 7, 2026

Closes #266

Background

Currently we have multiple artifacts per build-ci job:

  • spack-files-ID, which contains the spack.lock and spack.yaml
  • spack-logs-ID, which contains the spack install logs for each spec in the speclist, of the form log_N.log for each of the N specs
  • job-outputs-ID, which contains a JSON file of all the inputs and outputs of the GitHub job for post-matrix processing, of the form job-output-ID.json for a given container ID

All of these can be consolidated into a single artifact, of the form:

  • output-ID, which contains the spack.yaml, spack.lock, spec_install_log_N.log (for N specs) and the job_outputs.json file

Note

Deprecating existing outputs in favour of a new one would usually be considered a MAJOR change, but since no repositories use outputs yet, we can call this a MINOR one...

The PR

  • Combine the multiple outputs.*-artifact-[pattern|url] into a single artifact outputs.artifact-[pattern|url]

TODO

Testing

Tested in ACCESS-NRI/access-test-component#17, successful run is https://github.com/ACCESS-NRI/access-test-component/actions/runs/21850985369?pr=17. See the uploaded artifacts.

@CodeGat CodeGat added priority:low A low priority issue - 'nice to haves' or issues that don't impact functionality type:enhancement improvements to code but not new features for:v3 version:MINOR Requires a change to the minor version - features labels Jan 7, 2026
@CodeGat CodeGat self-assigned this Jan 7, 2026
… artifact `outputs.artifact-[pattern|url]`
@CodeGat CodeGat force-pushed the 266-consolidate-outputs-into-one-artifact branch from 2f21f63 to c2898e6 Compare February 10, 2026 01:09
@CodeGat CodeGat marked this pull request as ready for review February 10, 2026 03:58
Copy link
Copy Markdown
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

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

Very satisfying amount of red highlights!

@CodeGat CodeGat merged commit 859d798 into v3 Feb 10, 2026
@CodeGat CodeGat deleted the 266-consolidate-outputs-into-one-artifact branch February 10, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

for:v3 priority:low A low priority issue - 'nice to haves' or issues that don't impact functionality type:enhancement improvements to code but not new features version:MINOR Requires a change to the minor version - features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate all output files into a single artifact

2 participants