mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
CI: bump golang version (#794)
This commit is contained in:
parent
7a4c6d32de
commit
e33fd13468
3 changed files with 13 additions and 13 deletions
|
@ -22,7 +22,7 @@ pipeline:
|
|||
|
||||
build-server:
|
||||
group: build
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make release-server
|
||||
when:
|
||||
|
@ -38,7 +38,7 @@ pipeline:
|
|||
|
||||
build-agent:
|
||||
group: build
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make release-agent
|
||||
when:
|
||||
|
@ -54,7 +54,7 @@ pipeline:
|
|||
|
||||
build-cli:
|
||||
group: build
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make release-cli
|
||||
when:
|
||||
|
@ -70,7 +70,7 @@ pipeline:
|
|||
|
||||
build-deb-rpm:
|
||||
group: bundle
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make bundle
|
||||
when:
|
||||
|
@ -85,7 +85,7 @@ pipeline:
|
|||
- "web/**"
|
||||
|
||||
checksums:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make release-checksums
|
||||
when:
|
||||
|
@ -102,7 +102,7 @@ pipeline:
|
|||
# TODO: upload build artifacts for pushes to ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
release-dryrun:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- ls -la dist/*.*
|
||||
- cat dist/checksums.txt
|
||||
|
|
|
@ -16,7 +16,7 @@ pipeline:
|
|||
|
||||
# TODO: needed until https://github.com/woodpecker-ci/woodpecker/pull/635
|
||||
build-server:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- make release-server
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pipeline:
|
||||
dummy-web:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- mkdir -p web/dist/
|
||||
- echo "test" > web/dist/index.html
|
||||
|
@ -15,7 +15,7 @@ pipeline:
|
|||
- "pipeline/schema/**"
|
||||
|
||||
lint:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
group: test
|
||||
commands:
|
||||
- make lint
|
||||
|
@ -29,7 +29,7 @@ pipeline:
|
|||
- "go.*"
|
||||
|
||||
test:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
group: test
|
||||
commands:
|
||||
- make test-agent
|
||||
|
@ -47,7 +47,7 @@ pipeline:
|
|||
- "pipeline/schema/**"
|
||||
|
||||
sqlite:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
group: test
|
||||
environment:
|
||||
- WOODPECKER_DATABASE_DRIVER=sqlite3
|
||||
|
@ -62,7 +62,7 @@ pipeline:
|
|||
- "go.*"
|
||||
|
||||
postgres:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
group: test
|
||||
environment:
|
||||
- WOODPECKER_DATABASE_DRIVER=postgres
|
||||
|
@ -78,7 +78,7 @@ pipeline:
|
|||
- "go.*"
|
||||
|
||||
mysql:
|
||||
image: golang:1.16
|
||||
image: golang:1.17
|
||||
group: test
|
||||
environment:
|
||||
- WOODPECKER_DATABASE_DRIVER=mysql
|
||||
|
|
Loading…
Reference in a new issue