Skip to content

Commit

Permalink
E2E flow in prow is working (#1101)
Browse files Browse the repository at this point in the history
* test commit

Signed-off-by: Oleksii Moskalenko <[email protected]>

* add header to shell script

Signed-off-by: Oleksii Moskalenko <[email protected]>

* fix prow config

Signed-off-by: Oleksii Moskalenko <[email protected]>
  • Loading branch information
pyalex authored Oct 27, 2020
1 parent 7ba60f0 commit 01f7316
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
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

0 comments on commit 01f7316

Please sign in to comment.