Repository navigation
Build and release infrastructure updates - #508
Merged
jfpanisset merged 18 commits intoNov 28, 2026
Merged
Conversation
Step 1 of using Conan to determine build order based on declared dependencies. buildorder.py runs as a first pass to determine the set of packages and order in which they need to be built. Also tweaks to Conan configuration to correctly force packages to get rebuild when their requirements are rebuilt, and never look for binary packages from Conan Center Index. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
For local builds, Conan remotes are no longer considered, only the local Conan build cache. When building on GitHub Actions, the aswf / aswftesting Artifactory server is consired. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
aswfdocker build no uses the dependency resolution step to figure out order to build packages in a group. Collapse into fewer groups, getting rid of dependency levels. Get rid of unmaintained 2019-2022 years and centos7 related code. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
A random valued ARG is used to signal to docker BuildKit not to reuse a cached layer when we need to force a rebuild. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Leverage Conan to generate CycloneDX SBOMs in our container images. For relase builds the SBOMs will include the git SHA against which a Conan package was built. This SBOM will also be attached to the git release for those images (individual Conan packages will no longer have corresponding GitHub release entries). Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
License strings should be SPDX compliant as they are propagated into the CycloneDX SBOMs. Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
We no longer have a separate "common" version (3,4,5,6,7), instead we have a single version per year since we haven't shared a ci_common version between vfx years for a long time. Also don't allow uploading to Artifactory or Docker Hub from local builds, only from GitHub Actions. We don't have access to the secrets anyway. Assisted-by: Claud Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Conan packages are now versionned with explicit minor version to avoid accidental sharing between (minor version) releases. vfx1-vfx2-vfx3 images are now a single group, vfx, since aswfdocker takes care of automatically versioning packages / images that need to be built per clang version. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Conan packages are now released by the new release-packages.yml workflow, which `aswfdocker release -t PACKAGE` starts directly via the GitHub API: no GitHub release or tag is created. release.yml now only releases images. GitHub Actions hardening: - Release workflows refuse commits not on a branch of the repository (shared check-commit.yml reusable workflow). - Secrets are scoped to the steps using them, never expanded into scripts or passed on command lines; only the conan upload step gets the Artifactory credentials, as downloads are anonymous. - All workflows set minimal permissions and persist-credentials: false. - zizmor workflow audit added to pre-commit. - SonarCloud analysis is skipped when no SONAR_TOKEN is available, and forks can point it at their own project. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Images are now released by the new release-images.yml workflow, which `aswfdocker release -t IMAGE` starts directly via the GitHub API, replacing release.yml. The CLI first creates a draft GitHub release of each image, attributed to the person releasing; once the images are pushed, the workflow publishes the drafts (`aswfdocker publishreleases`, GitHub Actions only), creating their tags. Earlier releases of the same images are only replaced when the new ones are published. `aswfdocker release --full-release -v <years|all>` starts the new release-all.yml workflow, releasing every Conan package and image of the given years in dependency order, one job per year. Re-running failed jobs resumes the release. GitHub Actions: - check-commit.yml becomes check-release.yml, also checking the release inputs and providing the versions for the per-year jobs. - New setup-aswfdocker composite action shared by every job running aswfdocker, referenced with the $/ self-repository syntax so it comes from the workflow's own commit. Dev dependencies are only installed in the jobs that need them, never in the jobs holding release credentials. - zizmor also audits .github/actions. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Add jactionlint (with shellcheck for run: scripts) to the pre-commit hooks alongside zizmor, to catch invalid workflows and actions before GitHub rejects them. jactionlint is an actively maintained fork of actionlint which supports the $/ self-repository syntax and checks the inputs and secrets of reusable workflow calls. Only its correctness profile is used, as zizmor audits security. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
ubuntu-latest is now based on Ubuntu 26.04.1, update disk cleanup to reflect this. We've seen much larger amount of free disk space even on free runners, so only run the cleanup if needed, that will save startup time. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Attach each image's SBOM to its GitHub release, and record build provenance in the SBOMs of images built from Artifactory packages. conan install never downloads package metadata, so images built from remote packages had SBOMs without the aswf_provenance.json written by hook_aswf_provenance. A new `conan aswf-download-metadata` custom command downloads the packages a graph would download, with their metadata, before conan install runs. It filters the graph itself, as the package list of `conan list --graph` also holds the packages conan install skips, such as tool requirements. release-images.yml exports the SBOM of each image it built (new `aswfdocker exportsboms`) as a workflow artifact. Its record job then attaches them to the draft releases before publishing them (`publishreleases --sbom-dir`), as immutable releases require. A release without a draft now gets one created first, so it also has its SBOM attached before it is published. The image Dockerfile template's conan install RUN moves into scripts/common/install_conan_packages.sh, bind-mounted rather than copied into the image. Conan's download cache is now a cache mount, instead of being deleted after the install. Assisted-by: Claude Code / Opus 5.5 Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
- remove obsolete information - update some sections for new tooling Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Update CHANGELOG.md, ready for PR. Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
dependabot upgraded to pylint 4, address new warnings. Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
Although fine grained tokens are desirable, they need approval from AcademySoftwareFoundation GitHub organization owners (LF). Also fix merge issue in log4cplus recipe. Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
jfpanisset
merged commit Nov 28, 2026
c056c99
into
AcademySoftwareFoundation:main
2 of 3 checks passed
This was referenced Nov 28, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build and release infrastructure updates
common,base1,base2,base3andvfx, image groupsvfx1-vfx3merged intovfx--force-rebuildforces a rebuild (bypassing the BuildKit cache),--target-to/--target-fromselect part of a groupci-common:2027-clang22instead ofci-common:7-clang22,ci-commonandci-baseos-gl-conankeep additional legacy tags for 2023-2027ci-packagesremoved from versions.yaml, 2019-2022 and CentOS 7 support removedvfx2027_4), so a new release (minor version) never reuses the previous release's packages/usr/local/aswf/sbom.cdx.json, attached to each image's GitHub releaseaswfdocker release, no more GitHub web UI orghCLI neededrelease-packages.ymlbuilds and uploads Conan packages to Artifactory, without creating GitHub releasesrelease-images.ymlbuilds and pushes images to Docker Hub, publishing draft GitHub releases created byaswfdocker releaseaswfdocker release --full-release(release-all.yml) releases every package and image of the given years in dependency orderCloses #386, #275, #310, #498, #482
Assisted-by: Claude/Opus 5.5