Skip to content
Snippets Groups Projects
Commit 98a5db03 authored by McDonnell, Marshall's avatar McDonnell, Marshall
Browse files

Switch from CADES -> ORNL Research Cloud

parent 354a1f2b
No related branches found
No related tags found
1 merge request!4Switch from CADES -> ORNL Research Cloud
# GitLab CI Runners for CADES cloud VM instances
# GitLab CI Runners for the ORNL Research Cloud VM instances
This Terraform setup creates and registers GitLab CI Runner
VMS in CADES using Docker executor mode.
VMS in the ORNL Research Cloud using Docker executor mode.
The steps are:
1. Setup the SSH key pair in CADES.
1. Setup the SSH key pair in the ORNL Research Cloud.
2. Spin up the VMs.
3. Provision using the `template_file` called `user-data.sh`
to install Docker and `gitlab-runner`
......@@ -23,4 +23,4 @@ There are many "modifable" inputs but the required ones are:
You can also add installation requirements on the runner using the `user_data`
input variable to customize the runner.
The module inputs can be found in `modules/cades-gitlab-runners/inputs.tf`
The module inputs can be found in `modules/ornl-cloud-gitlab-runners/inputs.tf`
......@@ -9,8 +9,8 @@ terraform {
variable "tokens" {}
module "cades_gitlab_runners" {
source = "git::https://code.ornl.gov/rse-terraform-modules/cades-gitlab-runners//modules/cades-gitlab-runners"
module "ornl_cloud_gitlab_runners" {
source = "git::https://code.ornl.gov/rse-terraform-modules/ornl-cloud-gitlab-runners//modules/ornl-cloud-gitlab-runners"
prefix = "example-prefix"
runner_count = 2
......@@ -21,5 +21,5 @@ EOF
}
output "ip" {
value = module.cades_gitlab_runners.ip
value = module.ornl_cloud_gitlab_runners.ip
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment