Skip to content

Commit

Permalink
test admiral integrate
Browse files Browse the repository at this point in the history
Signed-off-by: Meina Zhou <[email protected]>
  • Loading branch information
zhoumeina committed Nov 21, 2018
1 parent 125712b commit 2c96a1b
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

workspace:
base: /go
path: src/github.com/vmware/vic-product
Expand Down Expand Up @@ -91,6 +90,8 @@ pipeline:
privileged: true
environment:
TERM: xterm
HARBOR: https://storage.googleapis.com/harbor-builds/harbor-offline-installer-latest.tgz
ADMIRAL: dev
secrets:
- admiral
- build_admiral_release
Expand Down Expand Up @@ -243,7 +244,7 @@ pipeline:
- 'echo "--------------------------------------------------"; stat --printf="Filesize (%n) = %s\n" $TMP; sha256sum --tag $TMP; sha1sum --tag $TMP; md5sum --tag $TMP'
when:
repo: vmware/vic-product
event: [push, tag]
event: [push, tag, pull_request]
branch: [master, 'releases/*', 'feature/*', 'refs/tags/*']
status: [success, failure]

Expand Down Expand Up @@ -304,6 +305,22 @@ pipeline:
branch: [master]
status: success

publish-gcs-master-builds-pr:
image: 'victest/drone-gcs:1'
pull: true
secrets:
- google_key
source: bundle
target: vic-product-ova-builds/pull/${DRONE_PULL_REQUEST}/
acl:
- 'allUsers:READER'
cache_control: 'public,max-age=3600'
when:
repo: vmware/vic-product
event: [pull_request]
branch: [master]
status: [failure, success]

publish-gcs-branch-builds-push:
image: 'victest/drone-gcs:1'
pull: true
Expand Down Expand Up @@ -458,5 +475,4 @@ services:
SE_OPTS: '-port 4447'
HUB_PORT_4444_TCP_ADDR: selenium-grid-hub
HUB_PORT_4444_TCP_PORT: '4444'
DISPLAY: ':99.0'

DISPLAY: ':99.0'

0 comments on commit 2c96a1b

Please sign in to comment.