Skip to content

Conversation

@CodeGat
Copy link
Member

@CodeGat CodeGat commented Dec 18, 2025

Closes #202

Background

Laptops are melting trying to build these intensive images, we need to offload it somewhere. Even better if it was automated!

In this PR, we automatically build the build-ci-runner/build-ci-upstream images on push, or via a workflow_dispatch event. We create short-lived but powerful VMs on Nectar via openstack, build and push on those VMs, and then tear them down.

The PR

  • Change compose secrets from file to environment variables, to support CI image builds
  • Add containers-ci.yml to build CI images on push/workflow_dispatch using nectar VMs
  • Update README.md

Testing

Successful run: https://github.com/ACCESS-NRI/build-ci/actions/runs/20474219186
And uploaded package: https://github.com/ACCESS-NRI/build-ci/pkgs/container/build-ci-runner/621627351?tag=rocky-v1.1-2025.12.000-test and https://github.com/ACCESS-NRI/build-ci/pkgs/container/build-ci-upstream/621627351?tag=rocky-v1.1-2025.12.000-test

@CodeGat CodeGat added type:feature New feature or request priority:low A low priority issue - 'nice to haves' or issues that don't impact functionality for:v3 version:MINOR Requires a change to the minor version - features labels Dec 18, 2025
@CodeGat CodeGat self-assigned this Dec 18, 2025
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch 2 times, most recently from 282e63a to 9736a40 Compare December 19, 2025 04:32
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 9736a40 to 8749082 Compare December 19, 2025 05:21
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 8749082 to d84320f Compare December 19, 2025 05:26
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from d84320f to 9a1fb83 Compare December 19, 2025 05:29
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 9a1fb83 to cafa28c Compare December 19, 2025 05:39
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from cafa28c to 8d45a56 Compare December 19, 2025 05:45
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 8d45a56 to 8389a14 Compare December 19, 2025 06:18
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 8389a14 to 560d69e Compare December 19, 2025 06:36
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 560d69e to b6744b6 Compare December 19, 2025 06:39
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from cba1462 to fde5132 Compare December 21, 2025 22:21
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from fde5132 to 8b2e7bb Compare December 21, 2025 22:30
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 8b2e7bb to 88eb344 Compare December 23, 2025 00:29
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 88eb344 to 4bef9c3 Compare December 23, 2025 00:40
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 4bef9c3 to c93819f Compare December 23, 2025 00:54
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from c93819f to f24a32e Compare December 23, 2025 01:00
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from f24a32e to d0d0026 Compare December 23, 2025 01:10
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from d0d0026 to 3ac46fe Compare December 23, 2025 01:42
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 3ac46fe to 2a0c293 Compare December 23, 2025 02:53
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 2a0c293 to 5fcbde2 Compare December 23, 2025 03:48
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 5fcbde2 to 25ee87e Compare December 23, 2025 22:24
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from ae13f92 to 767d730 Compare December 23, 2025 23:48
@CodeGat CodeGat deployed to Nectar Build December 23, 2025 23:48 — with GitHub Actions Active
…ing nectar VMs, added requirements.txt for openstack client
@CodeGat CodeGat force-pushed the 202-build-ci-image-cd branch from 767d730 to 77f248c Compare December 24, 2025 00:35
@CodeGat CodeGat marked this pull request as ready for review December 24, 2025 00:35
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:feature New feature or request version:MINOR Requires a change to the minor version - features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI to build-ci that builds and pushes containers when modified

2 participants