Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Generate migrations
if: ${{ matrix.app == 'controlplane' }}
env:
ATLAS_VERSION: v0.36.0
ATLAS_VERSION: v0.35.0
run: |
wget -q https://release.ariga.io/atlas/atlas-linux-amd64-$ATLAS_VERSION -O /tmp/atlas
sudo install /tmp/atlas /usr/local/bin/atlas
Expand Down
6 changes: 3 additions & 3 deletions app/controlplane/Dockerfile.migrations
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Container image built by go-releaser that's used to run migrations against the database during deployment
# See https://atlasgo.io/guides/deploying/image
# from: arigaio/atlas:latest
# docker run arigaio/atlas@sha256:2a621eff7cc837aec47f6504f17bfc95659ad7198f6e93f4145046b831a72066 version
# atlas version v0.36.3-1fac927-canary
FROM arigaio/atlas@sha256:2a621eff7cc837aec47f6504f17bfc95659ad7198f6e93f4145046b831a72066 as base
# docker run arigaio/atlas@sha256:16739cffc8d44d04e76f58842dc12835e183fe7164d0ae55544fc8bc9fbb1e33 version
# atlas version v0.35.0
FROM arigaio/atlas@sha256:16739cffc8d44d04e76f58842dc12835e183fe7164d0ae55544fc8bc9fbb1e33 as base

FROM scratch
# Update permissions to make it readable by the user
Expand Down
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ init: init-api-tools
go install github.com/vektra/mockery/v3@v3.5.0
# using binary release for atlas, since ent schema handler is not included
# in the community version anymore https://github.com/ariga/atlas/issues/2388#issuecomment-1864287189
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.35.0 sh -s -- -y
# install golangci-lint with Go 1.25 support
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v2.4.0
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.36.0 sh -s -- -y

# initialize API tooling
.PHONY: init-api-tools
Expand Down
Loading