From 674a5f06dcef40493dbb86cabbaa8c06b7bd78f6 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 16 Mar 2025 12:57:48 +0100 Subject: [PATCH] test: on-demand integration tests --- .drone.yml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7818e1a3..54463257 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,7 +60,35 @@ steps: - make check - 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: + event: + include: + - pull_request + ref: + include: + - refs/pull/int-* + depends_on: + - make check + - make test + + - name: nightly integration test image: appleboy/drone-ssh settings: host: @@ -87,3 +115,8 @@ steps: volumes: - name: deps temp: {} + +trigger: + action: + exclude: + - synchronized