Skip to content
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
30 changes: 15 additions & 15 deletions .prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ presubmits:
spec:
containers:
- image: maven:3.6-jdk-8
command: [".prow/scripts/test-core-ingestion.sh"]
command: ["infra/scripts/test-core-ingestion.sh"]
resources:
requests:
cpu: "1000m"
Expand All @@ -81,39 +81,39 @@ presubmits:
spec:
containers:
- image: maven:3.6-jdk-8
command: [".prow/scripts/test-serving.sh"]
command: ["infra/scripts/test-serving.sh"]

- name: test-java-sdk
decorate: true
always_run: true
spec:
containers:
- image: maven:3.6-jdk-8
command: [".prow/scripts/test-java-sdk.sh"]
command: ["infra/scripts/test-java-sdk.sh"]

- name: test-python-sdk
decorate: true
always_run: true
spec:
containers:
- image: python:3.7
command: [".prow/scripts/test-python-sdk.sh"]
command: ["infra/scripts/test-python-sdk.sh"]

- name: test-golang-sdk
decorate: true
always_run: true
spec:
containers:
- image: golang:1.13
command: [".prow/scripts/test-golang-sdk.sh"]
command: ["infra/scripts/test-golang-sdk.sh"]

- name: test-end-to-end
decorate: true
always_run: true
spec:
containers:
- image: maven:3.6-jdk-8
command: [".prow/scripts/test-end-to-end.sh"]
command: ["infra/scripts/test-end-to-end.sh"]
resources:
requests:
cpu: "1000m"
Expand All @@ -131,7 +131,7 @@ presubmits:
secretName: feast-service-account
containers:
- image: maven:3.6-jdk-8
command: [".prow/scripts/test-end-to-end-batch.sh"]
command: ["infra/scripts/test-end-to-end-batch.sh"]
resources:
requests:
cpu: "1000m"
Expand All @@ -153,7 +153,7 @@ postsubmits:
- sh
- -c
- |
.prow/scripts/publish-python-sdk.sh \
infra/scripts/publish-python-sdk.sh \
--directory-path sdk/python --repository pypi
volumeMounts:
- name: pypirc
Expand All @@ -177,7 +177,7 @@ postsubmits:
command:
- bash
- -c
- .prow/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
volumeMounts:
- name: gpg-keys
mountPath: /etc/gpg
Expand Down Expand Up @@ -206,19 +206,19 @@ postsubmits:
- bash
- -c
- |
.prow/scripts/download-maven-cache.sh \
infra/scripts/download-maven-cache.sh \
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
--output-dir $PWD/

if [ $PULL_BASE_REF == "master" ]; then

.prow/scripts/publish-docker-image.sh \
infra/scripts/publish-docker-image.sh \
--repository gcr.io/kf-feast/feast-core \
--tag dev \
--file infra/docker/core/Dockerfile \
--google-service-account-file /etc/gcloud/service-account.json

.prow/scripts/publish-docker-image.sh \
infra/scripts/publish-docker-image.sh \
--repository gcr.io/kf-feast/feast-serving \
--tag dev \
--file infra/docker/serving/Dockerfile \
Expand All @@ -232,13 +232,13 @@ postsubmits:

else

.prow/scripts/publish-docker-image.sh \
infra/scripts/publish-docker-image.sh \
--repository gcr.io/kf-feast/feast-core \
--tag ${PULL_BASE_REF:1} \
--file infra/docker/core/Dockerfile \
--google-service-account-file /etc/gcloud/service-account.json

.prow/scripts/publish-docker-image.sh \
infra/scripts/publish-docker-image.sh \
--repository gcr.io/kf-feast/feast-serving \
--tag ${PULL_BASE_REF:1} \
--file infra/docker/serving/Dockerfile \
Expand Down Expand Up @@ -295,7 +295,7 @@ postsubmits:
sed -i "/version: /c\version: ${PULL_BASE_REF:1}" infra/charts/feast/charts/feast-serving/Chart.yaml
sed -i "/ tag: /c\ tag: ${PULL_BASE_REF:1}" infra/charts/feast/charts/feast-serving/values.yaml

.prow/scripts/sync-helm-charts.sh
infra/scripts/sync-helm-charts.sh
volumeMounts:
- name: service-account
mountPath: /etc/gcloud/service-account.json
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

.prow/scripts/download-maven-cache.sh \
infra/scripts/download-maven-cache.sh \
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
--output-dir /root/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Building jars for Feast
============================================================
"

.prow/scripts/download-maven-cache.sh \
infra/scripts/download-maven-cache.sh \
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
--output-dir /root/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Building jars for Feast
============================================================
"

.prow/scripts/download-maven-cache.sh \
infra/scripts/download-maven-cache.sh \
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
--output-dir /root/

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

.prow/scripts/download-maven-cache.sh \
infra/scripts/download-maven-cache.sh \
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
--output-dir /root/

Expand Down