Skip to content

Commit

Permalink
[CHORE] Mount provision.py for iceberg integration tests (#2232)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay Chia <[email protected]@users.noreply.github.com>
  • Loading branch information
jaychia and Jay Chia authored May 5, 2024
1 parent 30591eb commit 9c62637
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/iceberg/docker-compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ RUN pip3 install -q ipython
RUN pip3 install "pyiceberg[s3fs]==${PYICEBERG_VERSION}"

COPY entrypoint.sh .
COPY provision.py .

# Mount provision.py into the container instead of baking it in
# COPY provision.py .

ENTRYPOINT ["./entrypoint.sh"]
CMD ["notebook"]
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ services:
- minio
volumes:
- ./warehouse:/home/iceberg/warehouse
- ./provision.py:/opt/spark/provision.py
environment:
- AWS_ACCESS_KEY_ID=admin
- AWS_SECRET_ACCESS_KEY=password
Expand Down

0 comments on commit 9c62637

Please sign in to comment.