Skip to content

Commit 4047277

Browse files
authored
Upgrade Go to 1.25.5 and Atlas to v0.38.1 (#2599)
Signed-off-by: Miguel Martinez <[email protected]>
1 parent b2c973d commit 4047277

File tree

14 files changed

+24
-16
lines changed

14 files changed

+24
-16
lines changed

.claude/skills/upgrading-golang/SKILL.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ FROM arigaio/atlas@sha256:NEW_DIGEST as base
9999

100100
**7c. Update `./common.mk` for `make init`:**
101101

102+
**IMPORTANT**: Before updating the version in common.mk, ALWAYS test that the Atlas version is available via the curl command:
103+
104+
```bash
105+
curl -sSf https://atlasgo.sh | ATLAS_VERSION=vX.XX.X sh -s -- --version
106+
```
107+
108+
If the command fails or the version is not available, do NOT update common.mk. Only the Docker image should be updated in this case.
109+
102110
Update the Atlas CLI installation version in the `init` target:
103111

104112
Pattern to replace:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
5050
with:
51-
go-version: "1.25.3"
51+
go-version: "1.25.5"
5252

5353
# Initializes the CodeQL tools for scanning.
5454
- name: Initialize CodeQL

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
2828
with:
29-
go-version: "1.25.3"
29+
go-version: "1.25.5"
3030

3131
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3232

@@ -67,7 +67,7 @@ jobs:
6767
6868
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
6969
with:
70-
go-version: "1.25.3"
70+
go-version: "1.25.5"
7171

7272
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
7373

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Set up Go
8080
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
8181
with:
82-
go-version: "1.25.3"
82+
go-version: "1.25.5"
8383

8484
# install qemu binaries for multiarch builds (needed by goreleaser/buildx)
8585
- name: Setup qemu

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2828
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
2929
with:
30-
go-version: "1.25.3"
30+
go-version: "1.25.5"
3131
cache: true
3232
cache-dependency-path: go.sum
3333

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ make migration_lint # Lint migration files
135135

136136
## Key Technologies
137137

138-
- **Language**: Go 1.25.3
138+
- **Language**: Go 1.25.5
139139
- **API**: gRPC with HTTP/JSON gateway, Protocol Buffers with buf
140140
- **Database**: PostgreSQL with Ent ORM, Atlas for migrations
141141
- **Authentication**: OIDC, JWT tokens

app/artifact-cas/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.3@sha256:6bac879c5b77e0fc9c556a5ed8920e89dab1709bd510a854903509c828f67f96 AS builder
1+
FROM golang:1.25.5@sha256:20b91eda7a9627c127c0225b0d4e8ec927b476fa4130c6760928b849d769c149 AS builder
22

33
# Not linked libraries since it will be injected into a scratch container
44
ENV CGO_ENABLED=0

app/artifact-cas/Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.3@sha256:6bac879c5b77e0fc9c556a5ed8920e89dab1709bd510a854903509c828f67f96 AS builder
1+
FROM golang:1.25.5@sha256:20b91eda7a9627c127c0225b0d4e8ec927b476fa4130c6760928b849d769c149 AS builder
22

33
FROM scratch
44

app/cli/Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.3@sha256:6bac879c5b77e0fc9c556a5ed8920e89dab1709bd510a854903509c828f67f96 AS builder
1+
FROM golang:1.25.5@sha256:20b91eda7a9627c127c0225b0d4e8ec927b476fa4130c6760928b849d769c149 AS builder
22
RUN mkdir -p /.config/chainloop
33

44
FROM scratch

app/controlplane/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.3@sha256:6bac879c5b77e0fc9c556a5ed8920e89dab1709bd510a854903509c828f67f96 AS builder
1+
FROM golang:1.25.5@sha256:20b91eda7a9627c127c0225b0d4e8ec927b476fa4130c6760928b849d769c149 AS builder
22

33
# Not linked libraries since it will be injected into a scratch container
44
ENV CGO_ENABLED=0

0 commit comments

Comments
 (0)