jycouet / VSTSExtensions

MIT License
30 stars 11 forks source link

Update dependencies in all repositories #33

Closed lukeb2e closed 3 years ago

lukeb2e commented 4 years ago

Describe the bug I want renovate to update the dependencies in all repositories in my project. Currently with my attached azure pipeline (see below) it only updates dependencies directly in my project.

eg: project/repo1 project/repo2 project/renovate <- only updates dependencies here

To Reproduce Steps to reproduce the behavior:

  1. Use the attached azure-pipeline.yml and config (see below for both)
  2. Run the pipeline

Expected behavior I would expect that the onboarding PR is created either in all repositories or in the manually named repositories in the config.

Desktop (please complete the following information):

Additional context

azure-pipeline.yml:

trigger:
- master

schedules:
- cron: "0 6 * * *"
  displayName: Daily
  branches:
    include:
    - master
  always: true

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: UseNode@1
  inputs:
    version: '12.x'
- task: YarnInstaller@3
  inputs:
    versionSpec: '1.x'
- task: RenovateMe@0
  inputs:
    renovateOptionsVersion: 'latest'
    #renovateOptionsArgs: ''
  env:
    system_accesstoken: $(System.AccessToken)

renovate.json5:

{
    // https://docs.renovatebot.com/self-hosted-configuration/
    //"autodiscover": true,
    //"autodiscoverFilter": "project/*",
    "gitAuthor": "RenovateBot <renovate@test.com>",
    "onboarding": true,
    "repositories": [
      "project/renovate",
      "project/repo1"
    ],
    "branchPrefix": "feature/renovate-",
    "packageRules": [
      {
        "packagePatterns": [ "*" ],
        "groupName": "all"
      }
    ],
    "$schema": "https://docs.renovatebot.com/renovate-schema.json"
}
jycouet commented 3 years ago

This is a difference from Renovate itself. Yes, here RenovateMe is renovating the selected Repo of the CI. I mean it's intended to work like this.

I will close this ticket as it's not in plans for now. Feel free to comment and start the discussion if it's needed.