-
Notifications
You must be signed in to change notification settings - Fork 0
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
ixxeL2097
wants to merge
1
commit into
main
Choose a base branch
from
renovate/helm/gitlab-runner-prod
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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
|
24039da
to
f2edc16
Compare
8514042
to
c2d828f
Compare
32c0a77
to
79d8dbc
Compare
c2d828f
to
220545c
Compare
220545c
to
afc1503
Compare
afc1503
to
49ee4cf
Compare
7890321
to
2353bbe
Compare
2353bbe
to
600a2a9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.73.3
->0.75.0
Release Notes
gitlab-org/charts/gitlab-runner (gitlab-runner)
v0.75.0
Compare Source
New features
v0.74.2
Compare Source
v0.74.1
Compare Source
v0.74.0
Compare Source
New features
Bug fixes
Maintenance
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.
This PR has been generated by Renovate Bot.