Skip to content

Commit

Permalink
Update golang version in schema-migrator (#3465)
Browse files Browse the repository at this point in the history
* Update golang version in schema-migrator

* Test

* Test

* Test

* Test

* Test

* Cleanup
  • Loading branch information
MarekMichali authored Aug 29, 2024
1 parent 45c3747 commit 5e04f50
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/schema-migrator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.2-alpine3.15 AS build
FROM golang:1.21 AS build

COPY cleaner /program/cleaner
COPY go.mod /program/go.mod
Expand Down
2 changes: 1 addition & 1 deletion components/schema-migrator/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kyma-project/control-plane/components/schema-migrator

go 1.19
go 1.21

require (
github.com/golang-migrate/migrate/v4 v4.15.2
Expand Down
1 change: 0 additions & 1 deletion components/schema-migrator/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ trap cleanup EXIT
echo -e "${GREEN}Create network${NC}"
docker network create --driver bridge ${NETWORK}

GO111MODULE=on go mod vendor -v
docker build -t ${IMG_NAME} ./

echo -e "${GREEN}Start Postgres in detached mode${NC}"
Expand Down

0 comments on commit 5e04f50

Please sign in to comment.