Closed mlanglet closed 2 weeks ago
So it's sometime failing sometime not? 🤔
It's failing consistently right now.
Hummm, I'm not using renovateMe
anymore but directly renovate
(in github), and from the same date I have also issues with renovate
!
On my side, it seems to be a config that was deprecated and not working anymore.
Here is the discussion: https://github.com/renovatebot/renovate/discussions/30891
Maybe you can share your config file? You can also try to point to an old renovate version to see ?
Interesting, I'll try to run with an older version, thanks.
Here is our config file.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"datasources": [
"docker"
],
"packageNames": [
"postgres"
],
"allowedVersions": "13.12"
},
{
"datasources": [
"docker"
],
"packageNames": [
"eclipse-temurin"
],
"allowedVersions": "21-jre-alpine"
}
]
}
I updated https://github.com/renovatebot/renovate/discussions/30891#discussioncomment-10448176
Can you also add more logs ? Maybe it's saying that one key is not valid ?
I tried adding
env:
LOG_LEVEL: debug
But I don't get any additional logs.
Isn't this problem caused because the extension doesn't seem to have access to the renovate command via npx for some reason? I'm not sure why that would happen though.
npx: command not found: renovate
It's one of those days. Feeling kinda stupid right now.
Swapping from the task NodeTool@0
to UseNode@1
changes the parameter name from versionSpec
to version
. If none is provided it defaults to node 10.x.. No wonder it couldn't find the command.
Updated and working pipeline definition:
trigger: none
schedules:
- cron: "0 0 * * 1-4"
displayName: "Run renovatebot at midnight (Monday-Thursday)"
branches:
include:
- develop
always: true
pool:
vmImage: ubuntu-latest
steps:
- task: UseNode@1
displayName: 'Use Node 20.17.0'
inputs:
version: '20.17.0'
- task: RenovateMe@1
displayName: Renovate
Please excuse my idiocy, case closed.
Haha, thanks or the update. I like this issues where I have nothing to do ;)
I noticed our renovate pipeline has had a few failed weekly executions. The first error was because we were using node version 20.9.0 which was too old for the renovate task. I have tried using node version
20.17.0
and21.7.3
but both results in the same error. Please advise!Build output
Pipeline definition