Skip to content

Instantly share code, notes, and snippets.

View bhcopeland's full-sized avatar

Benjamin Copeland bhcopeland

View GitHub Profile
{
"InstanceProfiles": [
{
"Path": "/",
"InstanceProfileName": "gitlab_instance_profile",
"InstanceProfileId": "AIPA6C75MBAQNJJHPKREQ",
"Arn": "arn:aws:iam::968509622304:instance-profile/gitlab_instance_profile",
"CreateDate": "2021-02-15T16:40:15Z",
"Roles": [
{
egrep='egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}'
fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}'
g=git
ga='git add'
gaa='git add --all'
gap='git apply'
gapa='git add --patch'
gau='git add --update'
gav='git add --verbose'
gb='git branch'
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..d80e01ac 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,5 +1,6 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
+listen_address = "localhost:9252" # monitoring
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..d80e01ac 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,5 +1,6 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
+listen_address = "localhost:9252" # monitoring
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..163a0de8 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,5 +1,6 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
+listen_address = "localhost:9252" # monitoring
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..cef04468 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,5 +1,6 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
+listen_address = "0.0.0.0:9252" # monitoring
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..a7012561 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
[session_server]
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..c9f4bc0e 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
[session_server]
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

data.template_file.script: Refreshing state...
data.template_cloudinit_config.config: Refreshing state...
module.gitlab_runner_manager_role.aws_iam_role.role: Refreshing state... [id=gitlab_runner_manager_role]
module.lkft_gl_packages.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-packages]
module.gitlab_storage_artifacts.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-artifacts]
module.lkft_gl_external_diffs.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-external-diffs]
diff --git a/gitlab-runner/main.tf b/gitlab-runner/main.tf
index 67f4c0c..310a50d 100644
--- a/gitlab-runner/main.tf
+++ b/gitlab-runner/main.tf
@@ -398,6 +398,18 @@ resource "aws_instance" "lkft-gitlab-runner-manager" {
}
}
+resource "aws_instance" "lkft-gitlab-runner-manager-large" {
+ ami = "ami-0f09eaf66dffb40fd" #data.aws_ami.ubuntu-arm64.id