Skip to content

Commit

Permalink
Update to Go 1.17
Browse files Browse the repository at this point in the history
Closes #527.
  • Loading branch information
michaelsauter committed May 30, 2022
1 parent bb8b8f2 commit 15a0555
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ listed in the changelog.
- Display both version and Git commit SHA in `artifact-download -version` ([#507](https://github.com/opendevstack/ods-pipeline/issues/507))
- Add more context to Bitbucket client errors ([#515](https://github.com/opendevstack/ods-pipeline/issues/515))
- Update skopeo to 1.6, buildah to 1.24 and git to 2.31 ([#519](https://github.com/opendevstack/ods-pipeline/issues/519))
- Update Go to 1.17 ([#528](https://github.com/opendevstack/ods-pipeline/issues/528))

### Fixed
- Pipelines fail in clusters with private / self-signed certificates ([#518](https://github.com/opendevstack/ods-pipeline/issues/518))
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.buildah
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.finish
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.go-toolset
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.helm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.pipeline-manager
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.sonar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.start
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 AS builder

ARG TARGETARCH
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down
2 changes: 1 addition & 1 deletion docs/design/software-design-specification.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ For all repositories in scope, the artifacts in the corresponding groups in Nexu

| SDS-EXT-25
| Go Toolset for UBI 8
| 1.16.12
| 1.17.7
| go-toolset available as a container is a base platform for building and running various Go applications and frameworks. It is maintained by Red Hat and updated regularly.
| https://catalog.redhat.com/software/containers/ubi8/go-toolset/5ce8713aac3db925c03774d1

Expand Down
56 changes: 54 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module github.com/opendevstack/pipeline

go 1.16
go 1.17

require (
github.com/aws/aws-sdk-go v1.37.1 // indirect
github.com/google/go-cmp v0.5.6
github.com/google/go-github/v42 v42.0.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
Expand All @@ -16,3 +15,56 @@ require (
knative.dev/pkg v0.0.0-20210331065221-952fdd90dbb0
sigs.k8s.io/yaml v1.2.0
)

require (
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/aws/aws-sdk-go v1.37.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful v2.15.0+incompatible // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-logr/logr v0.4.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/spec v0.20.2 // indirect
github.com/go-openapi/swag v0.19.13 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.0 // indirect
github.com/google/go-containerregistry v0.4.1-0.20210128200529-19c2b639fab1 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gnostic v0.5.3 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/imdario/mergo v0.3.9 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opencensus.io v0.23.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.5.0 // indirect
go.uber.org/zap v1.16.0 // indirect
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013 // indirect
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gomodules.xyz/jsonpatch/v2 v2.1.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/evanphx/json-patch.v4 v4.9.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/klog v1.0.0 // indirect
k8s.io/klog/v2 v2.9.0 // indirect
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 // indirect
k8s.io/utils v0.0.0-20210111153108-fddb29f9d009 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
)

0 comments on commit 15a0555

Please sign in to comment.