Skip to content

Commit

Permalink
upgrade jenkins to v0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
authored and muma378 committed Oct 28, 2024
1 parent bf4a1c2 commit ced77f9
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 75 deletions.
2 changes: 1 addition & 1 deletion charts/jenkins/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export USE_OPENSOURCE_CHART=false
export REPO_URL=https://amamba-io.github.io/charts
export REPO_NAME=amamba
export CHART_NAME=jenkins
export VERSION=0.4.5
export VERSION=0.4.6

# pr, issue, none

Expand Down
6 changes: 3 additions & 3 deletions charts/jenkins/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
addon.kpanda.io/repo: addon
addon.kpanda.io/source: addon
apiVersion: v2
appVersion: 0.4.5
appVersion: 0.4.6
description: jenkins charts of amamba.
home: https://github.com/amamba-io/jenkins-agent
icon: https://mirrors.tuna.tsinghua.edu.cn/jenkins/art/jenkins-logo/logo.svg
Expand All @@ -11,8 +11,8 @@ keywords:
- ci
- cd
name: jenkins
version: 0.4.5
version: 0.4.6
dependencies:
- name: jenkins
version: "0.4.5"
version: "0.4.6"
repository: "https://amamba-io.github.io/charts"
56 changes: 28 additions & 28 deletions charts/jenkins/jenkins/charts/jenkins/.relok8s-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
- "{{ .image.registry }}/{{ .Agent.Builder.Base.Image }}:{{ .Agent.Builder.Base.ImageTag }}"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.Builder.NodeJs.ImageTag }}-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.Builder.NodeJs.ImageTag }}"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk1.8-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk1.8"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk8-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk8-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk1.8-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk1.8"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk8-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk8-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.Builder.Golang.ImageTag }}-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.Builder.Golang.ImageTag }}-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.Builder.Python.ImageTag }}-podman"
Expand All @@ -16,27 +16,27 @@
- "{{ .eventProxy.image.registry }}/{{ .eventProxy.image.repository }}:{{ .eventProxy.image.tag }}"

# The following content is generated from the Builder.{language}.Versions in values.yaml, see hack/update_agent_version.sh
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-18.20.4-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-20.17.0-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-18.20.4-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-20.17.0-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk11-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk17-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk21-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk11-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk17-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-jdk21-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.17.13"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.17.13-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.17.13-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.18.10-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.20.14-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.17.13-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.18.10-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-1.20.14-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-2.7.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-3.10.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-3.11.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-2.7.9-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-3.10.9-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.5-3.11.9-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-18.20.4-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-20.17.0-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-18.20.4-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.NodeJs.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-20.17.0-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk11-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk17-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk21-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk11-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk17-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Maven.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-jdk21-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.17.13"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.17.13-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.17.13-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.18.10-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.20.14-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.17.13-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.18.10-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Golang.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-1.20.14-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-2.7.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-3.10.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-3.11.9-ubuntu"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-2.7.9-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-3.10.9-ubuntu-podman"
- "{{ .image.registry }}/{{ .Agent.Builder.Python.Image }}:{{ .Agent.relok8sPlaceholder }}v0.4.6-3.11.9-ubuntu-podman"
4 changes: 2 additions & 2 deletions charts/jenkins/jenkins/charts/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
addon.kpanda.io/repo: addon
addon.kpanda.io/source: addon
apiVersion: v2
appVersion: 0.4.5
appVersion: 0.4.6
description: jenkins charts of amamba.
home: https://github.com/amamba-io/jenkins-agent
icon: https://mirrors.tuna.tsinghua.edu.cn/jenkins/art/jenkins-logo/logo.svg
Expand All @@ -11,4 +11,4 @@ keywords:
- ci
- cd
name: jenkins
version: 0.4.5
version: 0.4.6
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ rateLimiterConfig: {{ toYaml .rateLimiterConfig | nindent 2 }}
- name: AMAMBA_EVENTPROXY_TOKEN
valueFrom:
secretKeyRef:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
key: event-proxy-token
{{- end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ spec:
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
key: jenkins-admin-password
- name: ADMIN_USER
valueFrom:
secretKeyRef:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
key: jenkins-admin-user
{{- end }}
{{- if .Values.Master.InitContainerEnv }}
Expand Down Expand Up @@ -158,12 +158,12 @@ spec:
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
key: jenkins-admin-password
- name: ADMIN_USER
valueFrom:
secretKeyRef:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
key: jenkins-admin-user
{{- end }}
{{- if .Values.Master.ContainerEnv }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Secret
metadata:
name: jenkins-secret
name: {{ template "jenkins.fullname" . }}
labels:
app: {{ template "jenkins.fullname" . }}
chart: "{{ .Chart.Name }}-{{ include "charts.version" . }}"
Expand Down
1 change: 0 additions & 1 deletion charts/jenkins/jenkins/charts/jenkins/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"Master": {
"type": "object",
"required": [
"AdminPassword",
"AdminUser",
"resources"
],
Expand Down
34 changes: 17 additions & 17 deletions charts/jenkins/jenkins/charts/jenkins/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Master:
SchedulerName: ""
Name: jenkins-master
Image: "amambadev/jenkins"
ImageTag: "v0.4.5-2.413"
ImageTag: "v0.4.6-2.413"
ImagePullPolicy: "IfNotPresent"
ImagePullSecret: ""
Component: "jenkins-master"
Expand Down Expand Up @@ -347,36 +347,36 @@ Agent:
Builder:
Base:
Image: amambadev/jenkins-agent-base
ImageTag: v0.4.5
ImageTag: v0.4.6
NodeJs:
Image: amambadev/jenkins-agent-nodejs
ImageTag: v0.4.5-16.20.2
ImageTag: v0.4.6-16.20.2
# Versions for auto generator Jenkins CASC Config and relock_k8s images.
# must build image first.
Versions:
- v0.4.5-18.20.4
- v0.4.5-20.17.0
- v0.4.6-18.20.4
- v0.4.6-20.17.0
Maven:
Image: amambadev/jenkins-agent-maven
ImageTag: v0.4.5-jdk8
ImageTag: v0.4.6-jdk8
Versions:
- v0.4.5-jdk11
- v0.4.5-jdk17
- v0.4.5-jdk21
- v0.4.6-jdk11
- v0.4.6-jdk17
- v0.4.6-jdk21
Golang:
Image: amambadev/jenkins-agent-go
ImageTag: v0.4.5-1.22.6
ImageTag: v0.4.6-1.22.6
Versions:
- v0.4.5-1.17.13
- v0.4.5-1.18.10
- v0.4.5-1.20.14
- v0.4.6-1.17.13
- v0.4.6-1.18.10
- v0.4.6-1.20.14
Python:
Image: amambadev/jenkins-agent-python
ImageTag: v0.4.5-3.8.19
ImageTag: v0.4.6-3.8.19
Versions:
- v0.4.5-2.7.9
- v0.4.5-3.10.9
- v0.4.5-3.11.9
- v0.4.6-2.7.9
- v0.4.6-3.10.9
- v0.4.6-3.11.9
ContainerRuntime: podman # Available values: docker, podman

Persistence:
Expand Down
34 changes: 17 additions & 17 deletions charts/jenkins/jenkins/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jenkins:
SchedulerName: ""
Name: jenkins-master
Image: "amambadev/jenkins"
ImageTag: "v0.4.5-2.413"
ImageTag: "v0.4.6-2.413"
ImagePullPolicy: "IfNotPresent"
ImagePullSecret: ""
Component: "jenkins-master"
Expand Down Expand Up @@ -319,36 +319,36 @@ jenkins:
Builder:
Base:
Image: amambadev/jenkins-agent-base
ImageTag: v0.4.5
ImageTag: v0.4.6
NodeJs:
Image: amambadev/jenkins-agent-nodejs
ImageTag: v0.4.5-16.20.2
ImageTag: v0.4.6-16.20.2
# Versions for auto generator Jenkins CASC Config and relock_k8s images.
# must build image first.
Versions:
- v0.4.5-18.20.4
- v0.4.5-20.17.0
- v0.4.6-18.20.4
- v0.4.6-20.17.0
Maven:
Image: amambadev/jenkins-agent-maven
ImageTag: v0.4.5-jdk8
ImageTag: v0.4.6-jdk8
Versions:
- v0.4.5-jdk11
- v0.4.5-jdk17
- v0.4.5-jdk21
- v0.4.6-jdk11
- v0.4.6-jdk17
- v0.4.6-jdk21
Golang:
Image: amambadev/jenkins-agent-go
ImageTag: v0.4.5-1.22.6
ImageTag: v0.4.6-1.22.6
Versions:
- v0.4.5-1.17.13
- v0.4.5-1.18.10
- v0.4.5-1.20.14
- v0.4.6-1.17.13
- v0.4.6-1.18.10
- v0.4.6-1.20.14
Python:
Image: amambadev/jenkins-agent-python
ImageTag: v0.4.5-3.8.19
ImageTag: v0.4.6-3.8.19
Versions:
- v0.4.5-2.7.9
- v0.4.5-3.10.9
- v0.4.5-3.11.9
- v0.4.6-2.7.9
- v0.4.6-3.10.9
- v0.4.6-3.11.9
ContainerRuntime: podman # Available values: docker, podman
Persistence:
Enabled: true
Expand Down

0 comments on commit ced77f9

Please sign in to comment.