From bd2bd67de75f6b1c57262c6d0f867879ed1bfe62 Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Mon, 4 Sep 2023 21:13:31 +0200 Subject: [PATCH] add debug --- .editorconfig | 2 +- .github/workflows/ci.yaml | 8 ++++++++ bin/setup.sh | 2 +- configurator/Dockerfile | 4 +++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index b58e62255..75b707275 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,7 +27,7 @@ trim_trailing_whitespace = false [*.sh] indent_size = 2 -[.github/workflows/*.yml] +[.github/workflows/*.{yaml,yml}] indent_style = space indent_size = 2 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index baeb98e63..5f242462e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,14 @@ jobs: target: keycloak secrets: inherit + build_configurator: + name: 'Build Configurator' + uses: ./.github/workflows/build_base.yaml + with: + image: configurator + context: ./configurator + secrets: inherit + build_php-fpm-base: name: 'Build php-fpm-base' uses: ./.github/workflows/build_base.yaml diff --git a/bin/setup.sh b/bin/setup.sh index 198731dce..56431f2e1 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -108,6 +108,6 @@ COMPOSE_PROFILES="${COMPOSE_PROFILES},setup" docker compose run --rm -T --entryp docker compose restart keycloak docker compose run --rm dockerize -wait http://keycloak:8080 -timeout 200s -docker compose run --rm configurator +docker compose run --rm configurator configure -vvv echo "Done." diff --git a/configurator/Dockerfile b/configurator/Dockerfile index 93e0e9376..2ac3dd08d 100644 --- a/configurator/Dockerfile +++ b/configurator/Dockerfile @@ -12,4 +12,6 @@ RUN composer install --prefer-dist --no-dev --no-progress --classmap-authoritati && composer clear-cache \ && chown -R app: . -CMD ["bin/console", "configure"] +ENTRYPOINT ["bin/console"] + +CMD ["configure"]