commit
edc1d9068e
|
|
@ -11,7 +11,7 @@ env:
|
|||
- KUBECONFIG=$HOME/.kube/config
|
||||
|
||||
go:
|
||||
- 1.13.x
|
||||
- 1.14.x
|
||||
|
||||
before_install:
|
||||
- |
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -212,7 +212,7 @@ PLATFORM = $(shell echo $(UNAME_S) | tr A-Z a-z)
|
|||
staticcheck: ## Verifies `staticcheck` passes
|
||||
@echo "+ $@"
|
||||
ifndef HAS_STATICCHECK
|
||||
wget -O staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2019.2.3/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
wget -O staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2020.1.3/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
tar zxvf staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
mkdir -p $(GOPATH)/bin
|
||||
mv staticcheck/staticcheck $(GOPATH)/bin
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
ARG GO_VERSION
|
||||
|
||||
# build stage
|
||||
FROM golang:$GO_VERSION-alpine3.10 AS build-stage
|
||||
FROM golang:$GO_VERSION-alpine3.11 AS build-stage
|
||||
ARG OPERATOR_SDK_VERSION
|
||||
ENV GO111MODULE=on
|
||||
RUN apk --no-cache add git curl make \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ def workdir = "${workspace}/src/github.com/jenkinsci/kubernetes-operator/"
|
|||
|
||||
podTemplate(label: label,
|
||||
containers: [
|
||||
containerTemplate(name: 'alpine', image: 'alpine:3.10.2', ttyEnabled: true, command: 'cat'),
|
||||
containerTemplate(name: 'alpine', image: 'alpine:3.11', ttyEnabled: true, command: 'cat'),
|
||||
],
|
||||
) {
|
||||
node(label) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Setup variables for the Makefile
|
||||
NAME=kubernetes-operator
|
||||
OPERATOR_SDK_VERSION=0.17.0
|
||||
GO_VERSION=1.13.1
|
||||
GO_VERSION=1.14.2
|
||||
PKG=github.com/jenkinsci/kubernetes-operator
|
||||
DOCKER_ORGANIZATION=virtuslab
|
||||
DOCKER_REGISTRY=jenkins-operator
|
||||
|
|
|
|||
Loading…
Reference in New Issue