Skip to content

Renovate fails on older release branches with commands not in allowedPostUpgradeCommands list #6186

@jbw976

Description

@jbw976

What happened?

I noticed on the below PRs that Renovate is failing to run its post-upgrade commands:

The error message is:

Post-upgrade command 'make go.generate' has not been added to the allowed list in allowedPostUpgradeCommands

We used to allow our self-hosted Renovate to run make as post-upgrade commands, but this changed in 1cb5caa#diff-2f2dcee4f3f279ea8d2f4cd0235f2ab917d8cf1d8e11f4f195a3816afe79af26L47-R54 with the switch to Earthly.

I think the following updates could fix this:

How can we reproduce it?

I'm not sure how to reproduce it manually, but the above PRs are good examples of the behavior.

What environment did it happen in?

Crossplane version: I see this on release-1.16 and release-1.17, which actually is odd because release-1.17 has an Earthfile and shouldn't be using make command anyways.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuild

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions