You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardexpand all lines: docs/cicd/README.md
+16-8
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,36 @@
1
1
# FarFetch CI setup
2
2
3
-
The CI setup ensures that PRs on GitHub are automatically tested before being merging to *master*. The CI jobs defined under
4
-
5
-
[.github/workflows]: ../../.github/workflows
6
-
7
-
run compilation, unit and end-to-end tests using GitHub Workflows.
3
+
The CI setup ensures that PRs on GitHub are automatically tested before being merging to *master*. The CI jobs defined under [.github/workflows](../../.github/workflows) run compilation, unit and end-to-end tests using GitHub Workflows.
8
4
9
5
## Agent configuration
10
6
11
7
1. Spin an Azure VM with Ubuntu 18.04. Choose e.g. a B4ms instance (burstable VM with 4 cores)
Upgrade **Git** to a more recent version to ensure repos are properly checked out including `.git` directory (used by Python SDK setup.py):
27
+
28
+
```
29
+
sudo add-apt-repository ppa:git-core/ppa -y
30
+
sudo apt-get update
31
+
sudo apt-get install git -y
32
+
```
33
+
24
34
3. Follow the actions to [add a self-hosted runner to your repository](https://help.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners)
25
35
4. Follow the actions to [configure the self-hosted runner as a service](https://help.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service)
26
36
@@ -38,7 +48,7 @@ Once the ACR instance is deployed, fetch the password from the Access keys secti
38
48
39
49
Populate the GitHub secrets settings with the ACR configuration:
40
50
41
-

51
+

42
52
43
53
- CONTAINERREGISTRY_IMAGENAMEBASE=farfetchfeast
44
54
- CONTAINERREGISTRY_PASSWORD=<ACRpassword>
@@ -50,5 +60,3 @@ Populate the GitHub secrets settings with the ACR configuration:
50
60
The integration test job deploys the application components using Docker-compose. Later on, it will be extended to run end-to-end test scenarios.
0 commit comments