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 5
5
name : Build kayobe image
6
6
7
7
on :
8
+ push :
9
+ branches :
10
+ # NOTE(upgrade): Reference only the current release branch here.
11
+ - stackhpc/zed
12
+
8
13
workflow_call :
9
14
inputs :
10
15
http_proxy :
36
41
jobs :
37
42
build-kayobe-image :
38
43
name : Build kayobe image
39
- if : inputs.if
44
+ if : inputs.if || github.repository == 'stackhpc/stackhpc-kayobe-config' && github.event_name == 'push'
40
45
runs-on : ubuntu-20.04
41
46
permissions :
42
47
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" {
33
33
type = string
34
34
}
35
35
36
+ variable "aio_vm_volume_size" {
37
+ type = number
38
+ default = 35
39
+ }
40
+
36
41
locals {
37
42
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
38
43
}
@@ -59,7 +64,7 @@ resource "openstack_compute_instance_v2" "kayobe-aio" {
59
64
block_device {
60
65
uuid = local. image_is_uuid ? var. aio_vm_image : data. openstack_images_image_v2 . image [0 ]. id
61
66
source_type = " image"
62
- volume_size = 35
67
+ volume_size = var . aio_vm_volume_size
63
68
boot_index = 0
64
69
destination_type = " volume"
65
70
delete_on_termination = true
You can’t perform that action at this time.
0 commit comments