Skip to content

Commit

Permalink
Updated pipeline go version to 1.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwani2k authored and himanshu-kun committed Jul 12, 2022
1 parent 9deb18b commit b3d8e84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .ci/build
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ fi
# If no LOCAL_BUILD environment variable is set, we configure the `go build` command
# to build for linux OS, amd64 architectures and without CGO enablement.
if [[ -z "$LOCAL_BUILD" ]]; then
go build \
GO111MODULE=off go build \
-a \
-v \
-o ${BINARY_PATH}/cluster-autoscaler/cluster-autoscaler \
cluster-autoscaler/main.go

# If the LOCAL_BUILD environment variable is set, we simply run `go build`.
else
go build \
GO111MODULE=off go build \
-v \
-o ${BINARY_PATH}/cluster-autoscaler/cluster-autoscaler \
cluster-autoscaler/main.go
Expand Down
4 changes: 2 additions & 2 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ autoscaler:
dir: 'cluster-autoscaler'
steps:
test:
image: 'golang:1.15.0'
image: 'golang:1.18.3'
build:
image: 'golang:1.15.0'
image: 'golang:1.18.3'
output_dir: 'binary'
jobs:
head-update:
Expand Down
4 changes: 2 additions & 2 deletions .ci/test
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ fi

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

go test $(go list ./cluster-autoscaler/... | grep -v cloudprovider | grep -v vendor | grep -v integration)
go test $(go list ./cluster-autoscaler/cloudprovider/mcm/... | grep -v vendor)
GO111MODULE=off go test $(go list ./cluster-autoscaler/... | grep -v cloudprovider | grep -v vendor | grep -v integration)
GO111MODULE=off go test $(go list ./cluster-autoscaler/cloudprovider/mcm/... | grep -v vendor)

#TODO: Return success failure properly
echo "CI tests are done"

0 comments on commit b3d8e84

Please sign in to comment.