Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Commit 567b8b8

Browse files
build: Upgrade to go 1.17 (#187)
* build: Upgrade to go 1.17 Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com> * fix: update deployment manifest for queuegroup Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com> * update go.mod Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
1 parent 9e5f5eb commit 567b8b8

File tree

7 files changed

+95
-72
lines changed

7 files changed

+95
-72
lines changed

.github/actions/unit-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Unit Tests'
22
description: 'Run unit tests using go'
33
inputs:
44
GO_VERSION:
5-
default: "1.16"
5+
default: "1.17"
66
env:
77
GO111MODULE: "on"
88
GOPROXY: "https://proxy.golang.org"

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Set up Go
99
uses: actions/setup-go@v3
1010
with:
11-
go-version: 1.16.2
11+
go-version: 1.17.5
1212
id: go
1313
- name: Check out code.
1414
uses: actions/checkout@v3
@@ -21,4 +21,4 @@ jobs:
2121
env:
2222
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
run: |
24-
reviewdog -reporter=github-pr-review
24+
reviewdog -reporter=github-pr-review

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the offical Golang image to create a build artifact.
22
# This is based on Debian and sets the GOPATH to /go.
33
# https://hub.docker.com/_/golang
4-
FROM golang:1.16.2-alpine as builder
4+
FROM golang:1.17.5-alpine as builder
55

66
RUN apk add --no-cache gcc libc-dev git
77

chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
- name: HTTP_SSL_VERIFY
156156
value: "{{ .Values.remoteControlPlane.api.apiValidateTls | default "true" }}"
157157
{{- end }}
158-
{{- if .Values.distributor.config.queueGroup.enabled }}
158+
{{- if (((.Values.distributor).config).queueGroup).enabled | default true }}
159159
- name: PUBSUB_GROUP
160160
valueFrom:
161161
fieldRef:

go.mod

Lines changed: 78 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,96 @@
11
module keptn-contrib/job-executor-service
22

3-
go 1.16
3+
go 1.17
44

55
require (
6-
cloud.google.com/go v0.82.0 // indirect
76
github.com/PaesslerAG/jsonpath v0.1.1
87
github.com/cloudevents/sdk-go/v2 v2.5.0
98
github.com/golang/mock v1.6.0
10-
github.com/google/gofuzz v1.2.0 // indirect
119
github.com/kelseyhightower/envconfig v1.4.0
1210
github.com/keptn/go-utils v0.12.0
1311
github.com/keptn/kubernetes-utils v0.12.0
1412
github.com/spf13/afero v1.8.1
1513
github.com/stretchr/testify v1.7.0
16-
go.uber.org/multierr v1.6.0 // indirect
17-
go.uber.org/zap v1.16.0 // indirect
18-
golang.org/x/term v0.0.0-20210429154555-c04ba851c2a4 // indirect
19-
golang.org/x/tools v0.1.2 // indirect
2014
gopkg.in/yaml.v2 v2.4.0
2115
gotest.tools v2.2.0+incompatible
22-
honnef.co/go/tools v0.1.3 // indirect
2316
k8s.io/api v0.22.1
2417
k8s.io/apimachinery v0.22.1
2518
k8s.io/client-go v0.22.1
2619
)
20+
21+
require (
22+
cloud.google.com/go v0.75.0 // indirect
23+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
24+
github.com/Azure/go-autorest/autorest v0.11.21 // indirect
25+
github.com/Azure/go-autorest/autorest/adal v0.9.14 // indirect
26+
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
27+
github.com/Azure/go-autorest/logger v0.2.1 // indirect
28+
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
29+
github.com/BurntSushi/toml v0.3.1 // indirect
30+
github.com/Masterminds/goutils v1.1.1 // indirect
31+
github.com/Masterminds/semver/v3 v3.1.1 // indirect
32+
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
33+
github.com/PaesslerAG/gval v1.0.0 // indirect
34+
github.com/benbjohnson/clock v1.3.0 // indirect
35+
github.com/cloudevents/sdk-go/observability/opentelemetry/v2 v2.0.0-20211001212819-74757a691209 // indirect
36+
github.com/cyphar/filepath-securejoin v0.2.2 // indirect
37+
github.com/davecgh/go-spew v1.1.1 // indirect
38+
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
39+
github.com/felixge/httpsnoop v1.0.2 // indirect
40+
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
41+
github.com/go-logr/logr v0.4.0 // indirect
42+
github.com/gobwas/glob v0.2.3 // indirect
43+
github.com/gogo/protobuf v1.3.2 // indirect
44+
github.com/golang/protobuf v1.5.2 // indirect
45+
github.com/google/go-cmp v0.5.6 // indirect
46+
github.com/google/gofuzz v1.1.0 // indirect
47+
github.com/google/uuid v1.3.0 // indirect
48+
github.com/googleapis/gnostic v0.5.5 // indirect
49+
github.com/huandu/xstrings v1.3.1 // indirect
50+
github.com/imdario/mergo v0.3.11 // indirect
51+
github.com/json-iterator/go v1.1.11 // indirect
52+
github.com/mitchellh/copystructure v1.1.1 // indirect
53+
github.com/mitchellh/reflectwalk v1.0.1 // indirect
54+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
55+
github.com/modern-go/reflect2 v1.0.1 // indirect
56+
github.com/pkg/errors v0.9.1 // indirect
57+
github.com/pmezard/go-difflib v1.0.0 // indirect
58+
github.com/shopspring/decimal v1.2.0 // indirect
59+
github.com/spf13/cast v1.3.1 // indirect
60+
github.com/spf13/pflag v1.0.5 // indirect
61+
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
62+
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
63+
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
64+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.27.0 // indirect
65+
go.opentelemetry.io/otel v1.2.0 // indirect
66+
go.opentelemetry.io/otel/internal/metric v0.25.0 // indirect
67+
go.opentelemetry.io/otel/metric v0.25.0 // indirect
68+
go.opentelemetry.io/otel/trace v1.2.0 // indirect
69+
go.uber.org/atomic v1.5.0 // indirect
70+
go.uber.org/multierr v1.3.0 // indirect
71+
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
72+
go.uber.org/zap v1.13.0 // indirect
73+
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa // indirect
74+
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect
75+
golang.org/x/mod v0.4.2 // indirect
76+
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
77+
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 // indirect
78+
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect
79+
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
80+
golang.org/x/text v0.3.6 // indirect
81+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
82+
golang.org/x/tools v0.1.1 // indirect
83+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
84+
google.golang.org/appengine v1.6.7 // indirect
85+
google.golang.org/protobuf v1.27.1 // indirect
86+
gopkg.in/inf.v0 v0.9.1 // indirect
87+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
88+
helm.sh/helm/v3 v3.6.1 // indirect
89+
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
90+
k8s.io/apiextensions-apiserver v0.21.0 // indirect
91+
k8s.io/klog/v2 v2.9.0 // indirect
92+
k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e // indirect
93+
k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9 // indirect
94+
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
95+
sigs.k8s.io/yaml v1.3.0 // indirect
96+
)

0 commit comments

Comments
 (0)