Skip to content

Commit

Permalink
Update alpine and other build dependencies (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudermanjr authored Jan 17, 2023
1 parent aa5280a commit 0c16e53
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
20 changes: 9 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ orbs:
executors:
golang-exec:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19

references:
e2e_config: &e2e_config
Expand All @@ -31,9 +31,9 @@ references:
command: |
apk --update add curl yq
cd /tmp
curl -LO https://releases.hashicorp.com/vault/1.9.7/vault_1.9.7_linux_amd64.zip
sha256sum vault_1.9.7_linux_amd64.zip | grep d312f6852cdec8d29e50b72af5d36c6890e1e8bfcbedfdb71785dfc11e907c3d
unzip vault_1.9.7_linux_amd64.zip
curl -LO https://releases.hashicorp.com/vault/1.12.2/vault_1.12.2_linux_amd64.zip
sha256sum vault_1.12.2_linux_amd64.zip | grep 116c143de377a77a7ea455a367d5e9fe5290458e8a941a6e2dd85d92aaedba67
unzip vault_1.12.2_linux_amd64.zip
mv vault /usr/bin/vault
install_circleci: &install_circleci
run:
Expand All @@ -48,7 +48,7 @@ jobs:
test:
working_directory: /home/circleci/go/src/github.com/fairwindsops/pluto
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19
steps:
- checkout
- run: go mod download && go mod verify
Expand All @@ -58,13 +58,12 @@ jobs:
resource_class: large
shell: /bin/bash
docker:
- image: goreleaser/goreleaser:v1.10.3
- image: goreleaser/goreleaser:v1.14.1
environment:
GO111MODULE: "on"
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
- setup_remote_docker
- *install_vault_alpine
- rok8s/get_vault_env:
vault_path: repo/global/env
Expand All @@ -80,11 +79,10 @@ jobs:
working_directory: /home/circleci/go/src/github.com/fairwindsops/pluto
resource_class: large
docker:
- image: goreleaser/goreleaser:v1.10.3
- image: goreleaser/goreleaser:v1.14.1
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
- setup_remote_docker
- run: goreleaser --snapshot --skip-sign
- store_artifacts:
path: dist
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16.3
FROM alpine:3.17

USER nobody
COPY pluto /
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/fairwindsops/pluto/v5

go 1.18
go 1.19

require (
github.com/mattn/go-runewidth v0.0.14 // indirect
Expand Down

0 comments on commit 0c16e53

Please sign in to comment.