Skip to content

Commit

Permalink
fix: migration earthfile loads stage data when data=test
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Nov 2, 2023
1 parent 17b51d2 commit 22c6ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/event-db-migrations/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 22c6ae6

Please sign in to comment.