Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update helm release gitlab-runner to v0.58.0 #2765

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 20, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
gitlab-runner minor 0.57.1 -> 0.58.0

Release Notes

gitlab-org/charts/gitlab-runner (gitlab-runner)

v0.58.0

Compare Source

New features
  • Update GitLab Runner version to v16.5.0
  • Add shutdown_timeout flag for global section config !435 (Maxim Tacu @​mtacu)
Bug fixes
  • Add missing rbac when debugging services !442 (Ismael Posada Trobo @​iposadat)
  • Adjust the runner image to match the configured podSecurityContext !434 (Harald Dunkel @​hdunkel)
  • Support for external secrets added via values.yaml envVars value; avoid setting volumes and volume mounts for nonexistent secrets !426 (Thomas Spear @​tspearconquest)
  • Make livenessProbe actually probe for a working runner !404 (fiskhest @​fiskhest)
  • helm: fix runners.config template rendering !386 (Viktor Oreshkin @​stek29)
Maintenance
  • Add ephemeral-storage example in resources.requests and resources.limits !443
  • Update broken and outdated links in Helm chart values.yaml !438 (Kolja Lucht @​k0jak)

v0.57.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@github-actions
Copy link

Path: apps/gitlab/gitlab-runner/helmrelease.yaml
Version: 0.57.1 -> 0.58.0

@@ -74,6 +74,7 @@
 exec /entrypoint run \
 --working-directory=/home/gitlab-runner
 config.toml: |
+ shutdown_timeout = 0
 concurrent = 10
 check_interval = 30
 log_level = "info"
@@ -81,7 +82,7 @@
 [[runners]]
 [runners.kubernetes]
 namespace = "default"
- image = "ubuntu:22.04"
+ image = "alpine"
 register-the-runner: |
 #!/bin/bash
 MAX_REGISTER_ATTEMPTS=30
@@ -119,13 +120,16 @@
 exit 0
 check-live: |
 #!/bin/bash
- if /usr/bin/pgrep -f .*register-the-runner; then
- exit 0
- elif /usr/bin/pgrep gitlab.*runner; then
- exit 0
- else
+ set -eou pipefail
+
+ if ! /usr/bin/pgrep -f ".*register-the-runner" > /dev/null && ! /usr/bin/pgrep -f "gitlab.*runner" > /dev/null ; then
 exit 1
 fi
+
+ name=$(awk -F'"' '/name = ".*"/ { print $2 }' "${HOME%/root}/.gitlab-runner/config.toml")
+ url=$(awk -F'"' '/url = ".*"/ { print $2 }' "${HOME%/root}/.gitlab-runner/config.toml")
+
+ gitlab-runner verify -n $name -u $url 2>&1 | grep "alive"
 pre-entrypoint-script: ""
 ---
 # Source: gitlab-runner/templates/role.yaml
@@ -185,8 +189,7 @@
 release: "gitlab-runner"
 heritage: "Helm"
 annotations:
- checksum/configmap: 4ecd359cf22780aaa32eb5ddb45a9057dc1773cc4f93c27ad55726d8054948dd
- checksum/secrets: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ checksum/configmap: f566269699765cf5d2ff3743933cd86fcd83a5ef29ee2ec2dbd5786a0487b41f
 spec:
 securityContext:
 fsGroup: 65533
@@ -195,7 +198,7 @@
 serviceAccountName: gitlab-runner
 containers:
 - name: gitlab-runner
- image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine-v16.4.1
+ image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine-v16.5.0
 imagePullPolicy: "IfNotPresent"
 securityContext:
 allowPrivilegeEscalation: false
@@ -239,8 +242,6 @@
 - name: "metrics"
 containerPort: 9252
 volumeMounts:
- - name: projected-secrets
- mountPath: /secrets
 - name: etc-gitlab-runner
 mountPath: /home/gitlab-runner/.gitlab-runner
 - name: configmaps
@@ -253,16 +254,6 @@
 - name: etc-gitlab-runner
 emptyDir:
 medium: "Memory"
- - name: projected-secrets
- projected:
- sources:
- - secret:
- name: "gitlab-runner"
- items:
- - key: runner-registration-token
- path: runner-registration-token
- - key: runner-token
- path: runner-token
 - name: configmaps
 configMap:
 name: gitlab-runner

@rxbn rxbn merged commit 17e2534 into master Oct 22, 2023
2 checks passed
@rxbn rxbn deleted the renovate/gitlab-runner-0.x branch October 22, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant