▲ 35 ▼ Anyone else using Renovate as part of their efforts to to ditch github? (github.com) submitted 3 months ago by opennomad@lemmy.ml to c/selfhost@lemmy.ml 10 comments fedilink hide all child comments I'm quite happy with my #forgejo replacement for #github. i was missing dependabot enforced correctness and installed a Renovate container. IMO it's an improvement over the github approach. love it. #SelfHosting #DigitalSovereignty #Homelab #OwnYourData https://github.com/renovatebot/renovate
[–] opennomad@lemmy.ml [S] 1 point 3 months ago (2 children) oh? something specific you can share? permalink fedilink source parent hideshow 2 child comments replies: [–] UntouchedWagons@lemmy.ca 3 points 3 months ago (1 child) So I haven't tested this specific example (but it should work): "packageRules": [ { "matchDatasources": ["docker"], "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"], "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$" } ] Netboot.xyz has its docker images tagged in a non-standard way necessitating a custom package rule so that renovate bot can properly pick up updates. I thought this went into the config.js that renovate bot uses for its own configuration but no it goes in your repo's renovate.json file like so: { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" ], "packageRules": [ { "matchDatasources": ["docker"], "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"], "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$" } ], "assignees": [ "UntouchedWagons" ], "reviewers": [ "UntouchedWagons" ] } permalink fedilink source parent hideshow 1 child comment replies: [–] bhushan_lilapra@mastodon.social 1 point 3 months ago @UntouchedWagons @opennomad yes I do that makes my repos updated in GitHub. I uses https://kubeara.dev/ for the renovate config/deployment and make my stufff easy to control everything from one dashboard to. permalink fedilink source parent
[–] UntouchedWagons@lemmy.ca 3 points 3 months ago (1 child) So I haven't tested this specific example (but it should work): "packageRules": [ { "matchDatasources": ["docker"], "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"], "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$" } ] Netboot.xyz has its docker images tagged in a non-standard way necessitating a custom package rule so that renovate bot can properly pick up updates. I thought this went into the config.js that renovate bot uses for its own configuration but no it goes in your repo's renovate.json file like so: { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" ], "packageRules": [ { "matchDatasources": ["docker"], "matchPackageNames": ["ghcr.io/netbootxyz/netbootxyz"], "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-nbxyz(?<build>\\d+)$" } ], "assignees": [ "UntouchedWagons" ], "reviewers": [ "UntouchedWagons" ] } permalink fedilink source parent hideshow 1 child comment replies: [–] bhushan_lilapra@mastodon.social 1 point 3 months ago @UntouchedWagons @opennomad yes I do that makes my repos updated in GitHub. I uses https://kubeara.dev/ for the renovate config/deployment and make my stufff easy to control everything from one dashboard to. permalink fedilink source parent
[–] bhushan_lilapra@mastodon.social 1 point 3 months ago @UntouchedWagons @opennomad yes I do that makes my repos updated in GitHub. I uses https://kubeara.dev/ for the renovate config/deployment and make my stufff easy to control everything from one dashboard to. permalink fedilink source parent