Merge pull request #260 from erikwilson/fix-validation

Re-enable build validation
This commit is contained in:
Darren Shepherd 2019-03-25 09:39:27 -07:00 committed by GitHub
commit 4e15845106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 22 deletions

View File

@ -10,7 +10,7 @@ import (
type Agent struct { type Agent struct {
Token string Token string
TokenFile string TokenFile string
ServerURL string ServerURL string
DataDir string DataDir string
NodeIP string NodeIP string
NodeName string NodeName string

View File

@ -3,7 +3,8 @@ set -e
cd $(dirname $0) cd $(dirname $0)
if [ -z "SKIP_VALIDATE" ]; then ./download
if [ -z "$SKIP_VALIDATE" ]; then
./validate ./validate
fi fi
./build ./build

View File

@ -5,8 +5,6 @@ source $(dirname $0)/version.sh
cd $(dirname $0)/.. cd $(dirname $0)/..
./scripts/download
rm -rf bin/crictl bin/kubectl bin/k3s-agent bin/k3s-server bin/kubectl bin/k3s build/data rm -rf bin/crictl bin/kubectl bin/k3s-agent bin/k3s-server bin/kubectl bin/k3s build/data
ln -s containerd bin/k3s-agent ln -s containerd bin/k3s-agent
ln -s containerd bin/k3s-server ln -s containerd bin/k3s-server

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/apps/v1" "k8s.io/api/apps/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/apps/v1" "k8s.io/api/apps/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/batch/v1" "k8s.io/api/batch/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/batch/v1" "k8s.io/api/batch/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/core/v1" "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
"github.com/rancher/norman/objectclient" "github.com/rancher/norman/objectclient"
v1 "k8s.io/api/rbac/v1" "k8s.io/api/rbac/v1"
"k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"

View File

@ -2,7 +2,7 @@ package v1
import ( import (
"github.com/rancher/norman/lifecycle" "github.com/rancher/norman/lifecycle"
v1 "k8s.io/api/rbac/v1" "k8s.io/api/rbac/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
) )