Skip to content

Commit

Permalink
chore(nightly build): Adds clouddriver-tagged.yaml for nightly builds (
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Tomsu committed Jul 10, 2017
1 parent fc4b5ab commit 79919c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions cloudbuild-tagged.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
steps:
- name: 'spinnakerrelease/gradle_cache'
env: ["GRADLE_USER_HOME=/gradle_cache/.gradle"]
entrypoint: "bash"
args: [ "-c", "./gradlew echo-web:installDist -x test -Prelease.version=$TAG_NAME"]
- name: 'gcr.io/cloud-builders/docker'
args: ["build",
"-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA",
"-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME",
"-f", "Dockerfile.slim",
"."]
images:
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME'
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
steps:
- name: 'java:8'
env: ["GRADLE_USER_HOME=cache"]
- name: 'spinnakerrelease/gradle_cache'
env: ["GRADLE_USER_HOME=/gradle_cache/.gradle"]
entrypoint: "bash"
args: [ "-c", "./gradlew echo-web:installDist -x test"]
- name: 'gcr.io/cloud-builders/docker'
Expand Down

0 comments on commit 79919c3

Please sign in to comment.