diff --git a/.circleci/config.yml b/.circleci/config.yml index cfc56d63498..7225961ad0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,9 @@ version: 2.1 orbs: changelog: ory/changelog@0.1.10 - goreleaser: ory/goreleaser@0.1.34 + goreleaser: ory/goreleaser@0.1.36 slack: circleci/slack@3.4.2 - sdk: ory/sdk@0.1.51 + sdk: ory/sdk@0.1.52 docs: ory/docs@0.0.12 nancy: ory/nancy@0.0.19 golangci: ory/golangci@0.0.18 diff --git a/test/e2e/run.sh b/test/e2e/run.sh index fa9e77dd08a..9a30b9fd87e 100755 --- a/test/e2e/run.sh +++ b/test/e2e/run.sh @@ -20,7 +20,7 @@ export DEV_DISABLE_API_FLOW_ENFORCEMENT=true if [ -z ${TEST_DATABASE_POSTGRESQL+x} ]; then docker rm -f kratos_test_database_mysql kratos_test_database_postgres kratos_test_database_cockroach || true - docker run --name kratos_test_database_mysql -p 3444:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:5.7 + docker run --platform linux/amd64 --name kratos_test_database_mysql -p 3444:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:5.7 docker run --name kratos_test_database_postgres -p 3445:5432 -e POSTGRES_PASSWORD=secret -e POSTGRES_DB=postgres -d postgres:9.6 postgres -c log_statement=all docker run --name kratos_test_database_cockroach -p 3446:26257 -d cockroachdb/cockroach:v20.2.4 start-single-node --insecure @@ -95,6 +95,7 @@ run() { ( cd "$rn_ui_dir" + npm i -g expo-cli WEB_PORT=4457 KRATOS_URL=http://localhost:4433 npm run web -- --non-interactive \ >"${base}/test/e2e/rn-profile-app.e2e.log" 2>&1 & ) @@ -155,14 +156,14 @@ run() { if [ -z ${REACT_UI_PATH+x} ]; then ( cd "$react_ui_dir" - NEXT_PUBLIC_ORY_KRATOS_PUBLIC=http://localhost:4433 npm run build - NEXT_PUBLIC_ORY_KRATOS_PUBLIC=http://localhost:4433 npm run start -- --port 4458 \ + ORY_KRATOS_URL=http://localhost:4433 npm run build + ORY_KRATOS_URL=http://localhost:4433 npm run start -- --port 4458 \ >"${base}/test/e2e/react-iu.e2e.log" 2>&1 & ) else ( cd "$react_ui_dir" - PORT=4458 NEXT_PUBLIC_ORY_KRATOS_PUBLIC=http://localhost:4433 npm run dev \ + PORT=4458 ORY_KRATOS_URL=http://localhost:4433 npm run dev \ >"${base}/test/e2e/react-iu.e2e.log" 2>&1 & ) fi