From 8eee78da164c7d9958171ebbd5765c2204067226 Mon Sep 17 00:00:00 2001 From: Andy Thompson Date: Wed, 22 Feb 2023 16:33:28 +0000 Subject: [PATCH] Add skeleton config/bundles.php after composer install to preserve it --- .../skeleton/config/{bundles.php => bundles.harness.php} | 0 src/akeneo/harness.yml | 1 + 2 files changed, 1 insertion(+) rename src/akeneo/application/skeleton/config/{bundles.php => bundles.harness.php} (100%) diff --git a/src/akeneo/application/skeleton/config/bundles.php b/src/akeneo/application/skeleton/config/bundles.harness.php similarity index 100% rename from src/akeneo/application/skeleton/config/bundles.php rename to src/akeneo/application/skeleton/config/bundles.harness.php diff --git a/src/akeneo/harness.yml b/src/akeneo/harness.yml index dc2b297b4..9ed49d564 100644 --- a/src/akeneo/harness.yml +++ b/src/akeneo/harness.yml @@ -85,6 +85,7 @@ attributes: - task assets:dump init: steps: + - "! [ -e config/bundles.harness.php ] || run mv config/bundles.harness.php config/bundles.php" - passthru bin/console doctrine:migrations:migrate --no-interaction --allow-no-migration - task http:wait "${ELASTICSEARCH_URL:-${ELASTICSEARCH_SCHEME:-http}://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}}" ${ELASTICSEARCH_USERNAME:+--user "${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"} - run bin/console akeneo:elasticsearch:reset-indexes --no-interaction