Skip to content

Commit

Permalink
Upgrade Go from 1.14 to 1.21
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 626465121
Change-Id: I01801b7957f67be4d26f4311d70c5949d5825fb6
  • Loading branch information
Google Cloud Healthcare Team authored and copybara-github committed Apr 19, 2024
1 parent dc2dc95 commit 83ba5ac
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.21
id: go

- name: Check out code into the Go module directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.21
id: go

- name: Check out code into the Go module directory
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

[Full Changelog](https://github.com/GoogleCloudPlatform/healthcare-federated-access-services/compare/v0.9.11...v0.9.12)

**Migration**

* Upgrade jose dependency from v2 to v3.
* Upgrade GO version to 1.21: need rebuild all images, includes base image for GAE and Hydra image for GKE.

**Highlight Updates**

* [Fix create idp on IC not saving to storage issue](https://github.com/GoogleCloudPlatform/healthcare-federated-access-services/issues/51)
Expand Down
2 changes: 1 addition & 1 deletion deploy/build-gke-templates/hydra-ic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster
FROM golang:1.21-bullseye

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion deploy/build-gke-templates/ic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster
FROM golang:1.21-bullseye

# Copy IC
COPY . /hcls-fa
Expand Down
2 changes: 1 addition & 1 deletion deploy/build-gke-templates/icdemo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster
FROM golang:1.21-bullseye

# Copy IC
COPY . /hcls-fa
Expand Down
2 changes: 1 addition & 1 deletion deploy/build-templates/damdemo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster AS build
FROM golang:1.21-bullseye AS build

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion deploy/build-templates/hydra/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster
FROM golang:1.21-bullseye

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion deploy/build-templates/icdemo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster AS build
FROM golang:1.21-bullseye AS build

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion deploy/build-templates/personas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.1-buster AS build
FROM golang:1.21-bullseye AS build

WORKDIR /

Expand Down

0 comments on commit 83ba5ac

Please sign in to comment.