Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
chore: Bump Go to v1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
reedloden committed Oct 10, 2023
1 parent 7c383e8 commit e8b7958
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 41 deletions.
18 changes: 9 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
- make lint

- name: Run tests
image: golang:1.21.2
image: golang:1.21.3
environment:
RUNNER_TEMP: /tmp
TELEPORT_ENTERPRISE_LICENSE:
Expand Down Expand Up @@ -66,7 +66,7 @@ workspace:

steps:
- name: Build artifacts
image: golang:1.21.2
image: golang:1.21.3
commands:
- make build-all

Expand Down Expand Up @@ -97,7 +97,7 @@ workspace:

steps:
- name: Build artifacts
image: golang:1.21.2
image: golang:1.21.3
commands:
- mkdir -p build/
- export PLUGIN_TYPE=$(echo ${DRONE_TAG} | cut -d- -f2)
Expand Down Expand Up @@ -311,7 +311,7 @@ workspace:

steps:
- name: Build artifacts
image: golang:1.21.2
image: golang:1.21.3
commands:
- mkdir -p build/
- go install github.com/konoui/lipo@latest
Expand Down Expand Up @@ -384,7 +384,7 @@ workspace:

steps:
- name: Build artifacts
image: golang:1.21.2
image: golang:1.21.3
commands:
- mkdir -p build/
- make OS=linux ARCH=amd64 release/event-handler
Expand Down Expand Up @@ -927,7 +927,7 @@ concurrency:

steps:
- name: Upload terraform provider to staging registry
image: golang:1.21.2
image: golang:1.21.3
commands:
- cd tooling
- |
Expand Down Expand Up @@ -985,7 +985,7 @@ concurrency:

steps:
- name: Upload terraform provider to staging registry
image: golang:1.21.2
image: golang:1.21.3
commands:
- cd tooling
- |
Expand Down Expand Up @@ -1043,7 +1043,7 @@ concurrency:

steps:
- name: Promote terraform provider to public registry
image: golang:1.21.2
image: golang:1.21.3
commands:
- cd tooling
- |
Expand Down Expand Up @@ -1081,6 +1081,6 @@ steps:
from_secret: PRODUCTION_TERRAFORM_REGISTRY_SIGNING_KEY
---
kind: signature
hmac: 00f66e92faf100b63e28b7a6465b3a1668bc4a1143017c060fb6e20c4007554d
hmac: 7329d41f2acd4c65f990204ced4435154add3fed15634bc7bcab06791dec41a1

...
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Checkout Teleport Plugins
uses: actions/checkout@v3

- name: Setup Go 1.21.2
- name: Setup Go 1.21.3
uses: actions/setup-go@v3
with:
go-version: '1.21.2'
go-version: '1.21.3'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.2'
go-version: '1.21.3'

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.2'
go-version: '1.21.3'

- name: Install Teleport
uses: teleport-actions/setup@v1
Expand Down
2 changes: 1 addition & 1 deletion access/discord/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-discord
Expand Down
2 changes: 1 addition & 1 deletion access/email/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-email
Expand Down
2 changes: 1 addition & 1 deletion access/jira/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-jira
Expand Down
2 changes: 1 addition & 1 deletion access/mattermost/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-mattermost
Expand Down
2 changes: 1 addition & 1 deletion access/msteams/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-msteams
Expand Down
2 changes: 1 addition & 1 deletion access/pagerduty/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-pagerduty
Expand Down
2 changes: 1 addition & 1 deletion access/slack/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

BUILDDIR ?= build
BINARY = $(BUILDDIR)/teleport-slack
Expand Down
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
# enterprise version, but has to be available on cdn.teleport.dev
RELEASE ?= teleport-ent-v14.0.0-linux-amd64-bin

RUNTIME ?= go1.21.2
RUNTIME ?= go1.21.3
BBOX ?= public.ecr.aws/gravitational/teleport-buildbox:$(RUNTIME)

# Teleport CLI and plugins CLI flags to pass to them on start
Expand Down
2 changes: 1 addition & 1 deletion docker/plugins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Defines Teleport Slack image, based on Teleport OSS image.
ARG RUNTIME="go1.21.1"
ARG RUNTIME="go1.21.3"
ARG BBOX="public.ecr.aws/gravitational/teleport-buildbox"
FROM $BBOX:$RUNTIME

Expand Down
2 changes: 1 addition & 1 deletion event-handler/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=14.0.1
GO_VERSION=1.21.2
GO_VERSION=1.21.3

GITTAG=v$(VERSION)

Expand Down
3 changes: 1 addition & 2 deletions event-handler/build.assets/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
LOCALDIR := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
GO_VERSION=1.21.2
SRCDIR=/go/src/github.com/gravitational/teleport-plugins/event-handler
VERSION=0.0.1
GO_VERSION=1.21.3
CGOFLAG ?= CGO_ENABLED=0
BUILDDIR=$(TOP)/build
OS ?= $(shell go env GOOS)
Expand All @@ -22,7 +22,6 @@ BUILDFORHOST := -e OS=$(OS) \
-e CGOFLAG=$(CGOFLAG)

DOCKERPULLFLAGS ?= --pull
GO_VERSION = 1.21.1

NOROOT=-u $$(id -u):$$(id -g)
BINDIR=/usr/local/bin
Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/gravitational/teleport-plugins

go 1.21

toolchain go1.21.1
toolchain go1.21.3

require (
github.com/DanielTitkov/go-adaptive-cards v0.2.2
Expand Down Expand Up @@ -30,7 +30,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/tidwall/gjson v1.14.4
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb
golang.org/x/net v0.14.0
golang.org/x/net v0.17.0
golang.org/x/sync v0.3.0
google.golang.org/grpc v1.57.0
google.golang.org/protobuf v1.31.0
Expand Down Expand Up @@ -117,10 +117,10 @@ require (
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,8 @@ golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk=
golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
Expand Down Expand Up @@ -725,8 +725,8 @@ golang.org/x/net v0.0.0-20211029224645-99673261e6eb/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -802,14 +802,14 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0=
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -820,8 +820,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down

0 comments on commit e8b7958

Please sign in to comment.