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:
|
||||
- linux
|
||||
- osx
|
||||
go:
|
||||
- 1.13.x
|
||||
- 1.14.x
|
||||
dist: focal
|
||||
go: 1.14.x
|
||||
|
||||
go_import_path: k8s.io/kops
|
||||
|
||||
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:
|
||||
allow_failures:
|
||||
- arch: arm64
|
||||
|
||||
exclude:
|
||||
- os: osx
|
||||
go: 1.13.x
|
||||
- os: linux
|
||||
go: 1.13.x
|
||||
arch: arm64
|
||||
|
||||
include:
|
||||
- name: Verify
|
||||
arch: amd64
|
||||
os: linux
|
||||
dist: focal
|
||||
go: 1.14.x
|
||||
script:
|
||||
- GOPROXY=https://proxy.golang.org make travis-ci
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ import (
|
|||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"k8s.io/kops/nodeup/pkg/distros"
|
||||
"k8s.io/kops/pkg/apis/kops"
|
||||
"k8s.io/kops/pkg/flagbuilder"
|
||||
"k8s.io/kops/pkg/testutils"
|
||||
|
|
@ -153,6 +154,7 @@ func runContainerdBuilderTest(t *testing.T, key string) {
|
|||
basedir := path.Join("tests/containerdbuilder/", key)
|
||||
|
||||
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
||||
nodeUpModelContext.Distribution = distros.DistributionXenial
|
||||
if err != nil {
|
||||
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
||||
return
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"k8s.io/kops/nodeup/pkg/distros"
|
||||
"k8s.io/kops/pkg/apis/kops"
|
||||
"k8s.io/kops/pkg/flagbuilder"
|
||||
"k8s.io/kops/pkg/testutils"
|
||||
|
|
@ -249,6 +250,7 @@ func runDockerBuilderTest(t *testing.T, key string) {
|
|||
basedir := path.Join("tests/dockerbuilder/", key)
|
||||
|
||||
nodeUpModelContext, err := BuildNodeupModelContext(basedir)
|
||||
nodeUpModelContext.Distribution = distros.DistributionXenial
|
||||
if err != nil {
|
||||
t.Fatalf("error parsing cluster yaml %q: %v", basedir, err)
|
||||
return
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import (
|
|||
"testing"
|
||||
|
||||
"k8s.io/klog"
|
||||
"k8s.io/kops/nodeup/pkg/distros"
|
||||
"k8s.io/kops/pkg/apis/kops"
|
||||
"k8s.io/kops/pkg/apis/nodeup"
|
||||
"k8s.io/kops/pkg/assets"
|
||||
|
|
@ -208,7 +207,6 @@ func BuildNodeupModelContext(basedir string) (*NodeupModelContext, error) {
|
|||
nodeUpModelContext := &NodeupModelContext{
|
||||
Cluster: model.Cluster,
|
||||
Architecture: "amd64",
|
||||
Distribution: distros.DistributionXenial,
|
||||
NodeupConfig: &nodeup.Config{},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue