forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run end-2-end tests in GitHub Actions CI (feast-dev#6)
Uses docker-compose to deploy alongside with Feast (Core, Kafka, PostgreSQL) containers, a CI container that runs end-to-end tests. As docker-compose runs the container in the same network, it can access the other containers directly through the docker network. With this PR we run a single basic integration test for Feast Core only, to validate the concept. Later on we will try to also deploy the serving container, and run more end-to-end tests.
- Loading branch information
Showing
7 changed files
with
140 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ARG FEAST_CI_IMAGE | ||
|
||
FROM ${FEAST_CI_IMAGE} | ||
|
||
WORKDIR /feast | ||
|
||
COPY Makefile . | ||
COPY protos protos | ||
COPY sdk/python sdk/python | ||
|
||
# Compile feast.core Python protobuf module | ||
# FIXME this is redundant with infra/docker/ci/Dockerfile | ||
RUN make compile-protos-python | ||
|
||
# Install Feast Python SDK and test requirements | ||
|
||
COPY tests/e2e/requirements.txt tests/e2e/requirements.txt | ||
COPY README.md README.md | ||
|
||
# setup.py in sdk/python grabs the version number from the .git | ||
# files, but we don't want to COPY .git so as to maximize | ||
# layer reuse. Fool it by initialize an empty .git repository. | ||
RUN git init . | ||
|
||
RUN pip install -qe sdk/python && \ | ||
pip install -qr tests/e2e/requirements.txt |