From d7c3fe6a20f85aa3c02018f82a35719106f594b2 Mon Sep 17 00:00:00 2001 From: Theron Voran Date: Thu, 15 Jun 2023 11:13:16 -0700 Subject: [PATCH] updating actions, k8s and go versions (#216) Go v1.20.5, k8s 1.23-1.27, alpine 3.18.2, vault 1.13.3 --- .github/workflows/build.yml | 2 +- .github/workflows/jira.yaml | 2 +- .github/workflows/tests.yaml | 12 +++++------- .go-version | 2 +- CHANGELOG.md | 6 ++++++ Dockerfile | 2 +- Makefile | 2 +- 7 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 937f533..3200aaf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup go - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: .go-version diff --git a/.github/workflows/jira.yaml b/.github/workflows/jira.yaml index 6c1aab6..0f73ec3 100644 --- a/.github/workflows/jira.yaml +++ b/.github/workflows/jira.yaml @@ -14,4 +14,4 @@ jobs: JIRA_SYNC_USER_EMAIL: ${{ secrets.JIRA_SYNC_USER_EMAIL }} JIRA_SYNC_API_TOKEN: ${{ secrets.JIRA_SYNC_API_TOKEN }} with: - teams-array: '["ecosystem", "foundations"]' \ No newline at end of file + teams-array: '["ecosystem", "foundations-eco"]' diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b9989bf..75b3963 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -3,7 +3,7 @@ name: Tests on: [push, workflow_dispatch] env: - KIND_VERSION: "v0.18.0" + KIND_VERSION: "v0.19.0" BATS_VERSION: "1.9.0" NODE_VERSION: "19.8.1" TARBALL_FILE: vault-csi-provider.docker.tar @@ -17,10 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: .go-version - cache: true - name: Install tools run: make bootstrap @@ -32,10 +31,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 + - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: .go-version - cache: true - name: Build run: | @@ -57,7 +55,7 @@ jobs: strategy: fail-fast: false matrix: - kind-k8s-version: [1.22.17, 1.23.17, 1.24.12, 1.25.8, 1.26.3] + kind-k8s-version: [1.23.17, 1.24.13, 1.25.9, 1.26.4, 1.27.2] runs-on: ubuntu-latest steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -70,7 +68,7 @@ jobs: shell: bash - name: Create Kind Cluster - uses: helm/kind-action@d8ccf8fb623ce1bb360ae2f45f323d9d5c5e9f00 # v1.5.0 + uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.7.0 with: cluster_name: kind config: test/bats/configs/kind/config.yaml diff --git a/.go-version b/.go-version index f5b00dc..7bf9455 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.20.3 +1.20.5 diff --git a/CHANGELOG.md b/CHANGELOG.md index b314e70..6d4151a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Unreleased +CHANGES: + +* Build with Go v1.20.5 +* Test with K8s 1.23-1.27 +* Updated Docker base image from alpine 3.17.3 -> 3.18.2 + # 1.4.0 (April 28th, 2023) CHANGES: diff --git a/Dockerfile b/Dockerfile index 9d449c0..09dd9d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # This Dockerfile contains multiple targets. # Use 'docker build --target= .' to build one. -ARG ALPINE_VERSION=3.17.3 +ARG ALPINE_VERSION=3.18.2 ARG GO_VERSION=latest # devbuild compiles the binary diff --git a/Makefile b/Makefile index b259025..f9d021b 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ LDFLAGS?="-X '$(PKG).BuildVersion=$(VERSION)' \ -X '$(PKG).GoVersion=$(shell go version)'" CSI_DRIVER_VERSION=1.3.2 VAULT_HELM_VERSION=0.24.1 -VAULT_VERSION=1.13.1 +VAULT_VERSION=1.13.3 GOLANGCI_LINT_FORMAT?=colored-line-number VAULT_VERSION_ARGS=--set server.image.tag=$(VAULT_VERSION)