Skip to content

Commit

Permalink
Merge pull request #9644 from hakman/ci-arm64-blocking
Browse files Browse the repository at this point in the history
Make ARM64 job blocking with TravisCI
  • Loading branch information
k8s-ci-robot authored Jul 29, 2020
2 parents 31b03c4 + 8c29b10 commit ebef4c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
18 changes: 4 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions nodeup/pkg/model/containerd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions nodeup/pkg/model/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions nodeup/pkg/model/kubelet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -208,7 +207,6 @@ func BuildNodeupModelContext(basedir string) (*NodeupModelContext, error) {
nodeUpModelContext := &NodeupModelContext{
Cluster: model.Cluster,
Architecture: "amd64",
Distribution: distros.DistributionXenial,
NodeupConfig: &nodeup.Config{},
}

Expand Down

0 comments on commit ebef4c8

Please sign in to comment.