Skip to content

Instantly share code, notes, and snippets.

View bhcopeland's full-sized avatar

Benjamin Copeland bhcopeland

View GitHub Profile
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
concurrent = 600
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "{{ inventory_hostname }}"
url = "{{ gitlab_runner_url }}"
{{ grep_token.stdout }}
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index e845d5ee..8c09041d 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-concurrent = 10
+concurrent = 600
check_interval = 0
[session_server]
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 9a4ff22..1d677a5 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -1,3 +1,6 @@
+defaults:
+ tags: pipeline
+
include:
- 'https://gitlab.com/Linaro/lkft/pipelines/lkft-common/-/raw/master/bootstrap.yml'
timeouts:
job:
minutes: 200
connection:
minutes: 2
actions:
finalize:
seconds: 60
context:
guestfs_interface: virtio
timeouts:
job:
minutes: 200
connection:
minutes: 2
actions:
finalize:
seconds: 60
context:
guestfs_interface: virtio