Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test admiral integrate #2177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 18 additions & 128 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 @@ -67,52 +66,6 @@ pipeline:
when:
status: success

dch-build:
group: build
image: 'gcr.io/eminent-nation-87317/vic-product-build:latest'
pull: true
privileged: true
environment:
TERM: xterm
secrets:
- github_automation_api_key
- harbor_ci_registry
- test_username
- test_password
volumes:
- '/dev:/dev'
- '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/docker:/etc/docker'
commands:
- 'docker ps'
- 'dinv/ci.sh build'
when:
branch: master
repo: vmware/vic-product
event: [push, pull_request, tag, deployment]
status: success

dch-push:
image: 'gcr.io/eminent-nation-87317/vic-product-build:latest'
pull: true
privileged: true
environment:
TERM: xterm
secrets:
- docker_user
- docker_password
- github_automation_api_key
volumes:
- '/dev:/dev'
- '/var/run/docker.sock:/var/run/docker.sock'
commands:
- 'docker ps'
- 'dinv/ci.sh push'
when:
branch: master
repo: vmware/vic-product
event: [push, tag, deployment]
status: success

unified-ova-build:
group: build
Expand Down Expand Up @@ -141,85 +94,6 @@ pipeline:
branch: [master, 'releases/*', 'feature/*', 'refs/tags/*']
status: success

integration-test-ova-setup:
image: 'gcr.io/eminent-nation-87317/vic-integration-test:1.48'
pull: true
privileged: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- bridge_network
- public_network
- test_datastore
- test_password
- test_resource
- test_url
- test_username
volumes:
- /tmp
commands:
- 'pybot -d robot-logs/ova-setup-logs -s OVA-Setup tests/common-ova'
when:
repo: vmware/vic-product
event: [push, pull_request, tag, deployment]
branch: [master, 'releases/*', 'feature/*', 'refs/tags/*']
status: success

integration-test:
image: 'gcr.io/eminent-nation-87317/vic-integration-test:1.48'
pull: true
privileged: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- harbor_ci_registry
- bridge_network
- public_network
- test_datastore
- test_password
- test_resource
- test_url
- test_username
- vch_timeout
volumes:
- /tmp
commands:
- tests/robot-run.sh
when:
repo: vmware/vic-product
event: [push, pull_request, tag, deployment]
branch: [master, 'releases/*', 'feature/*', 'refs/tags/*']
status: success

integration-test-ova-cleanup:
image: 'gcr.io/eminent-nation-87317/vic-integration-test:1.48'
pull: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- bridge_network
- public_network
- test_datastore
- test_password
- test_resource
- test_url
- test_username
volumes:
- /tmp
commands:
- 'pybot -d robot-logs/ova-cleanup-logs -s OVA-Cleanup tests/common-ova'
when:
repo: vmware/vic-product
event: [push, pull_request, tag, deployment]
branch: [master, 'releases/*', 'feature/*', 'refs/tags/*']
status: [success, failure]

bundle-logs:
group: post-build
image: 'gcr.io/eminent-nation-87317/vic-integration-test:1.37'
Expand Down Expand Up @@ -265,7 +139,7 @@ pipeline:
- tests/bundle_dev_builds.sh
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 @@ -326,6 +200,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 @@ -497,5 +387,5 @@ 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'