Mohammed Naser | 3be9d98 | 2025-03-17 16:39:32 -0400 | [diff] [blame] | 1 | - name: Run Renovate |
| 2 | tasks: |
| 3 | - name: renovate {{ zuul.project.name }} |
| 4 | environment: |
| 5 | LOG_LEVEL: debug |
| 6 | RENOVATE_GIT_AUTHOR: "Renovatebot <renovatebot@vexxhost.dev>" |
| 7 | # Common |
| 8 | GITHUB_COM_TOKEN: "{{ renovate.github_token }}" |
| 9 | RENOVATE_ENDPOINT: "https://{{ zuul.project.canonical_hostname == 'github.com' | ternary('api.github.com', 'review.vexxhost.dev') }}" |
| 10 | RENOVATE_PLATFORM: "{{ zuul.project.canonical_hostname == 'github.com' | ternary('github', 'gerrit') }}" |
| 11 | # GitHub |
| 12 | RENOVATE_TOKEN: "{{ zuul.project.canonical_hostname == 'github.com' | ternary(renovate.github_token, omit) }}" |
| 13 | # Gerrit |
| 14 | RENOVATE_USERNAME: "{{ zuul.project.canonical_hostname != 'github.com' | ternary(renovate.gerrit_username, omit) }}" |
| 15 | RENOVATE_PASSWORD: "{{ zuul.project.canonical_hostname != 'github.com' | ternary(renovate.gerrit_password, omit) }}" |