Skip to content

Commit

Permalink
fix: [CI-13178]: Upgraded go version imaged to 1.22.4-alpine3.19 (#108)
Browse files Browse the repository at this point in the history
* fix: [CI-13178]: Upgraded go version imaged to 1.22.4-alpine3.19

* removed commented line of code
  • Loading branch information
rahkumar56 authored Jul 10, 2024
1 parent 8ba3d14 commit 1594021
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
13 changes: 2 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ steps:
- name: build
# there is an issue in golang 1.17.7-alpine3.15 -- with make files so using 1.17.3 here
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396
image: golang:1.22.0-alpine3.18
image: golang:1.22.4-alpine3.19
commands:
- apk add --update make git
- make drone-cache
Expand All @@ -48,7 +48,7 @@ steps:
# - golangci-lint run --timeout 500s --new-from-rev=HEAD~

- name: test
image: golang:1.22.0-alpine3.18
image: golang:1.22.4-alpine3.19
commands:
- go test -mod=vendor -short -cover -tags=integration ./...
environment:
Expand All @@ -62,15 +62,6 @@ steps:
- name: testdata
path: /drone/src/tmp/testdata/cache

# - name: generate
# image: golang:1.22.0-alpine3.11
# commands:
# - apk add --update make git
# # Following environment tricks are because of unintended variable capture by flag library.
# # This mitigates contamination happens when generating CLI flag documentation.
# - env -i make PATH=$(which go):$PATH HOME=$HOME PWD=$PWD GO=$(which go) GOPATH=$(go env GOPATH) generate
# - git diff --exit-code

- name: rebuild-cache
image: meltwater/drone-cache:v1.1.0-rc1
pull: always
Expand Down
10 changes: 5 additions & 5 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -160,7 +160,7 @@ steps:
path: /tmp/cache

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -212,7 +212,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -261,7 +261,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -300,7 +300,7 @@ steps:
debug: true

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down
10 changes: 5 additions & 5 deletions docs/examples/drone.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -74,7 +74,7 @@ steps:
path: /tmp/cache

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -127,7 +127,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -175,7 +175,7 @@ steps:
- 'vendor'

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down Expand Up @@ -214,7 +214,7 @@ steps:
debug: true

- name: build
image: golang:1.22.0-alpine3.12
image: golang:1.22.4-alpine3.19
pull: true
commands:
- apk add --update make git
Expand Down

0 comments on commit 1594021

Please sign in to comment.