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:
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue