Skip to content

Commit

Permalink
Fix test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Vladev committed Nov 9, 2020
1 parent 12babd6 commit 6895e79
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 33 deletions.
6 changes: 4 additions & 2 deletions .ci/build
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ else
export BINARY_PATH="$(readlink -f "${BINARY_PATH}")/bin"
fi

cd ${SOURCE_PATH}

###############################################################################

# If no LOCAL_BUILD environment variable is set, we configure the `go build` command
Expand All @@ -42,12 +44,12 @@ if [[ -z "$LOCAL_BUILD" ]]; then
-a \
-v \
-o ${BINARY_PATH}/linux-amd64/manager \
${SOURCE_PATH}/.
./

# If the LOCAL_BUILD environment variable is set, we simply run `go build`.
else
go build \
-v \
-o ${BINARY_PATH}/manager \
${SOURCE_PATH}/.
./
fi
2 changes: 2 additions & 0 deletions .ci/check
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ else
export SOURCE_PATH="$(readlink -f ${SOURCE_PATH})"
fi

cd ${SOURCE_PATH}

echo "Install Golint (linting tool)."
go install golang.org/x/lint/golint

Expand Down
2 changes: 2 additions & 0 deletions .ci/integration_test
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ fi

##############################################################################

cd ${SOURCE_PATH}

# Declare global variables
TEST_ID=

Expand Down
2 changes: 1 addition & 1 deletion .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hvpa-controller:
check:
image: 'golang:1.15.3'
integration_test:
image: 'eu.gcr.io/gardener-project/cc/job-image-golang:0.12.0'
image: 'golang:1.15.3'
build:
image: 'golang:1.15.3'
output_dir: 'binary'
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
k8s.io/api v0.18.8
k8s.io/apimachinery v0.18.8
k8s.io/autoscaler/vertical-pod-autoscaler v0.9.0
k8s.io/client-go v0.18.6
k8s.io/client-go v0.18.8
k8s.io/klog v1.0.0
sigs.k8s.io/controller-runtime v0.6.3
sigs.k8s.io/controller-tools v0.4.0
Expand Down
30 changes: 2 additions & 28 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ k8s.io/apimachinery/third_party/forked/golang/json
k8s.io/apimachinery/third_party/forked/golang/reflect
# k8s.io/autoscaler/vertical-pod-autoscaler v0.9.0
k8s.io/autoscaler/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta2
# k8s.io/client-go v0.18.6
# k8s.io/client-go v0.18.8
k8s.io/client-go/discovery
k8s.io/client-go/dynamic
k8s.io/client-go/kubernetes
Expand Down

0 comments on commit 6895e79

Please sign in to comment.