https://github.com/aligent/renovate-pipe
A custom Bitbucket pipe for running RenovateBot
https://github.com/aligent/renovate-pipe
pipe
Last synced: 11 months ago
JSON representation
A custom Bitbucket pipe for running RenovateBot
- Host: GitHub
- URL: https://github.com/aligent/renovate-pipe
- Owner: aligent
- License: gpl-3.0
- Created: 2022-07-28T05:31:51.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T13:27:58.000Z (almost 2 years ago)
- Last Synced: 2025-06-22T05:11:57.356Z (about 1 year ago)
- Topics: pipe
- Language: Shell
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Renovate Pipe
A custom Bitbucket pipe for running Renovate in Bitbucket as a scheduled pipeline.
## Environment Variables
| Variable Name | Default | Notes |
|:---------------------|:------------|:----------------------------------------------------------------------|
| `RENOVATE_USERNAME ` | N/A | Username of a Bitbucket account to run renovate as. |
| `RENOVATE_PASSWORD ` | N/A | App Password of the Bitbucket account. |
| `GITHUB_COM_TOKEN ` | N/A | (Optional) Github Personal Access Token with `repo:public` permission |
| `CONFIG_FILE ` | `config.js` | (Optional) Directory where the base dependency files are. |
All other environment variables found at https://docs.renovatebot.com/ can be used.
To create an app password see [here](https://docs.renovatebot.com/modules/platform/bitbucket/#authentication).
It is recommended to create a dedicated Bitbucket account to run the renovate pipe as.
## Example Setup
```yaml
definitions:
services:
docker:
memory: 3072
pipelines:
custom:
renovate:
- step:
name: "Run Renovate"
script:
- pipe: docker://aligent/renovate-pipe
variables:
RENOVATE_PASSWORD: $RENOVATE_PASSWORD
RENOVATE_USERNAME: $RENOVATE_USERNAME
GITHUB_COM_TOKEN: $GITHUB_COM_TOKEN
```
## SSH Authentication
This pipeline will pickup the SSH Key of the repository and pass it through to the underlying npm, composer, etc commands being run.