From 04b4c754008139132723722a94193a4fb1b104c5 Mon Sep 17 00:00:00 2001 From: Oleg Avdeev Date: Wed, 4 Nov 2020 11:46:45 +0300 Subject: [PATCH] add prow -> aws codebuild trigger Signed-off-by: Oleg Avdeev --- .prow/config.yaml | 4 ++-- infra/docker/ci/Dockerfile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.prow/config.yaml b/.prow/config.yaml index ac589b2822..363ece02a7 100644 --- a/.prow/config.yaml +++ b/.prow/config.yaml @@ -219,8 +219,8 @@ presubmits: always_run: true spec: containers: - - image: amazon/aws-cli - command: [ "infra/scripts/test-end-to-end-aws.sh" ] + - image: gcr.io/kf-feast/feast-ci:latest + command: [ "infra/scripts/codebuild_runner.py", "--source-location", "https://github.com/${REPO_OWNER}/${REPO_NAME}.git", "--source-version", "$PULL_PULL_SHA" ] resources: requests: cpu: "2" diff --git a/infra/docker/ci/Dockerfile b/infra/docker/ci/Dockerfile index 4e7c383524..c6ef17aabd 100644 --- a/infra/docker/ci/Dockerfile +++ b/infra/docker/ci/Dockerfile @@ -18,6 +18,8 @@ RUN apt-get install -y build-essential curl python${PYTHON_VERSION} \ python get-pip.py --force-reinstall && \ rm get-pip.py +# Instal boto3 +RUN pip install boto3==1.16.10 # Install Go ENV GOLANG_VERSION 1.14.1