Skip to content

Commit e0596df

Browse files
authoredFeb 13, 2025··
chore(atlas): Upgrade atlas version (#1811)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent e263443 commit e0596df

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 

‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Generate migrations
4343
if: ${{ matrix.app == 'controlplane' }}
4444
env:
45-
ATLAS_VERSION: v0.30.0
45+
ATLAS_VERSION: v0.31.1-647df7a-canary
4646
run: |
4747
wget -q https://release.ariga.io/atlas/atlas-linux-amd64-$ATLAS_VERSION -O /tmp/atlas
4848
sudo install /tmp/atlas /usr/local/bin/atlas

‎app/controlplane/Dockerfile.migrations

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Container image built by go-releaser that's used to run migrations against the database during deployment
22
# See https://atlasgo.io/guides/deploying/image
3-
# Current version v0.31.0
4-
FROM arigaio/atlas@sha256:05d435f32c7d732abad12e2b4fdb8c952fe695a7fb2aa41a974048c7313ceb1d as base
3+
# Current version v0.31.1-647df7a-canary
4+
# Until a v0.31.1 release is available
5+
FROM arigaio/atlas@sha256:03171af017c334919bb25a22e92390f810db30805de1f5e12460702e45c296ef as base
56

67
FROM scratch
78
# Update permissions to make it readable by the user

‎common.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ init: init-api-tools
77
go install github.com/vektra/mockery/v2@v2.43.2
88
# using binary release for atlas, since ent schema handler is not included
99
# in the community version anymore https://github.com/ariga/atlas/issues/2388#issuecomment-1864287189
10-
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.27.0 sh -s -- -y
10+
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.31.1-647df7a-canary sh -s -- -y
1111

1212
# initialize API tooling
1313
.PHONY: init-api-tools

0 commit comments

Comments
 (0)
Please sign in to comment.