CI: bump golang version (#794)

This commit is contained in:
6543 2022-02-25 12:08:48 +01:00 committed by GitHub
parent 7a4c6d32de
commit e33fd13468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View file

@ -22,7 +22,7 @@ pipeline:
build-server: build-server:
group: build group: build
image: golang:1.16 image: golang:1.17
commands: commands:
- make release-server - make release-server
when: when:
@ -38,7 +38,7 @@ pipeline:
build-agent: build-agent:
group: build group: build
image: golang:1.16 image: golang:1.17
commands: commands:
- make release-agent - make release-agent
when: when:
@ -54,7 +54,7 @@ pipeline:
build-cli: build-cli:
group: build group: build
image: golang:1.16 image: golang:1.17
commands: commands:
- make release-cli - make release-cli
when: when:
@ -70,7 +70,7 @@ pipeline:
build-deb-rpm: build-deb-rpm:
group: bundle group: bundle
image: golang:1.16 image: golang:1.17
commands: commands:
- make bundle - make bundle
when: when:
@ -85,7 +85,7 @@ pipeline:
- "web/**" - "web/**"
checksums: checksums:
image: golang:1.16 image: golang:1.17
commands: commands:
- make release-checksums - make release-checksums
when: when:
@ -102,7 +102,7 @@ pipeline:
# TODO: upload build artifacts for pushes to ${CI_REPO_DEFAULT_BRANCH} # TODO: upload build artifacts for pushes to ${CI_REPO_DEFAULT_BRANCH}
release-dryrun: release-dryrun:
image: golang:1.16 image: golang:1.17
commands: commands:
- ls -la dist/*.* - ls -la dist/*.*
- cat dist/checksums.txt - cat dist/checksums.txt

View file

@ -16,7 +16,7 @@ pipeline:
# TODO: needed until https://github.com/woodpecker-ci/woodpecker/pull/635 # TODO: needed until https://github.com/woodpecker-ci/woodpecker/pull/635
build-server: build-server:
image: golang:1.16 image: golang:1.17
commands: commands:
- make release-server - make release-server

View file

@ -1,6 +1,6 @@
pipeline: pipeline:
dummy-web: dummy-web:
image: golang:1.16 image: golang:1.17
commands: commands:
- mkdir -p web/dist/ - mkdir -p web/dist/
- echo "test" > web/dist/index.html - echo "test" > web/dist/index.html
@ -15,7 +15,7 @@ pipeline:
- "pipeline/schema/**" - "pipeline/schema/**"
lint: lint:
image: golang:1.16 image: golang:1.17
group: test group: test
commands: commands:
- make lint - make lint
@ -29,7 +29,7 @@ pipeline:
- "go.*" - "go.*"
test: test:
image: golang:1.16 image: golang:1.17
group: test group: test
commands: commands:
- make test-agent - make test-agent
@ -47,7 +47,7 @@ pipeline:
- "pipeline/schema/**" - "pipeline/schema/**"
sqlite: sqlite:
image: golang:1.16 image: golang:1.17
group: test group: test
environment: environment:
- WOODPECKER_DATABASE_DRIVER=sqlite3 - WOODPECKER_DATABASE_DRIVER=sqlite3
@ -62,7 +62,7 @@ pipeline:
- "go.*" - "go.*"
postgres: postgres:
image: golang:1.16 image: golang:1.17
group: test group: test
environment: environment:
- WOODPECKER_DATABASE_DRIVER=postgres - WOODPECKER_DATABASE_DRIVER=postgres
@ -78,7 +78,7 @@ pipeline:
- "go.*" - "go.*"
mysql: mysql:
image: golang:1.16 image: golang:1.17
group: test group: test
environment: environment:
- WOODPECKER_DATABASE_DRIVER=mysql - WOODPECKER_DATABASE_DRIVER=mysql