File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 55name : Build kayobe image
66
77on :
8+ push :
9+ branches :
10+ # NOTE(upgrade): Reference only the current release branch here.
11+ - stackhpc/yoga
12+
813 workflow_call :
914 inputs :
1015 http_proxy :
3237jobs :
3338 build-kayobe-image :
3439 name : Build kayobe image
35- if : inputs.if
40+ if : inputs.if || github.repository == 'stackhpc/stackhpc-kayobe-config' && github.event_name == 'push'
3641 runs-on : ubuntu-20.04
3742 permissions :
3843 contents : read
Original file line number Diff line number Diff line change 1+ ---
2+ features :
3+ - |
4+ StackHPC Kayobe Configuration container images for CI/CD with `Kayobe
5+ Automation <https://github.com/stackhpc/kayobe-automation>`_ are now
6+ published to GitHub Container Registry (GHCR) at
7+ ghcr.io/stackhpc/stackhpc-kayobe-config. The image is tagged with the name
8+ of the release branch, e.g. ``stackhpc/yoga``.
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ variable "aio_vm_subnet" {
3333 type = string
3434}
3535
36+ variable "aio_vm_volume_size" {
37+ type = number
38+ default = 35
39+ }
40+
3641locals {
3742 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
3843}
@@ -59,7 +64,7 @@ resource "openstack_compute_instance_v2" "kayobe-aio" {
5964 block_device {
6065 uuid = local. image_is_uuid ? var. aio_vm_image : data. openstack_images_image_v2 . image [0 ]. id
6166 source_type = " image"
62- volume_size = 35
67+ volume_size = var . aio_vm_volume_size
6368 boot_index = 0
6469 destination_type = " volume"
6570 delete_on_termination = true
You can’t perform that action at this time.
0 commit comments