forked from toolshed/abra
test: on-demand integration tests
This commit is contained in:
parent
1574aa0631
commit
d1e49d17ce
31
.drone.yml
31
.drone.yml
@ -60,7 +60,31 @@ steps:
|
|||||||
- make check
|
- make check
|
||||||
- make test
|
- make test
|
||||||
|
|
||||||
- name: integration test
|
- name: on-demand integration test
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- int.coopcloud.tech
|
||||||
|
username: abra
|
||||||
|
key:
|
||||||
|
from_secret: abra_int_private_key
|
||||||
|
port: 22
|
||||||
|
command_timeout: 60m
|
||||||
|
script_stop: true
|
||||||
|
request_pty: true
|
||||||
|
script:
|
||||||
|
- |
|
||||||
|
wget https://git.coopcloud.tech/toolshed/abra/raw/branch/main/scripts/tests/run-ci-int -O run-ci-int
|
||||||
|
chmod +x run-ci-int
|
||||||
|
sh run-ci-int
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/int-*
|
||||||
|
depends_on:
|
||||||
|
- make check
|
||||||
|
- make test
|
||||||
|
|
||||||
|
- name: nightly integration test
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
@ -87,3 +111,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
action:
|
||||||
|
exclude:
|
||||||
|
- synchronized
|
||||||
|
Loading…
x
Reference in New Issue
Block a user