diff --git a/helm/chart/templates/cronjob-fixture-reset.yaml b/helm/chart/templates/cronjob-fixture-reset.yaml index e763fa4..3a36a43 100644 --- a/helm/chart/templates/cronjob-fixture-reset.yaml +++ b/helm/chart/templates/cronjob-fixture-reset.yaml @@ -30,6 +30,7 @@ spec: command: ['/bin/sh', '-c'] args: [' set -ex; + rm fixtures/prod && ln -s fixtures/test fixtures/prod; bin/console doctrine:database:drop --if-exists --force; bin/console doctrine:database:create --if-not-exists; bin/console doctrine:migrations:migrate --no-interaction; diff --git a/helm/chart/templates/fixtures-job.yaml b/helm/chart/templates/fixtures-job.yaml index 09363bb..4b258d6 100644 --- a/helm/chart/templates/fixtures-job.yaml +++ b/helm/chart/templates/fixtures-job.yaml @@ -33,6 +33,7 @@ spec: command: ['/bin/sh', '-c'] args: [' set -ex; + rm fixtures/prod && ln -s fixtures/test fixtures/prod; bin/console doctrine:database:drop --if-exists --force; bin/console doctrine:database:create --if-not-exists; bin/console doctrine:migrations:migrate --no-interaction;