Skip to content

Commit

Permalink
Improve leafcloud CI support (#374)
Browse files Browse the repository at this point in the history
* use proper leafcloud jumphost user

* use cheaper leafcloud flavor

* add leafcloud packer vars file
  • Loading branch information
sjpb authored Mar 7, 2024
1 parent 17f2b2d commit 6ca97fe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions environments/.stackhpc/LEAFCLOUD.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
flavor = "en1.xsmall"
use_blockstorage_volume = true
volume_size = 12 # GB. Compatible with SMS-lab's general.v1.tiny
image_disk_format = "qcow2"
networks = ["909e49e8-6911-473a-bf88-0495ca63853c"] # slurmapp-ci
source_image_name = "openhpc-230804-1754-80b8d714" # https://github.com/stackhpc/ansible-slurm-appliance/pull/298
fatimage_source_image_name = "Rocky-8-GenericCloud-Base-8.9-20231119.0.x86_64.qcow2"
ssh_keypair_name = "slurm-app-ci"
ssh_private_key_file = "~/.ssh/id_ed25519"
security_groups = ["default", "SSH"]
floating_ip_network = "external"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bastion_config:
user: slurm-app-ci
ip: 128.232.222.183
LEAFCLOUD:
user: rocky
user: slurm-app-ci
ip: 195.114.30.222
# NB: The bastion_{user,ip} variables are used directly in the CI workflow too
bastion_user: "{{ bastion_config[ci_cloud].user }}"
Expand Down
2 changes: 1 addition & 1 deletion environments/.stackhpc/terraform/LEAFCLOUD.tfvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cluster_net = "slurmapp-ci"
cluster_subnet = "slurmapp-ci"
control_node_flavor = "ec1.medium" # small ran out of memory, medium gets down to ~100Mi mem free on deployment
other_node_flavor = "ec1.small"
other_node_flavor = "en1.xsmall"
state_volume_type = "unencrypted"
home_volume_type = "unencrypted"

0 comments on commit 6ca97fe

Please sign in to comment.