-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: renovate handle regexManagers to update conftest/tf versions #2807
feat: renovate handle regexManagers to update conftest/tf versions #2807
Conversation
renovate.json5
Outdated
// match `ENV *_VERSION=x.x.x` with renovate configurations | ||
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=(?<currentValue>.*)\\s", | ||
], | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently this setting find following comment.
# renovate: datasource=github-releases depName=open-policy-agent/conftest versioning=semver
ENV DEFAULT_CONFTEST_VERSION=0.35.0
In this case, we use GitHub releases on open-policy-agent/conftest
, which means https://github.com/open-policy-agent/conftest/releases.
see also supported datasource
c4734c7
to
2366387
Compare
@@ -34,7 +34,7 @@ import ( | |||
) | |||
|
|||
const hashicorpReleasesURL = "https://releases.hashicorp.com" | |||
const terraformVersion = "1.3.5" | |||
const terraformVersion = "1.3.6" // renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to change 1.3.5 to 1.3.6? It's not changed in the other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, runatlantis:renovate/configure branch contains 1.3.5, and main branch contains 1.3.6.
So could you update #2681?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what I'm updating in that pr ? Once this PR is merged, it will close #2681
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2681 PR is renovate introduce confirmation PR.
So it is better to do followings.
- merge this feat: renovate handle regexManagers to update conftest/tf versions #2807 into Configure Renovate - abandoned #2681
- confirm renovate config is all valid on Configure Renovate - abandoned #2681 PR description which will be updated by renovate
- merge Configure Renovate - abandoned #2681 into main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or not need it, I will change this PR base branch to main
.
a62ab32
to
b328e30
Compare
When you get a chance, please correct conflicts and merge from the latest branch. |
b328e30
to
8b3fd5b
Compare
8b3fd5b
to
6bf9242
Compare
@nitrocode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@runatlantis/maintainers please review dropping dependabot for renovatebot
Thank you again @krrrr38 ! Great work!!! |
NOTE: this PR base branch is #2681
what
why
conftest/tf versions update automation. less manual operation.
discussions
references