From 6d3a7470cea0b8c4c146a3b1971c7e3245503e69 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Thu, 31 Oct 2019 20:48:55 +0100 Subject: [PATCH] Add dry-run stage This commit adds a `--dry-run` every time something new is commited. This should prevent issues with the actual execution by allowing CI testing. --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23e5397..c5733f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,9 +2,17 @@ image: docker.io/renovate/renovate:19 stages: - CI + - Run + +dry-run: + stage: CI + before_script: + - cp config.js /usr/src/app/config.js + script: + - node /usr/src/app/dist/renovate.js --dry-run run: - stage: CI + stage: Run before_script: - cp config.js /usr/src/app/config.js script: