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.
This commit is contained in:
parent
56f1014769
commit
6d3a7470ce
1 changed files with 9 additions and 1 deletions
|
@ -2,9 +2,17 @@ image: docker.io/renovate/renovate:19
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- CI
|
- 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:
|
run:
|
||||||
stage: CI
|
stage: Run
|
||||||
before_script:
|
before_script:
|
||||||
- cp config.js /usr/src/app/config.js
|
- cp config.js /usr/src/app/config.js
|
||||||
script:
|
script:
|
||||||
|
|
Reference in a new issue