File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : master only
2+
3+ on :
4+ push :
5+ branches : master
6+
7+ jobs :
8+ build-docker-images :
9+ runs-on : [ubuntu-latest]
10+ strategy :
11+ matrix :
12+ component : [jupyter]
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : docker/setup-qemu-action@v1
16+ - name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v1
18+ - uses : GoogleCloudPlatform/github-actions/setup-gcloud@master
19+ with :
20+ version : ' 290.0.1'
21+ export_default_credentials : true
22+ project_id : ${{ secrets.GCP_PROJECT_ID }}
23+ service_account_key : ${{ secrets.GCP_SA_KEY }}
24+ - run : gcloud auth configure-docker --quiet
25+ - name : Get version
26+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
27+ - name : Build image
28+ run : make build-${{ matrix.component }}-docker REGISTRY=gcr.io/kf-feast VERSION=${GITHUB_SHA}
29+ - name : Push image
30+ run : make push-${{ matrix.component }}-docker REGISTRY=gcr.io/kf-feast VERSION=${GITHUB_SHA}
31+ - name : Push development Docker image
32+ run : |
33+ if [ ${GITHUB_REF#refs/*/} == "master" ]; then
34+ docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} gcr.io/kf-feast/feast-${{ matrix.component }}:develop
35+ docker push gcr.io/kf-feast/feast-${{ matrix.component }}:develop
36+ fi
Original file line number Diff line number Diff line change 4848 needs : get-version
4949 strategy :
5050 matrix :
51- component : [jobservice, jupyter]
51+ component : [jupyter]
5252 env :
5353 MAVEN_CACHE : gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
5454 steps :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN pip install -r sdk/python/requirements-ci.txt
1717# Install Feast SDK
1818RUN git init .
1919COPY README.md README.md
20- RUN pip install -e sdk/python -U
20+ RUN pip install feast~=0.9 -U
2121RUN pip install "s3fs" "boto3" "urllib3>=1.25.4"
2222
2323# Switch back to original user and workdir
You can’t perform that action at this time.
0 commit comments