Skip to content
New issue

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

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

Already on GitHub? # to your account

renovate: Monitor kubernetes-sigs/bom #1526

Merged
merged 1 commit into from
Sep 30, 2023
Merged

renovate: Monitor kubernetes-sigs/bom #1526

merged 1 commit into from
Sep 30, 2023

Conversation

michi-covalent
Copy link
Contributor

Configure Renovate to monitor kubernetes-sigs/bom release binaries. I also updated the artifact name from bom-linux-amd64 to bom-amd64-linux based on the latest release artifacts 1.

Footnotes

  1. https://github.com/kubernetes-sigs/bom/releases/tag/v0.5.1

@michi-covalent michi-covalent marked this pull request as ready for review September 29, 2023 16:38
@michi-covalent michi-covalent requested review from willfindlay and a team as code owners September 29, 2023 16:38
@michi-covalent michi-covalent added the release-note/ci This PR makes changes to the CI. label Sep 29, 2023
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified that the regex pick up this thing and it does
image

However, I never tried the github-releases datasource but I trust you on that one!

@michi-covalent
Copy link
Contributor Author

yeah i ran GITHUB_COM_TOKEN=$(gh auth token) LOG_LEVEL=debug renovate --platform=local and verified that renovate is picking up the configuration:

           {
             "deps": [
               {
                 "depName": "kubernetes-sigs/bom",
                 "currentValue": "v0.5.1",
                 "datasource": "github-releases",
                 "replaceString": "# renovate: datasource=github-releases depName=kubernetes-sigs/bom\n          BOM_VERSION: v0.5.1",
                 "updates": [],
                 "packageName": "kubernetes-sigs/bom",
                 "versioning": "semver-coerced",
                 "warnings": [],
                 "sourceUrl": "https://github.com/kubernetes-sigs/bom",
                 "registryUrl": "https://github.com",
                 "currentVersion": "v0.5.1",
                 "fixedVersion": "v0.5.1"
               }
             ],
             "matchStrings": [
               "# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+ ['\"]?(?<currentValue>[^'\"\\s]*)"
             ],
             "packageFile": ".github/workflows/build-images-releases.yml"
           },

Configure Renovate to monitor kubernetes-sigs/bom release binaries. I
also updated the artifact name from bom-linux-amd64 to bom-amd64-linux
based on the latest release artifacts [^1].

[^1]: https://github.com/kubernetes-sigs/bom/releases/tag/v0.5.1

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants