mirror of
https://github.com/danderson/netboot.git
synced 2025-10-15 17:41:38 +02:00
Update CircleCI to use only go 1.11.
This commit is contained in:
parent
07f26d54dd
commit
19ebf69d5c
@ -2,30 +2,10 @@
|
|||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
test-1.9:
|
test-1.11:
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
working_directory: /go/src/go.universe.tf/netboot
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.9
|
- image: circleci/golang:1.11
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make build
|
|
||||||
- run: make test
|
|
||||||
- run: make lint
|
|
||||||
test-1.10:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.10
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make build
|
|
||||||
- run: make test
|
|
||||||
- run: make lint
|
|
||||||
test-1.11beta2:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.11beta2
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: make ci-prepare
|
- run: make ci-prepare
|
||||||
@ -47,15 +27,7 @@ workflows:
|
|||||||
version: 2
|
version: 2
|
||||||
test-and-deploy:
|
test-and-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- test-1.9:
|
- test-1.11:
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- test-1.10:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- test-1.11beta2:
|
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
@ -66,4 +38,4 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
requires:
|
requires:
|
||||||
- test-1.10
|
- test-1.11
|
||||||
|
@ -42,4 +42,4 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
requires:
|
requires:
|
||||||
- test-1.10
|
- test-1.11
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
tmpl := template.Must(template.ParseFiles("config.yml.tmpl"))
|
tmpl := template.Must(template.ParseFiles("config.yml.tmpl"))
|
||||||
v := map[string][]string{
|
v := map[string][]string{
|
||||||
"GoVersions": []string{"1.9", "1.10", "1.11beta2"},
|
"GoVersions": []string{"1.11"},
|
||||||
"Arch": []string{"amd64", "arm", "arm64", "ppc64le", "s390x"},
|
"Arch": []string{"amd64", "arm", "arm64", "ppc64le", "s390x"},
|
||||||
}
|
}
|
||||||
if err := tmpl.Execute(os.Stdout, v); err != nil {
|
if err := tmpl.Execute(os.Stdout, v); err != nil {
|
||||||
|
1
go.mod
1
go.mod
@ -4,6 +4,7 @@ require (
|
|||||||
github.com/BurntSushi/toml v0.3.1 // indirect
|
github.com/BurntSushi/toml v0.3.1 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
||||||
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
|
||||||
github.com/google/go-cmp v0.1.0
|
github.com/google/go-cmp v0.1.0
|
||||||
github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb // indirect
|
github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
||||||
|
2
go.sum
2
go.sum
@ -5,6 +5,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
|
|||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
|
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
|
||||||
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
|
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
|
||||||
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
|
||||||
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||||
github.com/google/go-cmp v0.1.0 h1:9tmYDKxX2N1am4Ooz6a2HC7DfK0CWNuhT8T/Fi/bvtA=
|
github.com/google/go-cmp v0.1.0 h1:9tmYDKxX2N1am4Ooz6a2HC7DfK0CWNuhT8T/Fi/bvtA=
|
||||||
github.com/google/go-cmp v0.1.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
|
github.com/google/go-cmp v0.1.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
|
||||||
github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb h1:1OvvPvZkn/yCQ3xBcM8y4020wdkMXPHLB4+NfoGWh4U=
|
github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb h1:1OvvPvZkn/yCQ3xBcM8y4020wdkMXPHLB4+NfoGWh4U=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user