percona / percona-server-mongodb-operator

Percona Operator for MongoDB
https://www.percona.com/doc/kubernetes-operator-for-psmongodb/
Apache License 2.0
316 stars 138 forks source link

CLOUD-849 - Fix reviewdog for manifests on release branch #1562

Closed tplavcic closed 1 month ago

tplavcic commented 1 month ago

CLOUD-849 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem: On release branches we don't use main images so the reviewdog for manifests is failing and we need to ignore it.

Solution: If a branch is named release- then we will use the exact version and instead of perconalab use percona repository. The check will only be done for operator image and bundles, not for other images since we cannot know all the versions.

Test run on fake release branch: https://github.com/percona/percona-server-mongodb-operator/pull/1565

CHECKLIST

Jira

Tests

Config/Logging/Testability