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

Bump golang to v1.21 for CAPM3 prow jobs #626

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 111 additions & 12 deletions prow/manifests/overlays/metal3/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ plank:
"*": https://prow.apps.test.metal3.io/view/
report_templates:
"*": >-
[Full PR test history](https://prow.apps.test.metal3.io/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}).
[Your PR dashboard](https://prow.apps.test.metal3.io/pr?query=is:pr+state:open+author:{{with
index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}).
[Full PR test history](https://prow.apps.test.metal3.io/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}). [Your PR dashboard](https://prow.apps.test.metal3.io/pr?query=is:pr+state:open+author:{{with index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}).
default_decoration_configs:
"*":
gcs_configuration:
Expand Down Expand Up @@ -233,14 +231,13 @@ deck:
required_files:
- podinfo.json
external_agent_logs:
- agent: jenkins
url_template: 'http://jenkins-operator/job/{{.Spec.Job}}/{{.Status.JenkinsBuildID}}/consoleText'

- agent: jenkins
url_template: "http://jenkins-operator/job/{{.Spec.Job}}/{{.Status.JenkinsBuildID}}/consoleText"

jenkins_operators:
- max_concurrency: 150
max_goroutines: 20
job_url_template: 'https://jenkins.nordix.org/view/Metal3/job/{{.Spec.Job}}/{{.Status.JenkinsBuildID}}/'
- max_concurrency: 150
max_goroutines: 20
job_url_template: "https://jenkins.nordix.org/view/Metal3/job/{{.Spec.Job}}/{{.Status.JenkinsBuildID}}/"

periodics:
- name: periodic-stale
Expand Down Expand Up @@ -582,6 +579,21 @@ presubmits:
- name: gomod
branches:
- main
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
decorate: true
spec:
containers:
- args:
- ./hack/gomod.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: gomod
branches:
- release-1.5
- release-1.6
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
Expand Down Expand Up @@ -616,6 +628,21 @@ presubmits:
- name: gofmt
branches:
- main
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
decorate: true
spec:
containers:
- args:
- ./hack/gofmt.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: gofmt
branches:
- release-1.5
- release-1.6
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
Expand Down Expand Up @@ -666,9 +693,21 @@ presubmits:
- name: test
branches:
- main
run_if_changed: "^(Makefile|hack/.*)$"
decorate: true
spec:
containers:
- args:
- test
command:
- make
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: test
branches:
- release-1.5
- release-1.6
run_if_changed: '^(Makefile|hack/.*)$'
run_if_changed: "^(Makefile|hack/.*)$"
decorate: true
spec:
containers:
Expand Down Expand Up @@ -697,6 +736,21 @@ presubmits:
- name: govet
branches:
- main
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
decorate: true
spec:
containers:
- args:
- ./hack/govet.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: govet
branches:
- release-1.5
- release-1.6
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
Expand Down Expand Up @@ -779,6 +833,21 @@ presubmits:
- name: generate
branches:
- main
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
decorate: true
spec:
containers:
- args:
- ./hack/codegen.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: generate
branches:
- release-1.5
- release-1.6
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
Expand Down Expand Up @@ -813,6 +882,21 @@ presubmits:
- name: unit
branches:
- main
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
decorate: true
spec:
containers:
- args:
- ./hack/unit.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: unit
branches:
- release-1.5
- release-1.6
skip_if_only_changed: '(((^|/)OWNERS)|(\.md))$'
Expand Down Expand Up @@ -863,9 +947,24 @@ presubmits:
- name: build
branches:
- main
run_if_changed: "^api|^test|^Makefile$"
decorate: true
spec:
containers:
- args:
- ./hack/build.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: docker.io/golang:1.21
imagePullPolicy: Always
- name: build
branches:
- release-1.5
- release-1.6
run_if_changed: '^api|^test|^Makefile$'
run_if_changed: "^api|^test|^Makefile$"
decorate: true
spec:
containers:
Expand Down Expand Up @@ -1074,7 +1173,7 @@ presubmits:
- main
- release-1.5
- release-1.6
run_if_changed: '^(Makefile|hack/.*)$'
run_if_changed: "^(Makefile|hack/.*)$"
decorate: true
spec:
containers:
Expand Down
Loading