Skip to content

Commit

Permalink
Merge pull request #6 from Conjur-Enterprise/update-go
Browse files Browse the repository at this point in the history
CONJSE-1842: Update to Go 1.22
  • Loading branch information
szh authored and GitHub Enterprise committed Mar 28, 2024
2 parents 9965389 + 253a535 commit ee65ec8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.6.7] - 2024-03-25

### Changed
- Upgrade Go to 1.22 (CONJSE-1842)

## [0.6.6] - 2023-06-21
### Security
- Updated golang.org/x/sys to v0.8.0 and golang.org/x/text to v0.9.0
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ FROM goreleaser/goreleaser
ADD build_ca_certificate /usr/local/share/ca-certificates/
RUN update-ca-certificates

# Use newer version of Go if version in go.mod is higher
# than the one in the goreleaser image
ENV GOTOOLCHAIN=auto

# Workaround for CVE-2022-24765 when running git inside a docker container
RUN git config --global --add safe.directory /terraform-provider-conjur
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_and_package_binaries() {
echo "> Building and packaging binaries"
docker compose run --rm \
--entrypoint goreleaser \
goreleaser release --rm-dist --skip-validate
goreleaser release --clean --skip=validate

# Needed for testing stages
goos='linux' # uname -s | tr '[:upper:]' '[:lower:]'
Expand Down
3 changes: 1 addition & 2 deletions demo/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
conjur:
image: registry.tld/conjur-appliance-cuke-master:5.0-stable
Expand All @@ -9,7 +8,7 @@ services:
- "4443:443"

# cli:
# image: cyberark/conjur-cli:5
# image: cyberark/conjur-cli:8
# volumes:
# - .:/demo

1 change: 0 additions & 1 deletion docker-compose.enterprise.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
conjur-server:
image: registry.tld/conjur-appliance:5.0-stable
Expand Down
1 change: 0 additions & 1 deletion docker-compose.oss.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
database:
image: postgres:10
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
client:
image: cyberark/conjur-cli:5
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/cyberark/terraform-provider-conjur

go 1.22.1

require (
github.com/cyberark/conjur-api-go v0.10.1
github.com/hashicorp/terraform-plugin-sdk/v2 v2.23.0
Expand Down Expand Up @@ -49,8 +51,6 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
)

go 1.19

// Security fixes to ensure we don't have old vulnerable packages in our
// dependency tree. We're often not vulnerable, but removing them to ensure
// we never end up selecting them when other dependencies change.
Expand Down

0 comments on commit ee65ec8

Please sign in to comment.