Skip to content

Commit fab5856

Browse files
committed
Update runner
1 parent 4a7ae73 commit fab5856

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

infrastructure/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resource "openstack_compute_instance_v2" "app" {
105105
resource "openstack_compute_instance_v2" "runner" {
106106
name = "runner"
107107
image_id = var.default_image_id
108-
flavor_id = var.flavor_middle
108+
flavor_id = var.flavor_bigger
109109
key_pair = var.key_pair
110110
security_groups = ["default"]
111111
user_data = data.template_cloudinit_config.init_script_runner.rendered
@@ -149,7 +149,7 @@ resource "openstack_blockstorage_volume_v3" "runner" {
149149
region = "RegionOne"
150150
name = "runner"
151151
description = "working directory for github runner"
152-
size = 32
152+
size = 128
153153
}
154154

155155
resource "openstack_compute_volume_attach_v2" "runner_runner" {

infrastructure/node/cloud-init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ packages:
1212
- lsb-release
1313
- unattended-upgrades
1414
mounts:
15-
- ["gateway:/eodc", "/eodc", "nfs4", "ro", "0", "0"]
15+
- ["eo-storage01.eodc:/", "/eodc", "nfs4", "rw", "0", "0"]
1616
- ["/dev/vdc", "/data", "auto", "defaults"]
1717
write_files:
1818
- path: /etc/cloud/templates/hosts.debian.tmpl

infrastructure/runner/cloud-init.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ packages:
1717
mounts:
1818
- ["eo-storage01.eodc:/", "/eodc", "nfs4", "ro", "0", "0"]
1919
- ["/dev/vdc", "/home", "ext4", "rw", "0", "0"]
20-
write_files:
21-
- path: /etc/cloud/templates/hosts.debian.tmpl
22-
append: true
23-
content: |
24-
10.10.29.10 gateway
25-
10.10.29.11 app
26-
10.10.29.12 node1
27-
10.250.23.242 eo-storage01.eodc
28-
10.250.23.231 eo-storage02.eodc
29-
manage_etc_hosts: true
3020
runcmd:
3121
# disks
3222
- mkfs -t ext4 /dev/vdc

infrastructure/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ variable "flavor_middle" {
4040
default = "1b9963ec-b541-4532-964c-7668b3dee679" # 8vCPUs_8GB_RAM @ cloud.eodc.eu
4141
}
4242

43+
variable "flavor_bigger" {
44+
description = "openstack flavor ID using less ressources"
45+
default = "f416deda-3fc8-47f6-886f-49b4824384c2" # 16vCPUs_32GB_RAM @ cloud.eodc.eu
46+
}
47+
48+
4349
variable "flavor_big" {
4450
description = "openstack flavor ID using most ressorces"
4551
default = "f2b75eb6-af92-4cf0-86e4-873e097597a0" # 32vCPUs_96GB_RAM @ cloud.eodc.eu

0 commit comments

Comments
 (0)