Skip to content

chore(deps): update helm release gitlab-runner to v0.75.0 for prod env #195

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ixxeL2097
Copy link
Member

@ixxeL2097 ixxeL2097 commented Feb 21, 2025

This PR contains the following updates:

Package Update Change
gitlab-runner minor 0.73.3 -> 0.75.0

Release Notes

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

v0.75.0

Compare Source

New features
  • Update GitLab Runner version to v17.10.0

v0.74.2

Compare Source

v0.74.1

Compare Source

v0.74.0

Compare Source

New features
  • Update GitLab Runner version to v17.9.0
  • Add extra containers !494
Bug fixes
  • Improve authentication token detection !513
Maintenance
  • Update liveness and readiness probe doc !512
  • Increase default period for livenessProbe !511
  • Run CI jobs in kubernetes !504

v0.73.4

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 is behind base branch, 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 Renovate Bot.

Copy link

github-actions bot commented Feb 21, 2025

--- main/gitlab-runner_talos_manifests_gitlab-runner_prod_manifest_main.yaml	2025-03-20 02:55:39.833191122 +0000
+++ pr/gitlab-runner_talos_manifests_gitlab-runner_prod_manifest_pr.yaml	2025-03-20 02:55:36.061179721 +0000
@@ -1,48 +1,48 @@
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/service-account.yaml
 apiVersion: v1
 kind: ServiceAccount
 metadata:
   name: "gitlab-runner-fredcorp-prod"
   namespace: "github-runner"
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/secrets.yaml
 apiVersion: v1
 kind: Secret
 metadata:
   name: gitlab-runner-fredcorp-prod
   namespace: "github-runner"
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
 type: Opaque
 data:
   runner-registration-token: ""
   runner-token: "Z2xydC04WkZmdTVXZ3gzd0RyUUhXVGhMSA=="
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/configmap.yaml
 apiVersion: v1
 kind: ConfigMap
 metadata:
   name: gitlab-runner-fredcorp-prod
   namespace: "github-runner"
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
 data:
   entrypoint: |
     #!/bin/bash
     set -e
 
     export CONFIG_PATH_FOR_INIT="/home/gitlab-runner/.gitlab-runner/"
     mkdir -p ${CONFIG_PATH_FOR_INIT}
     cp /configmaps/config.toml ${CONFIG_PATH_FOR_INIT}
@@ -123,29 +123,34 @@
       fi
       exit
     }
     trap 'signal_handler' QUIT INT
 
     MAX_REGISTER_ATTEMPTS=30
 
     # Reset/unset the not needed flags when an authentication token
     RUN_UNTAGGED=""
     ACCESS_LEVEL=""
-    RUN_UNTAGGED=""
-    ACCESS_LEVEL=""
-    unset REGISTER_LOCKED
-    unset RUNNER_TAG_LIST
+
+    if [ -n "$CI_SERVER_TOKEN" ] && [ "${CI_SERVER_TOKEN#glrt-}" != "$CI_SERVER_TOKEN" ]; then
+      RUN_UNTAGGED=""
+      ACCESS_LEVEL=""
+      unset REGISTER_LOCKED
+      unset RUNNER_TAG_LIST
+    fi
 
     for i in $(seq 1 "${MAX_REGISTER_ATTEMPTS}"); do
       echo "Registration attempt ${i} of ${MAX_REGISTER_ATTEMPTS}"
       /entrypoint register \
         --name="prod-fredcorp-runner"\
+        ${RUN_UNTAGGED} \
+        ${ACCESS_LEVEL} \
         --template-config /configmaps/config.template.toml \
         --non-interactive &
 
       register_pid=$!
       wait $register_pid
       retval=$?
 
       if [ ${retval} = 0 ]; then
         break
       elif [ ${i} = ${MAX_REGISTER_ATTEMPTS} ]; then
@@ -182,78 +187,78 @@
 
   pre-entrypoint-script: |
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/role.yaml
 apiVersion: rbac.authorization.k8s.io/v1
 kind: "Role"
 metadata:
   name: gitlab-runner-fredcorp-prod
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
   namespace: "github-runner"
 rules:
 - apiGroups: ["*"]
   resources: ["*"]
   verbs: ["*"]
 - apiGroups: ["batch"]
   resources: ["cronjobs","jobs"]
   verbs: ["*"]
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/role-binding.yaml
 apiVersion: rbac.authorization.k8s.io/v1
 kind: "RoleBinding"
 metadata:
   name: gitlab-runner-fredcorp-prod
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
   namespace: "github-runner"
 roleRef:
   apiGroup: rbac.authorization.k8s.io
   kind: "Role"
   name: gitlab-runner-fredcorp-prod
 subjects:
 - kind: ServiceAccount
   name: "gitlab-runner-fredcorp-prod"
   namespace: "github-runner"
 ---
 # Source: gitlab-runner/charts/gitlab-runner/templates/deployment.yaml
 apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: gitlab-runner-fredcorp-prod
   namespace: "github-runner"
   labels:
     app: gitlab-runner-fredcorp-prod
-    chart: gitlab-runner-0.73.3
+    chart: gitlab-runner-0.75.0
     release: "gitlab-runner"
     heritage: "Helm"
 spec:
   revisionHistoryLimit: 10
   selector:
     matchLabels:
       app: gitlab-runner-fredcorp-prod
   template:
     metadata:
       labels:
         app: gitlab-runner-fredcorp-prod
-        chart: gitlab-runner-0.73.3
+        chart: gitlab-runner-0.75.0
         release: "gitlab-runner"
         heritage: "Helm"
       annotations:
-        checksum/configmap: a7d79b51554404b149daf37b8149e17cd694458d2fbb4061264a616c98598fff
-        checksum/secrets: 6ebacfccfbb3d5af549a158ab39ebe7ea57260bce1c9fbed766a06e228fd644d
+        checksum/configmap: fbfed61ca4920bdf85de1c5df1453fbd43967a6c28f237a7aaf7429457f54209
+        checksum/secrets: 3bc4d49d09d9810655cd63541431fddbc4b852aabb93da9530a98392295889ea
     spec:
       securityContext: 
         fsGroup: 65533
         runAsUser: 100
       terminationGracePeriodSeconds: 3600
       serviceAccountName: "gitlab-runner-fredcorp-prod"
       containers:
       - name: gitlab-runner-fredcorp-prod
         image: docker.io/gitlab/gitlab-runner:alpine3.18-v16.5.0
         imagePullPolicy: "IfNotPresent"
@@ -268,36 +273,40 @@
         lifecycle:
           preStop:
             exec:
               command: ["/entrypoint", "unregister", "--all-runners"]
         command: ["/usr/bin/dumb-init", "--", "/bin/bash", "/configmaps/entrypoint"]
         env:        
         - name: CI_SERVER_URL
           value: "https://gitlab.com/"
         - name: RUNNER_EXECUTOR
           value: "kubernetes"
+        - name: REGISTER_LOCKED
+          value: "true"
+        - name: RUNNER_TAG_LIST
+          value: ""
         - name: SESSION_SERVER_ADDRESS
           value:
         livenessProbe:
           exec:
             command: ["/bin/bash", "/configmaps/check-live", "3"]
           initialDelaySeconds: 60
           timeoutSeconds: 4
-          periodSeconds: 10
+          periodSeconds: 60
           successThreshold: 1
           failureThreshold: 3
         readinessProbe:
           exec:
             command: ["/usr/bin/pgrep","gitlab.*runner"]
           initialDelaySeconds: 60
           timeoutSeconds: 4
-          periodSeconds: 10
+          periodSeconds: 60
           successThreshold: 1
           failureThreshold: 3
         ports:
         - name: "metrics"
           containerPort: 9252
         volumeMounts:
         - name: projected-secrets
           mountPath: /secrets
         - name: etc-gitlab-runner
           mountPath: /home/gitlab-runner/.gitlab-runner
 

@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch 6 times, most recently from 24039da to f2edc16 Compare February 28, 2025 01:02
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch 4 times, most recently from 8514042 to c2d828f Compare March 5, 2025 02:55
@ixxeL2097 ixxeL2097 force-pushed the main branch 12 times, most recently from 32c0a77 to 79d8dbc Compare March 5, 2025 18:43
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch from c2d828f to 220545c Compare March 6, 2025 01:02
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch from 220545c to afc1503 Compare March 14, 2025 14:05
@ixxeL2097 ixxeL2097 changed the title chore(deps): update helm release gitlab-runner to v0.74.0 for prod env chore(deps): update helm release gitlab-runner to v0.74.1 for prod env Mar 14, 2025
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch from afc1503 to 49ee4cf Compare March 15, 2025 01:02
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch 5 times, most recently from 7890321 to 2353bbe Compare March 20, 2025 01:03
@ixxeL2097 ixxeL2097 changed the title chore(deps): update helm release gitlab-runner to v0.74.1 for prod env chore(deps): update helm release gitlab-runner to v0.75.0 for prod env Mar 20, 2025
@ixxeL2097 ixxeL2097 force-pushed the renovate/helm/gitlab-runner-prod branch from 2353bbe to 600a2a9 Compare March 20, 2025 02:54
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.

2 participants