diff --git a/.github/workflows/stackhpc-build-kayobe-image.yml b/.github/workflows/stackhpc-build-kayobe-image.yml index 694bc0e58..cce64e46a 100644 --- a/.github/workflows/stackhpc-build-kayobe-image.yml +++ b/.github/workflows/stackhpc-build-kayobe-image.yml @@ -5,6 +5,11 @@ name: Build kayobe image on: + push: + branches: + # NOTE(upgrade): Reference only the current release branch here. + - stackhpc/2023.1 + workflow_call: inputs: http_proxy: @@ -36,7 +41,7 @@ env: jobs: build-kayobe-image: name: Build kayobe image - if: inputs.if + if: inputs.if || github.repository == 'stackhpc/stackhpc-kayobe-config' && github.event_name == 'push' runs-on: ubuntu-20.04 permissions: contents: read diff --git a/releasenotes/notes/kayobe-image-f1227adacb28f40b.yaml b/releasenotes/notes/kayobe-image-f1227adacb28f40b.yaml new file mode 100644 index 000000000..97595f3a9 --- /dev/null +++ b/releasenotes/notes/kayobe-image-f1227adacb28f40b.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + StackHPC Kayobe Configuration container images for CI/CD with `Kayobe + Automation `_ are now + published to GitHub Container Registry (GHCR) at + ghcr.io/stackhpc/stackhpc-kayobe-config. The image is tagged with the name + of the release branch, e.g. ``stackhpc/yoga``. diff --git a/terraform/aio/vm.tf b/terraform/aio/vm.tf index d3369e520..606b30b70 100644 --- a/terraform/aio/vm.tf +++ b/terraform/aio/vm.tf @@ -33,6 +33,11 @@ variable "aio_vm_subnet" { type = string } +variable "aio_vm_volume_size" { + type = number + default = 35 +} + locals { image_is_uuid = length(regexall("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", var.aio_vm_image)) > 0 } @@ -59,7 +64,7 @@ resource "openstack_compute_instance_v2" "kayobe-aio" { block_device { uuid = local.image_is_uuid ? var.aio_vm_image: data.openstack_images_image_v2.image[0].id source_type = "image" - volume_size = 35 + volume_size = var.aio_vm_volume_size boot_index = 0 destination_type = "volume" delete_on_termination = true