Skip to content

Commit

Permalink
Add vic-machine-server container build (#6518)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtchin authored and zjs committed Nov 20, 2017
1 parent a296fc2 commit 127de67
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 2 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.vagrant
bin/**
38 changes: 38 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,31 @@ pipeline:
branch: [ master, releases/* ]
status: success

publish-vic-machine-server-on-pass:
image: plugins/gcr
repo: eminent-nation-87317/vic-machine-server
dockerfile: cmd/vic-machine-server/Dockerfile
tags:
- latest
json_key: >
{
"type": "service_account",
"project_id": "${GS_PROJECT_ID}",
"private_key_id": "${GS_PRIVATE_KEY_ID}",
"private_key": "${GS_PRIVATE_KEY}",
"client_email": "${GS_CLIENT_EMAIL}",
"client_id": "${GS_PROJECT_ID}",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": ""
}
when:
repo: vmware/vic
event: [ push ]
branch: [ master, releases/* ]
status: success

publish-gcs-builds-on-fail:
image: maplain/drone-gcs:latest
pull: true
Expand Down Expand Up @@ -207,6 +232,19 @@ pipeline:
branch: [ refs/tags/* ]
status: success

# publish-vic-machine-server-releases:
# image: plugins/gcr
# repo: eminent-nation-87317/vic-machine-server
# dockerfile: cmd/vic-machine-server/Dockerfile
# tags:
# - latest
# - TODO GIT TAG VER
# when:
# repo: vmware/vic
# event: [ push, tag ]
# branch: [ refs/tags/* ]
# status: success

trigger-downstream:
image: plugins/downstream
server: https://ci.vcna.io
Expand Down
Loading

0 comments on commit 127de67

Please sign in to comment.