diff --git a/.drone.yml b/.drone.yml index 3684b0a4a9..6619eb9173 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,3 @@ - workspace: base: /go path: src/github.com/vmware/vic-product @@ -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 @@ -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] @@ -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 @@ -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' \ No newline at end of file