Skip to content

Commit

Permalink
Merged PR 15: Renovate using docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dannybouwers committed Jan 22, 2024
2 parents 71c83ed + b772a01 commit e86e0b9
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions .azure-pipelines/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,18 @@ pool:
variables:
- group: "renovate"

steps:
# Base required for Renovate to run
- task: UseNode@1
displayName: Enable Node.js
name: nodejs
inputs:
version: '20.x'
container: swissgrc/azure-pipelines-renovate:latest

- task: Bash@3
displayName: Renovate Scan
name: renovate
inputs:
targetType: 'inline'
script: |
npm install -g renovate
renovate \
--platform=azure \
--endpoint=https://dev.azure.com/dannybouwers \
--token=$(System.AccessToken) \
--detect-host-rules-from-env=true \
--git-author="Renovate Bot <bot@renovateapp.com>" \
homecontroller/homecontroller
failOnStderr: true
steps:
- bash: |
npx renovate
env:
GITHUB_COM_TOKEN: $(githubtoken)
LOG_LEVEL: debug
RENOVATE_PLATFORM: azure
RENOVATE_ENDPOINT: $(System.CollectionUri)
RENOVATE_TOKEN: $(System.AccessToken)
RENOVATE_DETECT_HOST_RULES_FROM_ENV: true
RENOVATE_GIT_AUTHOR: "Renovate Bot <bot@renovateapp.com>"
RENOVATE_REPOSITORIES: homecontroller/homecontroller
displayName: Renovate Scan
name: renovate

0 comments on commit e86e0b9

Please sign in to comment.