Skip to content

Commit

Permalink
Build master (#112)
Browse files Browse the repository at this point in the history
* Add cloud build for master branch

* Avoid updating latest tag

* Skip test during maven install
  • Loading branch information
pradithya authored and feast-ci-bot committed Jan 29, 2019
1 parent a73195a commit c920e67
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions testing/tf/cloud-build/cloudbuild_master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
steps:
- name: maven:3.6.0-jdk-8-slim
args: ['mvn', 'clean', 'install', '-Drevision=$COMMIT_SHA', '-DskipTests']
id: build-jars

- name: "gcr.io/cloud-builders/docker"
args: ['build', '-t', 'gcr.io/$PROJECT_ID/feast-core:$COMMIT_SHA', '--build-arg', 'RELEASE=$COMMIT_SHA', '-f', './docker/core/Dockerfile', '.']
id: docker-core
waitFor:
- build-jars

- name: "gcr.io/cloud-builders/docker"
args: ['build', '-t', 'gcr.io/$PROJECT_ID/feast-serving:$COMMIT_SHA', '--build-arg', 'RELEASE=$COMMIT_SHA', '-f', './docker/serving/Dockerfile', '.']
id: docker-serving
waitFor:
- build-jars

timeout: 1200s
images: ['gcr.io/$PROJECT_ID/feast-core:$COMMIT_SHA', 'gcr.io/$PROJECT_ID/feast-serving:$COMMIT_SHA']

0 comments on commit c920e67

Please sign in to comment.