Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add renovate tests and more rules #57

Merged
merged 8 commits into from
Dec 8, 2024

Conversation

ledif
Copy link
Contributor

@ledif ledif commented Dec 7, 2024

Continuation of #53. This PR adds new renovate rules for the following packages:

  • fwupd
  • topgrade
  • sched-ext/scx

This PR also includes a test written in Python and a justfile driver that runs the test in a container using podman.

The test works by rolling back versions of packages to known old versions and confirming that renovate finds an update for each package.

Manually running test

Test machine

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable
                   Digest: sha256:6983413a64089ba365765c4da1e6b167230b97b61d2c884acfa9fc8e580e7f23
                  Version: 41.20241125 (2024-11-26T03:52:52Z)
          LayeredPackages: coolercontrol liquidctl sunshine

Output

> cd .github/test/renovate
> just test-local
Working in /tmp/tmp.05hOoHFF9D
DEBUG: Using RE2 regex engine
DEBUG: Parsing configs
DEBUG: Checking for config file in /usr/src/app/.github/renovate.json5
DEBUG: File config

[... snip ...]

DEBUG: Checking file package cache for expired items
DEBUG: Deleted 0 of 0 file cached entries in 3ms
Packages with updates:
{'sched-ext/scx', 'fwupd', 'kf6-kio', 'loft-sh/devpod', 'topgrade-rs/topgrade'}
passed

@ledif ledif changed the title feat: add renovate tests and fwupd rule feat: add renovate tests and more rules Dec 7, 2024
@ledif ledif marked this pull request as draft December 7, 2024 19:18
@ledif ledif marked this pull request as ready for review December 8, 2024 02:34
@ledif
Copy link
Contributor Author

ledif commented Dec 8, 2024

@castrojo This should be ready for review now. Not sure if I need to address the Codacy issue (or exactly why it's complaining).

@castrojo castrojo enabled auto-merge (squash) December 8, 2024 03:53
@castrojo castrojo merged commit aa88989 into ublue-os:main Dec 8, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants