From 01f731604cc6858510ce403c297ccfe1bc443ea4 Mon Sep 17 00:00:00 2001 From: Oleksii Moskalenko Date: Tue, 27 Oct 2020 22:10:26 +0800 Subject: [PATCH] E2E flow in prow is working (#1101) * test commit Signed-off-by: Oleksii Moskalenko * add header to shell script Signed-off-by: Oleksii Moskalenko * fix prow config Signed-off-by: Oleksii Moskalenko --- .prow/config.yaml | 12 ++++++------ infra/scripts/test-end-to-end-gcp.sh | 8 +++++--- infra/scripts/test-end-to-end.sh | 2 ++ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.prow/config.yaml b/.prow/config.yaml index 27ed21a5fd..717831c0ae 100644 --- a/.prow/config.yaml +++ b/.prow/config.yaml @@ -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 @@ -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 diff --git a/infra/scripts/test-end-to-end-gcp.sh b/infra/scripts/test-end-to-end-gcp.sh index 56e43fa042..20f628bfed 100755 --- a/infra/scripts/test-end-to-end-gcp.sh +++ b/infra/scripts/test-end-to-end-gcp.sh @@ -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 @@ -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" \ No newline at end of file + --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" diff --git a/infra/scripts/test-end-to-end.sh b/infra/scripts/test-end-to-end.sh index 2867a9764b..127ea47433 100755 --- a/infra/scripts/test-end-to-end.sh +++ b/infra/scripts/test-end-to-end.sh @@ -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