From 43e4624b86c5a2a71955e6604f2b2f5c7de1223f Mon Sep 17 00:00:00 2001 From: Oleksii Moskalenko Date: Tue, 27 Oct 2020 17:21:38 +0800 Subject: [PATCH 1/3] test commit Signed-off-by: Oleksii Moskalenko --- infra/scripts/test-end-to-end-gcp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/scripts/test-end-to-end-gcp.sh b/infra/scripts/test-end-to-end-gcp.sh index 56e43fa042..4deb0ad8ec 100755 --- a/infra/scripts/test-end-to-end-gcp.sh +++ b/infra/scripts/test-end-to-end-gcp.sh @@ -9,6 +9,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" From ad522d51eecb96338601ae6dd7cd5e226de26d34 Mon Sep 17 00:00:00 2001 From: Oleksii Moskalenko Date: Tue, 27 Oct 2020 17:32:52 +0800 Subject: [PATCH 2/3] add header to shell script Signed-off-by: Oleksii Moskalenko --- infra/scripts/test-end-to-end-gcp.sh | 2 ++ infra/scripts/test-end-to-end.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/infra/scripts/test-end-to-end-gcp.sh b/infra/scripts/test-end-to-end-gcp.sh index 4deb0ad8ec..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 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 From ff2a0f6620640f80c5b28008566c07ef1ea73f1e Mon Sep 17 00:00:00 2001 From: Oleksii Moskalenko Date: Tue, 27 Oct 2020 17:54:17 +0800 Subject: [PATCH 3/3] fix prow config Signed-off-by: Oleksii Moskalenko --- .prow/config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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