Skip to content

Commit

Permalink
use old seed mount (airbytehq#4413)
Browse files Browse the repository at this point in the history
  • Loading branch information
subodh1810 authored Jun 29, 2021
1 parent 1d91d88 commit 0e194fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions airbyte-server/seed.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.4 AS seed

WORKDIR /
WORKDIR /app

# the sole purpose of this image is to seed the data volume with the default data
# that the app should have when it is first installed.
COPY build/resources/main/config latest_seeds/config
COPY build/resources/main/config seed/config
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
# Pre-populate the volume if it is empty.
# See: https://docs.docker.com/storage/volumes/#populate-a-volume-using-a-container
volumes:
- data:/latest_seeds
- data:/app/seed
server:
image: airbyte/server:dev
logging: *default-logging
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
# Pre-populate the volume if it is empty.
# See: https://docs.docker.com/storage/volumes/#populate-a-volume-using-a-container
volumes:
- data:/latest_seeds
- data:/app/seed
scheduler:
image: airbyte/scheduler:${VERSION}
logging: *default-logging
Expand Down
2 changes: 1 addition & 1 deletion kube/resources/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ spec:
args:
[
"-c",
"mkdir -p /configs/config && yes n | cp -r -i /latest_seeds/config /configs",
"mkdir -p /configs/config && yes n | cp -r -i /app/seed/config /configs",
]
volumeMounts:
- name: airbyte-volume-configs
Expand Down

0 comments on commit 0e194fb

Please sign in to comment.