Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E flow in prow is working #1101

Merged
merged 3 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ presubmits:

- name: test-end-to-end
decorate: true
always: true
always_run: true
spec:
containers:
- image: gcr.io/kf-feast/feast-ci:latest
Expand All @@ -167,15 +167,15 @@ presubmits:

- name: test-end-to-end-gcp
decorate: true
always: true
always_run: true
spec:
containers:
- image: gcr.io/kf-feast/feast-ci:latest
command: [ "infra/scripts/test-end-to-end-gcp.sh" ]
resources:
requests:
cpu: "6"
memory: "6144Mi"
resources:
requests:
cpu: "6"
memory: "6144Mi"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/gcloud/service-account.json
Expand Down
8 changes: 5 additions & 3 deletions infra/scripts/test-end-to-end-gcp.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

export DISABLE_SERVICE_FIXTURES=1

apt-get update && apt-get install -y redis-server postgresql libpq-dev
Expand All @@ -9,6 +11,6 @@ make install-python
python -m pip install -qr tests/requirements.txt

su -p postgres -c "PATH=$PATH HOME=/tmp pytest tests/e2e/ \
--feast-version develop --env=gcloud --dataproc-cluster-name feast-e2e \
--dataproc-project kf-feast --dataproc-region us-central1 \
--redis-url 10.128.0.105:6379 --redis-cluster --kafka-brokers 10.128.0.103:9094"
--feast-version develop --env=gcloud --dataproc-cluster-name feast-e2e \
--dataproc-project kf-feast --dataproc-region us-central1 \
--redis-url 10.128.0.105:6379 --redis-cluster --kafka-brokers 10.128.0.103:9094"
2 changes: 2 additions & 0 deletions infra/scripts/test-end-to-end.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

apt-get update && apt-get install -y redis-server postgresql libpq-dev

make build-java-no-tests REVISION=develop
Expand Down