From 21d06739e21defd623f980a5c6cc1285e3023cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Galeran?= Date: Mon, 17 Jun 2024 17:32:17 +0200 Subject: [PATCH] ci: try engines from temp endpoint Related to https://github.com/prisma/team-orm/issues/1163 See similar prisma/prisma PR https://github.com/prisma/prisma/pull/24556 --- .github/workflows/optional-test.yaml | 5 ++++- .github/workflows/test.yaml | 3 +++ .../debian-buster-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker-unsupported/debian-buster-amd64-openssl-1.1.x/run.sh | 1 + .../debian-latest-arm-openssl-1.1.x/Dockerfile | 2 ++ docker-unsupported/debian-latest-arm-openssl-1.1.x/run.sh | 1 + docker/almalinux-8-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/almalinux-8-amd64-openssl-1.1.x/run.sh | 1 + docker/almalinux-8-arm64-openssl-1.1.x/Dockerfile | 2 ++ docker/almalinux-8-arm64-openssl-1.1.x/run.sh | 1 + docker/almalinux-latest-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/almalinux-latest-amd64-openssl-3.0.x/run.sh | 1 + docker/almalinux-latest-arm64-openssl-3.0.x/Dockerfile | 2 ++ docker/almalinux-latest-arm64-openssl-3.0.x/run.sh | 1 + docker/alpine-3.16-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/alpine-3.16-amd64-openssl-1.1.x/run.sh | 1 + docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/Dockerfile | 2 ++ docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/run.sh | 1 + docker/alpine-3.16-arm64-openssl-1.1.x/Dockerfile | 2 ++ docker/alpine-3.16-arm64-openssl-1.1.x/run.sh | 1 + docker/alpine-3.17-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/alpine-3.17-amd64-openssl-1.1.x/run.sh | 1 + docker/alpine-3.17-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/alpine-3.17-amd64-openssl-3.0.x/run.sh | 1 + docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/Dockerfile | 2 ++ docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/run.sh | 1 + docker/alpine-3.17-arm64-openssl-3.0.x/Dockerfile | 2 ++ docker/alpine-3.17-arm64-openssl-3.0.x/run.sh | 1 + docker/alpine-latest-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/alpine-latest-amd64-openssl-3.0.x/run.sh | 1 + docker/amazonlinux-2-amd64-openssl-1.0.x/Dockerfile | 2 ++ docker/amazonlinux-2-amd64-openssl-1.0.x/run.sh | 1 + docker/amazonlinux-2-arm64-openssl-1.0.x/Dockerfile | 2 ++ docker/amazonlinux-2-arm64-openssl-1.0.x/run.sh | 1 + docker/amazonlinux-2022-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/amazonlinux-2022-amd64-openssl-3.0.x/run.sh | 1 + docker/amazonlinux-2022-arm64-openssl-3.0.x/Dockerfile | 2 ++ docker/amazonlinux-2022-arm64-openssl-3.0.x/run.sh | 1 + docker/archlinux-latest-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/archlinux-latest-amd64-openssl-3.0.x/run.sh | 1 + docker/debian-bullseye-amd64-openssl-1.1.x-tls/Dockerfile | 2 ++ docker/debian-bullseye-amd64-openssl-1.1.x-tls/run.sh | 1 + docker/debian-bullseye-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/debian-bullseye-amd64-openssl-1.1.x/run.sh | 1 + docker/debian-buster-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/debian-buster-amd64-openssl-1.1.x/run.sh | 1 + docker/debian-latest-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/debian-latest-amd64-openssl-3.0.x/run.sh | 1 + docker/debian-latest-arm64-openssl-3.0.x/Dockerfile | 2 ++ docker/debian-latest-arm64-openssl-3.0.x/run.sh | 1 + docker/debian-stretch-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/debian-stretch-amd64-openssl-1.1.x/run.sh | 1 + docker/opensuse-tumbleweed-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/opensuse-tumbleweed-amd64-openssl-3.0.x/run.sh | 1 + docker/redhat-ubi9-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/redhat-ubi9-amd64-openssl-3.0.x/run.sh | 1 + docker/ubuntu-20.04-amd64-openssl-1.1.x/Dockerfile | 2 ++ docker/ubuntu-20.04-amd64-openssl-1.1.x/run.sh | 1 + docker/ubuntu-22.04-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/ubuntu-22.04-amd64-openssl-3.0.x/run.sh | 1 + docker/ubuntu-latest-amd64-openssl-3.0.x/Dockerfile | 2 ++ docker/ubuntu-latest-amd64-openssl-3.0.x/run.sh | 1 + docker/ubuntu-latest-arm64-openssl-3.0.x/Dockerfile | 2 ++ docker/ubuntu-latest-arm64-openssl-3.0.x/run.sh | 1 + 64 files changed, 100 insertions(+), 1 deletion(-) diff --git a/.github/workflows/optional-test.yaml b/.github/workflows/optional-test.yaml index 1e4fa439de5e..09b002529ca7 100644 --- a/.github/workflows/optional-test.yaml +++ b/.github/workflows/optional-test.yaml @@ -33,7 +33,10 @@ env: ## SLACK_WEBHOOK_URL_OPTIONAL_TESTS_SUCCESS: ${{ secrets.SLACK_WEBHOOK_URL_OPTIONAL_TESTS_SUCCESS }} SLACK_WEBHOOK_URL_OPTIONAL_TESTS_FAILING: ${{ secrets.SLACK_WEBHOOK_URL_OPTIONAL_TESTS_FAILING }} - + # Temporary override for the mirror used by the engines + PRISMA_ENGINES_MIRROR: 'https://pub-4c8d0335265c4484a8734643b596ecb2.r2.dev' + DEBUG: 'prisma:fetch-engine*' + defaults: run: # this makes windows use bash as well, which makes `... >> $GITHUB_ENV` work there diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 854626ca960b..5c8870608f50 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,6 +32,9 @@ env: SLACK_WEBHOOK_URL_FAILING: ${{ secrets.SLACK_WEBHOOK_URL_FAILING }} DATABASE_URL_POSTGRES_TEMPLATE: ${{ secrets.DATABASE_URL_POSTGRES_TEMPLATE }} NEXT_TELEMETRY_DISABLED: 1 + # Temporary override for the mirror used by the engines + PRISMA_ENGINES_MIRROR: 'https://pub-4c8d0335265c4484a8734643b596ecb2.r2.dev' + DEBUG: 'prisma:fetch-engine*' defaults: run: diff --git a/docker-unsupported/debian-buster-amd64-openssl-1.1.x/Dockerfile b/docker-unsupported/debian-buster-amd64-openssl-1.1.x/Dockerfile index fed0f491ef6f..9791059a5c89 100644 --- a/docker-unsupported/debian-buster-amd64-openssl-1.1.x/Dockerfile +++ b/docker-unsupported/debian-buster-amd64-openssl-1.1.x/Dockerfile @@ -21,12 +21,14 @@ RUN ./uname.sh # expected target platform for Prisma, retrieved by `prisma -v`. ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker-unsupported/debian-buster-amd64-openssl-1.1.x/run.sh b/docker-unsupported/debian-buster-amd64-openssl-1.1.x/run.sh index c109040bcccc..ae95f30cc266 100755 --- a/docker-unsupported/debian-buster-amd64-openssl-1.1.x/run.sh +++ b/docker-unsupported/debian-buster-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../../docker/_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker-unsupported/debian-latest-arm-openssl-1.1.x/Dockerfile b/docker-unsupported/debian-latest-arm-openssl-1.1.x/Dockerfile index ce046386d196..d1601e1fdc57 100644 --- a/docker-unsupported/debian-latest-arm-openssl-1.1.x/Dockerfile +++ b/docker-unsupported/debian-latest-arm-openssl-1.1.x/Dockerfile @@ -25,12 +25,14 @@ RUN if [ -e /usr/lib/arm-linux-gnueabihf/libssl.so.3* ]; then echo "OpenSSL 3 mu # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker-unsupported/debian-latest-arm-openssl-1.1.x/run.sh b/docker-unsupported/debian-latest-arm-openssl-1.1.x/run.sh index eb2b47eae225..c54311ed2faa 100755 --- a/docker-unsupported/debian-latest-arm-openssl-1.1.x/run.sh +++ b/docker-unsupported/debian-latest-arm-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/almalinux-8-amd64-openssl-1.1.x/Dockerfile b/docker/almalinux-8-amd64-openssl-1.1.x/Dockerfile index 0eb09ec461c6..6bb657c5272b 100644 --- a/docker/almalinux-8-amd64-openssl-1.1.x/Dockerfile +++ b/docker/almalinux-8-amd64-openssl-1.1.x/Dockerfile @@ -28,12 +28,14 @@ RUN if [ -e /lib64/libssl.so.3 ]; then echo 'OpenSSL 3 must not be installed (fo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/almalinux-8-amd64-openssl-1.1.x/run.sh b/docker/almalinux-8-amd64-openssl-1.1.x/run.sh index a0fdce102807..eda48f117d20 100755 --- a/docker/almalinux-8-amd64-openssl-1.1.x/run.sh +++ b/docker/almalinux-8-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/almalinux-8-arm64-openssl-1.1.x/Dockerfile b/docker/almalinux-8-arm64-openssl-1.1.x/Dockerfile index 0094d34a45a0..436df58c1dab 100644 --- a/docker/almalinux-8-arm64-openssl-1.1.x/Dockerfile +++ b/docker/almalinux-8-arm64-openssl-1.1.x/Dockerfile @@ -28,12 +28,14 @@ RUN if [ -e /lib64/libssl.so.3 ]; then echo 'OpenSSL 3 must not be installed (fo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/almalinux-8-arm64-openssl-1.1.x/run.sh b/docker/almalinux-8-arm64-openssl-1.1.x/run.sh index ac820688e2a4..cdbfc961d411 100755 --- a/docker/almalinux-8-arm64-openssl-1.1.x/run.sh +++ b/docker/almalinux-8-arm64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/almalinux-latest-amd64-openssl-3.0.x/Dockerfile b/docker/almalinux-latest-amd64-openssl-3.0.x/Dockerfile index 0562ef17ab9f..6a15da925b97 100644 --- a/docker/almalinux-latest-amd64-openssl-3.0.x/Dockerfile +++ b/docker/almalinux-latest-amd64-openssl-3.0.x/Dockerfile @@ -28,12 +28,14 @@ RUN if [ -e /lib64/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/almalinux-latest-amd64-openssl-3.0.x/run.sh b/docker/almalinux-latest-amd64-openssl-3.0.x/run.sh index 1cbb075a5509..d9ed777bcb7b 100755 --- a/docker/almalinux-latest-amd64-openssl-3.0.x/run.sh +++ b/docker/almalinux-latest-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/almalinux-latest-arm64-openssl-3.0.x/Dockerfile b/docker/almalinux-latest-arm64-openssl-3.0.x/Dockerfile index 22c4b938754a..b972f50939a3 100644 --- a/docker/almalinux-latest-arm64-openssl-3.0.x/Dockerfile +++ b/docker/almalinux-latest-arm64-openssl-3.0.x/Dockerfile @@ -28,12 +28,14 @@ RUN if [ -e /lib64/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/almalinux-latest-arm64-openssl-3.0.x/run.sh b/docker/almalinux-latest-arm64-openssl-3.0.x/run.sh index 5fd6acae80c1..47ebcf0cda1d 100755 --- a/docker/almalinux-latest-arm64-openssl-3.0.x/run.sh +++ b/docker/almalinux-latest-arm64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.16-amd64-openssl-1.1.x/Dockerfile b/docker/alpine-3.16-amd64-openssl-1.1.x/Dockerfile index 571a4f61aa4a..707ca48f1848 100644 --- a/docker/alpine-3.16-amd64-openssl-1.1.x/Dockerfile +++ b/docker/alpine-3.16-amd64-openssl-1.1.x/Dockerfile @@ -12,12 +12,14 @@ RUN if [ -e /lib/libssl.so.3 ]; then echo 'OpenSSL 3 must not be installed (foun # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.16-amd64-openssl-1.1.x/run.sh b/docker/alpine-3.16-amd64-openssl-1.1.x/run.sh index 76aed54f7d08..63c3d9ae7113 100755 --- a/docker/alpine-3.16-amd64-openssl-1.1.x/run.sh +++ b/docker/alpine-3.16-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/Dockerfile b/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/Dockerfile index 91c494ecb29e..c24f71ccb07b 100644 --- a/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/Dockerfile +++ b/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/Dockerfile @@ -16,12 +16,14 @@ RUN if [ ! -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 not found in /lib/lib # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-arm64-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/run.sh b/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/run.sh index 9ecf0868950d..0cccb4ba766f 100755 --- a/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/run.sh +++ b/docker/alpine-3.16-arm64-openssl-1.1.x-with-libc/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../../docker/_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.16-arm64-openssl-1.1.x/Dockerfile b/docker/alpine-3.16-arm64-openssl-1.1.x/Dockerfile index 3113fe38347c..272ec9e27fbc 100644 --- a/docker/alpine-3.16-arm64-openssl-1.1.x/Dockerfile +++ b/docker/alpine-3.16-arm64-openssl-1.1.x/Dockerfile @@ -14,12 +14,14 @@ RUN if [ ! -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 not found in /lib/lib # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-arm64-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.16-arm64-openssl-1.1.x/run.sh b/docker/alpine-3.16-arm64-openssl-1.1.x/run.sh index 18bbff0081b8..c180aa8a026c 100755 --- a/docker/alpine-3.16-arm64-openssl-1.1.x/run.sh +++ b/docker/alpine-3.16-arm64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../../docker/_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.17-amd64-openssl-1.1.x/Dockerfile b/docker/alpine-3.17-amd64-openssl-1.1.x/Dockerfile index 4b0a8dbc237d..a8c554062031 100644 --- a/docker/alpine-3.17-amd64-openssl-1.1.x/Dockerfile +++ b/docker/alpine-3.17-amd64-openssl-1.1.x/Dockerfile @@ -14,12 +14,14 @@ RUN if [ ! -e /lib/libssl.so.3 ]; then echo 'OpenSSL 3 not found in /lib/libssl. # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.17-amd64-openssl-1.1.x/run.sh b/docker/alpine-3.17-amd64-openssl-1.1.x/run.sh index 01e68acbb3c3..8db8137c5310 100755 --- a/docker/alpine-3.17-amd64-openssl-1.1.x/run.sh +++ b/docker/alpine-3.17-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.17-amd64-openssl-3.0.x/Dockerfile b/docker/alpine-3.17-amd64-openssl-3.0.x/Dockerfile index 74079deb801d..92bc18618c15 100644 --- a/docker/alpine-3.17-amd64-openssl-3.0.x/Dockerfile +++ b/docker/alpine-3.17-amd64-openssl-3.0.x/Dockerfile @@ -14,12 +14,14 @@ RUN if [ -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed ( # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.17-amd64-openssl-3.0.x/run.sh b/docker/alpine-3.17-amd64-openssl-3.0.x/run.sh index 853e2d5426fb..5ab3c8d6b889 100755 --- a/docker/alpine-3.17-amd64-openssl-3.0.x/run.sh +++ b/docker/alpine-3.17-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/Dockerfile b/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/Dockerfile index 462b83c25b10..d88f4677de68 100644 --- a/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/Dockerfile +++ b/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/Dockerfile @@ -16,12 +16,14 @@ RUN if [ -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed ( # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/run.sh b/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/run.sh index dce22fcbe678..fc1f96c4251c 100755 --- a/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/run.sh +++ b/docker/alpine-3.17-arm64-openssl-3.0.x-with-libc/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../../docker/_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-3.17-arm64-openssl-3.0.x/Dockerfile b/docker/alpine-3.17-arm64-openssl-3.0.x/Dockerfile index bbf6a2e1d64d..8c54d4be1ce9 100644 --- a/docker/alpine-3.17-arm64-openssl-3.0.x/Dockerfile +++ b/docker/alpine-3.17-arm64-openssl-3.0.x/Dockerfile @@ -14,12 +14,14 @@ RUN if [ -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed ( # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-3.17-arm64-openssl-3.0.x/run.sh b/docker/alpine-3.17-arm64-openssl-3.0.x/run.sh index 52522e824b3d..2373d2183953 100755 --- a/docker/alpine-3.17-arm64-openssl-3.0.x/run.sh +++ b/docker/alpine-3.17-arm64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../../docker/_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/alpine-latest-amd64-openssl-3.0.x/Dockerfile b/docker/alpine-latest-amd64-openssl-3.0.x/Dockerfile index 8413c231cdb3..a4e5cefa7045 100644 --- a/docker/alpine-latest-amd64-openssl-3.0.x/Dockerfile +++ b/docker/alpine-latest-amd64-openssl-3.0.x/Dockerfile @@ -12,12 +12,14 @@ RUN if [ -e /lib/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed ( # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-musl-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/alpine-latest-amd64-openssl-3.0.x/run.sh b/docker/alpine-latest-amd64-openssl-3.0.x/run.sh index 0c6026fb8e7b..6d72db638bc6 100755 --- a/docker/alpine-latest-amd64-openssl-3.0.x/run.sh +++ b/docker/alpine-latest-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/amazonlinux-2-amd64-openssl-1.0.x/Dockerfile b/docker/amazonlinux-2-amd64-openssl-1.0.x/Dockerfile index cf320c2b43ef..3ad485bd3b6a 100644 --- a/docker/amazonlinux-2-amd64-openssl-1.0.x/Dockerfile +++ b/docker/amazonlinux-2-amd64-openssl-1.0.x/Dockerfile @@ -29,12 +29,14 @@ RUN if [ -e /lib64/libssl.so.3 ]; then echo 'OpenSSL 3 must not be installed (fo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-1.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/amazonlinux-2-amd64-openssl-1.0.x/run.sh b/docker/amazonlinux-2-amd64-openssl-1.0.x/run.sh index a4be91ced966..77d3eea4d9c9 100755 --- a/docker/amazonlinux-2-amd64-openssl-1.0.x/run.sh +++ b/docker/amazonlinux-2-amd64-openssl-1.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/amazonlinux-2-arm64-openssl-1.0.x/Dockerfile b/docker/amazonlinux-2-arm64-openssl-1.0.x/Dockerfile index e3e5aeb3c75f..695e0a14a5c3 100644 --- a/docker/amazonlinux-2-arm64-openssl-1.0.x/Dockerfile +++ b/docker/amazonlinux-2-arm64-openssl-1.0.x/Dockerfile @@ -29,12 +29,14 @@ RUN if [ -e /lib64/libssl.so.3 ]; then echo 'OpenSSL 3 must not be installed (fo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-1.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/amazonlinux-2-arm64-openssl-1.0.x/run.sh b/docker/amazonlinux-2-arm64-openssl-1.0.x/run.sh index b863f86db773..4eb998cb9837 100755 --- a/docker/amazonlinux-2-arm64-openssl-1.0.x/run.sh +++ b/docker/amazonlinux-2-arm64-openssl-1.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/amazonlinux-2022-amd64-openssl-3.0.x/Dockerfile b/docker/amazonlinux-2022-amd64-openssl-3.0.x/Dockerfile index 7efde5780f69..6388e47846b5 100644 --- a/docker/amazonlinux-2022-amd64-openssl-3.0.x/Dockerfile +++ b/docker/amazonlinux-2022-amd64-openssl-3.0.x/Dockerfile @@ -25,12 +25,14 @@ RUN if [ -e /lib64/libssl.so.10 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/amazonlinux-2022-amd64-openssl-3.0.x/run.sh b/docker/amazonlinux-2022-amd64-openssl-3.0.x/run.sh index ca7842789804..aaad2df2379a 100755 --- a/docker/amazonlinux-2022-amd64-openssl-3.0.x/run.sh +++ b/docker/amazonlinux-2022-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/amazonlinux-2022-arm64-openssl-3.0.x/Dockerfile b/docker/amazonlinux-2022-arm64-openssl-3.0.x/Dockerfile index d2d28d2c6221..dcf951ed98ae 100644 --- a/docker/amazonlinux-2022-arm64-openssl-3.0.x/Dockerfile +++ b/docker/amazonlinux-2022-arm64-openssl-3.0.x/Dockerfile @@ -25,12 +25,14 @@ RUN if [ -e /lib64/libssl.so.10 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/amazonlinux-2022-arm64-openssl-3.0.x/run.sh b/docker/amazonlinux-2022-arm64-openssl-3.0.x/run.sh index 7174cbcfcb41..674bda79f9b2 100755 --- a/docker/amazonlinux-2022-arm64-openssl-3.0.x/run.sh +++ b/docker/amazonlinux-2022-arm64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/archlinux-latest-amd64-openssl-3.0.x/Dockerfile b/docker/archlinux-latest-amd64-openssl-3.0.x/Dockerfile index 9238707988c1..aeacf76f45f4 100644 --- a/docker/archlinux-latest-amd64-openssl-3.0.x/Dockerfile +++ b/docker/archlinux-latest-amd64-openssl-3.0.x/Dockerfile @@ -25,12 +25,14 @@ RUN if [ ! -e /usr/lib/libssl.so.3 ]; then echo 'OpenSSL 3 not found in /usr/lib # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/archlinux-latest-amd64-openssl-3.0.x/run.sh b/docker/archlinux-latest-amd64-openssl-3.0.x/run.sh index 6a887474191d..06887cd0bc2c 100755 --- a/docker/archlinux-latest-amd64-openssl-3.0.x/run.sh +++ b/docker/archlinux-latest-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-bullseye-amd64-openssl-1.1.x-tls/Dockerfile b/docker/debian-bullseye-amd64-openssl-1.1.x-tls/Dockerfile index ea2b8cece0a9..9891f48d577e 100644 --- a/docker/debian-bullseye-amd64-openssl-1.1.x-tls/Dockerfile +++ b/docker/debian-bullseye-amd64-openssl-1.1.x-tls/Dockerfile @@ -32,12 +32,14 @@ RUN if ! node -e 'if (process.versions.openssl.split(".")[0] < 3) process.exit(1 # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-bullseye-amd64-openssl-1.1.x-tls/run.sh b/docker/debian-bullseye-amd64-openssl-1.1.x-tls/run.sh index 75d95f1610c4..f013cc483a6c 100755 --- a/docker/debian-bullseye-amd64-openssl-1.1.x-tls/run.sh +++ b/docker/debian-bullseye-amd64-openssl-1.1.x-tls/run.sh @@ -28,6 +28,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-bullseye-amd64-openssl-1.1.x/Dockerfile b/docker/debian-bullseye-amd64-openssl-1.1.x/Dockerfile index dc4675b4ed67..09cc2e8aa5ff 100644 --- a/docker/debian-bullseye-amd64-openssl-1.1.x/Dockerfile +++ b/docker/debian-bullseye-amd64-openssl-1.1.x/Dockerfile @@ -21,12 +21,14 @@ RUN if [ -e /usr/lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.3* ]; then echo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-bullseye-amd64-openssl-1.1.x/run.sh b/docker/debian-bullseye-amd64-openssl-1.1.x/run.sh index 689d9eb861cc..a2cd6e4f3c68 100755 --- a/docker/debian-bullseye-amd64-openssl-1.1.x/run.sh +++ b/docker/debian-bullseye-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-buster-amd64-openssl-1.1.x/Dockerfile b/docker/debian-buster-amd64-openssl-1.1.x/Dockerfile index 0b36f40ea6e8..0a738708d191 100644 --- a/docker/debian-buster-amd64-openssl-1.1.x/Dockerfile +++ b/docker/debian-buster-amd64-openssl-1.1.x/Dockerfile @@ -23,12 +23,14 @@ RUN if [ -e /usr/lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.3* ]; then echo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-buster-amd64-openssl-1.1.x/run.sh b/docker/debian-buster-amd64-openssl-1.1.x/run.sh index b8892bbb3fd1..56367c459180 100755 --- a/docker/debian-buster-amd64-openssl-1.1.x/run.sh +++ b/docker/debian-buster-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-latest-amd64-openssl-3.0.x/Dockerfile b/docker/debian-latest-amd64-openssl-3.0.x/Dockerfile index 1f880bd7f8fb..3f235f6953d4 100644 --- a/docker/debian-latest-amd64-openssl-3.0.x/Dockerfile +++ b/docker/debian-latest-amd64-openssl-3.0.x/Dockerfile @@ -22,12 +22,14 @@ RUN if [ -e /usr/lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.1.1* ]; then ech # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-latest-amd64-openssl-3.0.x/run.sh b/docker/debian-latest-amd64-openssl-3.0.x/run.sh index e7574bfff6dc..acc154f94bce 100755 --- a/docker/debian-latest-amd64-openssl-3.0.x/run.sh +++ b/docker/debian-latest-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-latest-arm64-openssl-3.0.x/Dockerfile b/docker/debian-latest-arm64-openssl-3.0.x/Dockerfile index 89f42e41eaf3..3f386579f420 100644 --- a/docker/debian-latest-arm64-openssl-3.0.x/Dockerfile +++ b/docker/debian-latest-arm64-openssl-3.0.x/Dockerfile @@ -22,12 +22,14 @@ RUN if [ -e /usr/lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.1.1* ]; then ech # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-latest-arm64-openssl-3.0.x/run.sh b/docker/debian-latest-arm64-openssl-3.0.x/run.sh index 289d88483326..28a91f111652 100755 --- a/docker/debian-latest-arm64-openssl-3.0.x/run.sh +++ b/docker/debian-latest-arm64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/debian-stretch-amd64-openssl-1.1.x/Dockerfile b/docker/debian-stretch-amd64-openssl-1.1.x/Dockerfile index 2498dbd1c3ab..b14d18dfd70f 100644 --- a/docker/debian-stretch-amd64-openssl-1.1.x/Dockerfile +++ b/docker/debian-stretch-amd64-openssl-1.1.x/Dockerfile @@ -26,12 +26,14 @@ RUN if [ -e /usr/lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.3* ]; then echo # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/debian-stretch-amd64-openssl-1.1.x/run.sh b/docker/debian-stretch-amd64-openssl-1.1.x/run.sh index db7dc56cc5b2..de9e4700ff2b 100755 --- a/docker/debian-stretch-amd64-openssl-1.1.x/run.sh +++ b/docker/debian-stretch-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/Dockerfile b/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/Dockerfile index 9611ae899ca1..f142708785ab 100644 --- a/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/Dockerfile +++ b/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/Dockerfile @@ -25,12 +25,14 @@ RUN if [ -e /lib64/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/run.sh b/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/run.sh index 6a2f951098aa..9d3397c68f95 100755 --- a/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/run.sh +++ b/docker/opensuse-tumbleweed-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/redhat-ubi9-amd64-openssl-3.0.x/Dockerfile b/docker/redhat-ubi9-amd64-openssl-3.0.x/Dockerfile index d38f20416942..18d968083037 100644 --- a/docker/redhat-ubi9-amd64-openssl-3.0.x/Dockerfile +++ b/docker/redhat-ubi9-amd64-openssl-3.0.x/Dockerfile @@ -16,12 +16,14 @@ RUN if [ -e /lib64/libssl.so.1.1 ]; then echo 'OpenSSL 1.1 must not be installed # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="rhel-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/redhat-ubi9-amd64-openssl-3.0.x/run.sh b/docker/redhat-ubi9-amd64-openssl-3.0.x/run.sh index 8dc77eaf763b..09e828c08234 100755 --- a/docker/redhat-ubi9-amd64-openssl-3.0.x/run.sh +++ b/docker/redhat-ubi9-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/ubuntu-20.04-amd64-openssl-1.1.x/Dockerfile b/docker/ubuntu-20.04-amd64-openssl-1.1.x/Dockerfile index 40eac1fd0e0a..4619b303c5da 100644 --- a/docker/ubuntu-20.04-amd64-openssl-1.1.x/Dockerfile +++ b/docker/ubuntu-20.04-amd64-openssl-1.1.x/Dockerfile @@ -32,12 +32,14 @@ RUN if [ -e /lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.3* ]; then echo "Ope # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-1.1.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/ubuntu-20.04-amd64-openssl-1.1.x/run.sh b/docker/ubuntu-20.04-amd64-openssl-1.1.x/run.sh index 6f5e31c286da..7e449ab57726 100755 --- a/docker/ubuntu-20.04-amd64-openssl-1.1.x/run.sh +++ b/docker/ubuntu-20.04-amd64-openssl-1.1.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/ubuntu-22.04-amd64-openssl-3.0.x/Dockerfile b/docker/ubuntu-22.04-amd64-openssl-3.0.x/Dockerfile index b3e36ca75b74..ca6f24309586 100644 --- a/docker/ubuntu-22.04-amd64-openssl-3.0.x/Dockerfile +++ b/docker/ubuntu-22.04-amd64-openssl-3.0.x/Dockerfile @@ -32,12 +32,14 @@ RUN if [ -e /lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.1.1* ]; then echo "O # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/ubuntu-22.04-amd64-openssl-3.0.x/run.sh b/docker/ubuntu-22.04-amd64-openssl-3.0.x/run.sh index afbe4d8659ef..1109c300d048 100755 --- a/docker/ubuntu-22.04-amd64-openssl-3.0.x/run.sh +++ b/docker/ubuntu-22.04-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/ubuntu-latest-amd64-openssl-3.0.x/Dockerfile b/docker/ubuntu-latest-amd64-openssl-3.0.x/Dockerfile index 134f2ee16870..b15d46ff1e70 100644 --- a/docker/ubuntu-latest-amd64-openssl-3.0.x/Dockerfile +++ b/docker/ubuntu-latest-amd64-openssl-3.0.x/Dockerfile @@ -30,12 +30,14 @@ RUN if [ -e /lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.1.1* ]; then echo "O # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="debian-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/ubuntu-latest-amd64-openssl-3.0.x/run.sh b/docker/ubuntu-latest-amd64-openssl-3.0.x/run.sh index 79f59e09d836..195a5db73b19 100755 --- a/docker/ubuntu-latest-amd64-openssl-3.0.x/run.sh +++ b/docker/ubuntu-latest-amd64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \ diff --git a/docker/ubuntu-latest-arm64-openssl-3.0.x/Dockerfile b/docker/ubuntu-latest-arm64-openssl-3.0.x/Dockerfile index 1c9ff475cb88..54978ce8749d 100644 --- a/docker/ubuntu-latest-arm64-openssl-3.0.x/Dockerfile +++ b/docker/ubuntu-latest-arm64-openssl-3.0.x/Dockerfile @@ -30,12 +30,14 @@ RUN if [ -e /lib/${EXPECTED_UNAME_ARCH}-linux-gnu/libssl.so.1.1* ]; then echo "O # expected target platform for Prisma, retrieved by `prisma -v` ARG EXPECTED_PRISMA_TARGET_PLATFORM="linux-arm64-openssl-3.0.x" +ARG PRISMA_ENGINES_MIRROR ARG PRISMA_CLIENT_ENGINE_TYPE ARG PRISMA_CLI_QUERY_ENGINE_TYPE ARG CI ARG DEBUG ARG PRISMA_TELEMETRY_INFORMATION +ENV PRISMA_ENGINES_MIRROR=$PRISMA_ENGINES_MIRROR ENV PRISMA_CLIENT_ENGINE_TYPE=$PRISMA_CLIENT_ENGINE_TYPE ENV PRISMA_CLI_QUERY_ENGINE_TYPE=$PRISMA_CLI_QUERY_ENGINE_TYPE ENV CI=$CI diff --git a/docker/ubuntu-latest-arm64-openssl-3.0.x/run.sh b/docker/ubuntu-latest-arm64-openssl-3.0.x/run.sh index b2fc87bd6728..629662cd7778 100755 --- a/docker/ubuntu-latest-arm64-openssl-3.0.x/run.sh +++ b/docker/ubuntu-latest-arm64-openssl-3.0.x/run.sh @@ -12,6 +12,7 @@ docker buildx build --load \ --build-context utils=../_utils \ --build-arg DEBUG=${DEBUG} \ --build-arg PRISMA_TELEMETRY_INFORMATION="${PRISMA_TELEMETRY_INFORMATION}" \ + --build-arg PRISMA_ENGINES_MIRROR=${PRISMA_ENGINES_MIRROR} \ --build-arg PRISMA_CLIENT_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg PRISMA_CLI_QUERY_ENGINE_TYPE=${PRISMA_CLIENT_ENGINE_TYPE} \ --build-arg CI=${CI} \