1
0
Fork 0
This repository has been archived on 2025-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
renovate-bot/.gitlab-ci.yml
Sheogorath bafc4a302a
Fix GitLab CI error
Due to the incomplete entrypoint, bash doesn't want to execute scripts.
The error message it provides says:

```
/bin/sh: /bin/sh: cannot execute binary file
```

The solution is rather trivial by making the entrypoint `["/bin/bash",
"-c"]`.
2019-10-31 21:18:28 +01:00

25 lines
414 B
YAML

image:
name: docker.io/renovate/renovate:19
entrypoint:
- "/bin/bash"
- "-c"
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: Run
before_script:
- cp config.js /usr/src/app/config.js
script:
- node /usr/src/app/dist/renovate.js
only:
- schedules