renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead
https://github.com/renovatebot/renovate/discussions
MIT License
27 stars 16 forks source link

monthly updates are not working . #944

Closed Ranjith072 closed 4 years ago

Ranjith072 commented 4 years ago

Which Renovate are you using?

Renovate Open Source CLI WhiteSource Renovate App

Which platform are you using?

GitHub Enterprise

Have you checked the logs? Don't forget to include them if relevant

What would you like to do?

i have a configuration like this for updating the the aws packages monthly but they are never updated . please let me know if there is anything that i am missing here .

  "packageRules": [
    {
      "packageNames": ["awscli", "aws-sdk", "boto3", "boto3-stubs", "botocore"],
      "extends": ["schedule:monthly"],
      "groupName": "aws packages"
    }
  ]
viceice commented 4 years ago

Please provide the debug logs. You maybe need to wait for first day of the month before 3am

https://github.com/renovatebot/renovate/blob/c33da16aba2e3fff357ead02c79343ca614f827a/lib/config/presets/internal/schedule.ts#L16-L19

viceice commented 4 years ago

Also please format your code.

rarkins commented 4 years ago

Yes, you'll need the debug logs for when you ran it during this time: "before 3am on the first day of the month"

Ranjith072 commented 4 years ago
{
  "extends": [
    "config:base"
  ],
  "automergeType": "branch",
  "automerge": true,
  "masterIssue": true,
  "major": {
    "automerge": false
  },
  "pin": {
    "automerge": true
  },
  "pinDigests": true,
  "packageRules": [
    {
      "packageNames": ["awscli", "aws-sdk", "boto3", "boto3-stubs", "botocore"],
      "extends": ["schedule:monthly"],
      "groupName": "aws packages"
    },
    {
      "packagePatterns": [
        "^org\\.jetbrains\\.kotlinx:"
      ],
      "versionScheme": "semver"
    }
  ],
  "lockFileMaintenance": {
    "enabled": true
  },
  "ignorePaths": [
      "sql-server-dependency/Dockerfile"
  ],
  "stabilityDays": 3,
  "prNotPendingHours": 74,
  "timezone": "Europe/Oslo",
  "semanticCommits": true
}

here is the full renovate.json file which is formatted . and also the issues not for only this month it has never worked at all.

edit: please format your code

rarkins commented 4 years ago

Having stabilityDays with the AWS SDK is bad idea because they often release daily and so it will never reach stability.

Ranjith072 commented 4 years ago

at least it should create a PR for these packages right ?i do not any PR's at all for these packages scheduled monthly.

Ranjith072 commented 4 years ago

unable to find the old logs on the dashboard as i could find only for few days ,is there any way to test this ?

rarkins commented 4 years ago

I suggest you remove the prNotPendingHours and stabilityDays setting for your monthly packages before the start of the next month.

Ranjith072 commented 4 years ago

u mean something like this ?

"packageRules": [
    {
      "packageNames": ["awscli", "aws-sdk", "boto3", "boto3-stubs", "botocore"],
      "extends": ["schedule:monthly"],
      "stabilityDays": 0,
      "prNotPendingHours": 0,
      "groupName": "aws packages"
    },
    {
      "packagePatterns": [
        "^org\\.jetbrains\\.kotlinx:"
      ],
      "versionScheme": "semver"
    }
  ]

edit: please format your code

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs. If this question is not done (either you plan to update it or are waiting on someone to respond) then please add a comment here to bump it and/or get the other person's attention. We aim to do our best to solve every problem. This bot is here to help us clean up issues which are no longer of use to the original poster, and not to close anything prematurely, so bump as you need!