From 22c6ae6a4401c26d549c87a9bea043fcfab8da89 Mon Sep 17 00:00:00 2001 From: kukkok3 <93382903+kukkok3@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:05:21 +0100 Subject: [PATCH] fix: migration earthfile loads stage data when data=test --- containers/event-db-migrations/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/event-db-migrations/Earthfile b/containers/event-db-migrations/Earthfile index afc8885937..521fc52e3c 100644 --- a/containers/event-db-migrations/Earthfile +++ b/containers/event-db-migrations/Earthfile @@ -41,11 +41,11 @@ docker: COPY --dir ../../src/event-db+build/migrations ./migrations IF [ "$data" = "historic" ] COPY --dir ../../src/event-db+build/historic_data ./historic_data + COPY ../../src/event-db+build/stage_data ./stage_data ELSE IF [ "$data" = "test" ] COPY --dir ../../src/event-db+build/test_data ./test_data END COPY ../../src/event-db+build/refinery.toml . - COPY ../../src/event-db+build/stage_data ./stage_data VOLUME /eventdb/tmp COPY ./entry.sh .