From 17730c0544503c1ced6e12a19ba8ba3348552c45 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Thu, 19 Jan 2017 17:19:38 -0500 Subject: [PATCH] drone: run integration tests after deploying Unfortunately drone 0.4 won't let us filter the status of the job, but that's fair enough, in the worst case we're going to run a job in the environment without deploying any new code. --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9fb0af00..ec274c94 100644 --- a/.drone.yml +++ b/.drone.yml @@ -79,3 +79,22 @@ notify: channel: $$SLACK_CHANNEL when: event: tag + downstream_dev: + image: plugins/drone-downstream + server: $$INTERNAL_DRONE_ENDPOINT + token: $$DRONE_TOKEN + repositories: + - $$INTEGRATION_TESTS_REPO@dev + fork: true + when: + branch: master + downstream_stg_prd: + image: plugins/drone-downstream + server: $$INTERNAL_DRONE_ENDPOINT + token: $$DRONE_TOKEN + repositories: + - $$INTEGRATION_TESTS_REPO@stg + - $$INTEGRATION_TESTS_REPO@prd + fork: true + when: + event: tag