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

fix(dockerfiles//cd/builders): bump golang version to v1.23.1 #418

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/pull-cd-builder-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
module: [builder-go]
go-profile: [go-1.23, go-1.22, go-1.21, go-1.20, go-1.19]
go-profile: [go-1.23, go-1.22, go-1.21]
builder-profile: [local-docker]
platform: [linux/amd64, linux/arm64]
steps:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/pull-verify-packages-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"

- name: Install tools
run: |
# install gomplate
git clone https://github.com/hairyhenderson/gomplate && \
pushd gomplate && \
GOBIN=/usr/local/bin go install ./cmd/gomplate &&
popd &&
rm -rf gomplate && \
gomplate --version
GOBIN=/usr/local/bin go install github.com/hairyhenderson/gomplate/v4/cmd/gomplate@v4.1.0
gomplate --version

# install shelldoc to check the README.md
git clone https://github.com/endocode/shelldoc && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-cd-builder-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
module: [builder-go]
go-profile: [go-1.23, go-1.22, go-1.21, go-1.20, go-1.19]
go-profile: [go-1.23, go-1.22, go-1.21]
builder-profile: [local-docker]
steps:
- name: Checkout sources
Expand Down
41 changes: 2 additions & 39 deletions dockerfiles/cd/builders/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ profiles:
- op: add
path: /build/artifacts/0/kaniko/buildArgs
value: &value-go1-23
GOLANG_VERSION: 1.23.0
# renovate: datasource=docker depName=golang
GOLANG_VERSION: 1.23.1
- op: add
path: /build/artifacts/1/kaniko/buildArgs
value: *value-go1-23
Expand Down Expand Up @@ -105,7 +106,6 @@ profiles:
- op: add
path: /build/artifacts/0/kaniko/buildArgs
value: &value-go1-21
# renovate: datasource=docker depName=golang
GOLANG_VERSION: 1.21.13
- op: add
path: /build/artifacts/1/kaniko/buildArgs
Expand All @@ -116,43 +116,6 @@ profiles:
- op: add
path: /build/artifacts/3/kaniko/buildArgs
value: *value-go1-21
- name: go-1.20
patches:
- op: replace
path: /build/tagPolicy/customTemplate/template
value: "{{ .SHA }}-go1.20"
- op: add
path: /build/artifacts/0/kaniko/buildArgs
value: &value-go1-20
# renovate: datasource=docker depName=golang
GOLANG_VERSION: 1.20.14
- op: add
path: /build/artifacts/1/kaniko/buildArgs
value: *value-go1-20
- op: add
path: /build/artifacts/2/kaniko/buildArgs
value: *value-go1-20
- op: add
path: /build/artifacts/2/kaniko/buildArgs
value: *value-go1-20
- name: go-1.19
patches:
- op: replace
path: /build/tagPolicy/customTemplate/template
value: "{{ .SHA }}-go1.19"
- op: add
path: /build/artifacts/0/kaniko/buildArgs
value: &value-go1-19
GOLANG_VERSION: 1.19.13
- op: add
path: /build/artifacts/1/kaniko/buildArgs
value: *value-go1-19
- op: add
path: /build/artifacts/2/kaniko/buildArgs
value: *value-go1-19
- op: add
path: /build/artifacts/3/kaniko/buildArgs
value: *value-go1-19

---
apiVersion: skaffold/v4beta6
Expand Down
3 changes: 2 additions & 1 deletion packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Configuration template: [packages.yaml.tmpl](./packages.yaml.tmpl)
- `(~ 6.0]`: golang `v1.18.x`
- `[6.1 ~ 7.0)`: golang `v1.19`
- `[7.0 ~ 7.3]`: golang `v1.20.x`
- `[7.4 ~)`: golang `v1.21.x`
- `[7.4 ~ 8.3]`: golang `v1.21.x`
- `[8.4 ~ )`: golang `v1.23.x`

### Required context

Expand Down
Loading