mirror of https://github.com/kubernetes/kops.git
Merge pull request #9644 from hakman/ci-arm64-blocking
Make ARM64 job blocking with TravisCI
This commit is contained in:
commit
ebef4c8ad5
18
.travis.yml
18
.travis.yml
|
|
@ -5,30 +5,20 @@ arch:
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
go:
|
dist: focal
|
||||||
- 1.13.x
|
go: 1.14.x
|
||||||
- 1.14.x
|
|
||||||
|
|
||||||
go_import_path: k8s.io/kops
|
go_import_path: k8s.io/kops
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- GOPROXY=https://proxy.golang.org travis_wait 30 make nodeup examples test
|
- GOPROXY=https://proxy.golang.org travis_wait 30 make all examples test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
allow_failures:
|
|
||||||
- arch: arm64
|
|
||||||
|
|
||||||
exclude:
|
|
||||||
- os: osx
|
|
||||||
go: 1.13.x
|
|
||||||
- os: linux
|
|
||||||
go: 1.13.x
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: Verify
|
- name: Verify
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: linux
|
os: linux
|
||||||
|
dist: focal
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
script:
|
script:
|
||||||
- GOPROXY=https://proxy.golang.org make travis-ci
|
- GOPROXY=https://proxy.golang.org make travis-ci
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"k8s.io/kops/nodeup/pkg/distros"
|
||||||
"k8s.io/kops/pkg/apis/kops"
|
"k8s.io/kops/pkg/apis/kops"
|
||||||
"k8s.io/kops/pkg/flagbuilder"
|
"k8s.io/kops/pkg/flagbuilder"
|
||||||
"k8s.io/kops/pkg/testutils"
|
"k8s.io/kops/pkg/testutils"
|
||||||
|
|
@ -153,6 +154,7 @@ func runContainerdBuilderTest(t *testing.T, key string) {
|
||||||
basedir := path.Join("tests/containerdbuilder/", key)
|
basedir := path.Join("tests/containerdbuilder/", key)
|
||||||
|
|
||||||
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
||||||
|
nodeUpModelContext.Distribution = distros.DistributionXenial
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"k8s.io/kops/nodeup/pkg/distros"
|
||||||
"k8s.io/kops/pkg/apis/kops"
|
"k8s.io/kops/pkg/apis/kops"
|
||||||
"k8s.io/kops/pkg/flagbuilder"
|
"k8s.io/kops/pkg/flagbuilder"
|
||||||
"k8s.io/kops/pkg/testutils"
|
"k8s.io/kops/pkg/testutils"
|
||||||
|
|
@ -249,6 +250,7 @@ func runDockerBuilderTest(t *testing.T, key string) {
|
||||||
basedir := path.Join("tests/dockerbuilder/", key)
|
basedir := path.Join("tests/dockerbuilder/", key)
|
||||||
|
|
||||||
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
||||||
|
nodeUpModelContext.Distribution = distros.DistributionXenial
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"k8s.io/klog"
|
"k8s.io/klog"
|
||||||
"k8s.io/kops/nodeup/pkg/distros"
|
|
||||||
"k8s.io/kops/pkg/apis/kops"
|
"k8s.io/kops/pkg/apis/kops"
|
||||||
"k8s.io/kops/pkg/apis/nodeup"
|
"k8s.io/kops/pkg/apis/nodeup"
|
||||||
"k8s.io/kops/pkg/assets"
|
"k8s.io/kops/pkg/assets"
|
||||||
|
|
@ -208,7 +207,6 @@ func BuildNodeupModelContext(basedir string) (*NodeupModelContext, error) {
|
||||||
nodeUpModelContext := &NodeupModelContext{
|
nodeUpModelContext := &NodeupModelContext{
|
||||||
Cluster: model.Cluster,
|
Cluster: model.Cluster,
|
||||||
Architecture: "amd64",
|
Architecture: "amd64",
|
||||||
Distribution: distros.DistributionXenial,
|
|
||||||
NodeupConfig: &nodeup.Config{},
|
NodeupConfig: &nodeup.Config{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue