Skip to content

Commit

Permalink
Update to Go 1.18 (#12578)
Browse files Browse the repository at this point in the history
And update e ref to pick up gravitational/teleport.e#424
  • Loading branch information
zmb3 authored May 11, 2022
1 parent 0b34833 commit f0bb6b4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
40 changes: 20 additions & 20 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ name: push-build-linux-amd64
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -142,7 +142,7 @@ name: push-build-linux-386
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -245,7 +245,7 @@ name: push-build-linux-amd64-fips
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -352,7 +352,7 @@ name: push-build-windows-amd64
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -512,7 +512,7 @@ steps:
- tar -C ~/build-$DRONE_BUILD_NUMBER-$DRONE_BUILD_CREATED-toolchains -xzf $RUNTIME.darwin-amd64.tar.gz
- rm -rf $RUNTIME.darwin-amd64.tar.gz
environment:
RUNTIME: go1.17.9
RUNTIME: go1.18.2
- name: Install Rust Toolchain
commands:
- set -u
Expand Down Expand Up @@ -597,7 +597,7 @@ name: push-build-linux-arm
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -700,7 +700,7 @@ name: push-build-linux-arm64
environment:
BUILDBOX_VERSION: teleport10
GID: "1000"
RUNTIME: go1.17.9
RUNTIME: go1.18.2
UID: "1000"
trigger:
event:
Expand Down Expand Up @@ -1060,7 +1060,7 @@ type: kubernetes
name: build-linux-amd64-centos7
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -1217,7 +1217,7 @@ type: kubernetes
name: build-linux-amd64-centos7-fips
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -1373,7 +1373,7 @@ type: kubernetes
name: build-linux-amd64
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -1527,7 +1527,7 @@ type: kubernetes
name: build-linux-amd64-fips
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -2371,7 +2371,7 @@ type: kubernetes
name: build-linux-386
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -2931,7 +2931,7 @@ steps:
- tar -C ~/build-$DRONE_BUILD_NUMBER-$DRONE_BUILD_CREATED-toolchains -xzf $RUNTIME.darwin-amd64.tar.gz
- rm -rf $RUNTIME.darwin-amd64.tar.gz
environment:
RUNTIME: go1.17.9
RUNTIME: go1.18.2
- name: Install Rust Toolchain
commands:
- set -u
Expand Down Expand Up @@ -3429,7 +3429,7 @@ type: kubernetes
name: build-linux-arm
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -3583,7 +3583,7 @@ type: kubernetes
name: build-linux-arm64
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -4433,7 +4433,7 @@ type: kubernetes
name: build-windows-amd64
environment:
BUILDBOX_VERSION: teleport10
RUNTIME: go1.17.9
RUNTIME: go1.18.2
trigger:
event:
include:
Expand Down Expand Up @@ -4585,7 +4585,7 @@ name: build-docker-images

environment:
BUILDBOX_VERSION: "teleport10"
RUNTIME: go1.17.9
RUNTIME: go1.18.2

trigger:
event:
Expand Down Expand Up @@ -5188,7 +5188,7 @@ steps:
- if [ "${DRONE_REPO}" != "gravitational/teleport" ]; then echo "---> Not publishing ${DRONE_REPO} packages to RPM and DEB repos" && exit 78; fi

- name: Check if tag is prerelease
image: golang:1.17-alpine
image: golang:1.18-alpine
commands:
- cd /go/src/github.com/gravitational/teleport/build.assets/tooling
- go run ./cmd/check -tag ${DRONE_TAG} -check prerelease || (echo '---> Not publishing ${DRONE_TAG} packages to RPM and DEB repos' && exit 78)
Expand Down Expand Up @@ -5269,7 +5269,7 @@ steps:
# that would cause apt users to downgrade. For more info see:
# https://github.com/gravitational/teleport/issues/8166
- name: Check if tag is latest
image: golang:1.17-alpine
image: golang:1.18-alpine
commands:
- cd /go/src/github.com/gravitational/teleport/build.assets/tooling
- go run ./cmd/check -tag ${DRONE_TAG} -check latest || (echo '---> Not publishing ${DRONE_REPO} packages to DEB repo' && exit 78)
Expand Down Expand Up @@ -5388,6 +5388,6 @@ volumes:
name: drone-s3-debrepo-pvc
---
kind: signature
hmac: fce237c39d1cb94d4d9faaa5889b61717068d1602c9c3b9c4fd92ca4054e8569
hmac: 911be33673b40e57c1d482bfcebeec7fef697e5cb52ceea9c4cddcd268bed4d1

...
2 changes: 1 addition & 1 deletion build.assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TEST_KUBE ?=
OS ?= linux
ARCH ?= amd64
BUILDBOX_VERSION ?= teleport10
GOLANG_VERSION ?= go1.17.9
GOLANG_VERSION ?= go1.18.2
RUST_VERSION ?= 1.58.1
BORINGCRYPTO_RUNTIME=$(GOLANG_VERSION)b7
LIBBPF_VERSION ?= 0.3.1
Expand Down
2 changes: 1 addition & 1 deletion e
Submodule e updated from 6abb96 to b550ee

0 comments on commit f0bb6b4

Please sign in to comment.