From 25cd6c1b46e05d60d41aebcae97e7ae6cec4c17e Mon Sep 17 00:00:00 2001 From: Akash Rungta Date: Wed, 23 Oct 2024 12:02:50 -0700 Subject: [PATCH] Update go version (#323) * Update go version * Update go version --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/integration-test.yml | 2 +- CONTRIBUTING.md | 2 +- Dockerfile | 2 +- go.mod | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6cffed..6518564 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: 1.19 - name: checkout uses: actions/checkout@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8893a1d..fc5588d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: 1.19 - name: Build image run: make docker-build diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index caae758..4214f55 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: 1.19 - name: Set up env run: source ~/.bashrc - name: Start clean diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd94888..3fdd9f6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,7 +58,7 @@ make clean In order to build and run locally: -* Make sure to have `kubectl` [installed](https://kubernetes.io/docs/tasks/tools/install-kubectl/), at least version `1.17` or above. +* Make sure to have `kubectl` [installed](https://kubernetes.io/docs/tasks/tools/install-kubectl/), at least version `1.19` or above. * Make sure to have `kind` [installed](https://kind.sigs.k8s.io/docs/user/quick-start/#installation). * Make sure, you have access to AWS Cloud Map. As per exercise below, AWS Cloud Map namespace `example` of the type [HttpNamespace](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateHttpNamespace.html) will be automatically created. diff --git a/Dockerfile b/Dockerfile index 130b3a4..1f742f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.17 as builder +FROM golang:1.19 as builder WORKDIR /workspace diff --git a/go.mod b/go.mod index 88ff87a..9b3fc08 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aws/aws-cloud-map-mcs-controller-for-k8s -go 1.17 +go 1.19 require ( github.com/aws/aws-sdk-go-v2 v1.18.1