forked from earthly/earthly
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
In @EarthBuild repositories, @renovate-bot ensures the dependencies are up to date everywhere. However, not all dependencies are determined in the EarthFiles by @renovate-bot.
We use the following regex manager for EarthFile:
earthbuild/.github/renovate.json5
Lines 75 to 84 in bb8204a
| { | |
| customType: 'regex', | |
| description: "Update _version ARGs and ENVs in Earthfile", | |
| managerFilePatterns: [ | |
| '/^Earthfile$/', | |
| ], | |
| matchStrings: [ | |
| '#\\s*renovate:\\s*datasource=(?<datasource>[a-z-]+?)(?:\\s+depName=(?<depName>.+?))?\\s+packageName=(?<packageName>.+?)(?:\\s+versioning=(?<versioning>[a-z-]+?))?\\s+(?:ENV|ARG)\\s+.+?(_VERSION|_VER|_version)=(?<currentValue>.+?)\\s', | |
| ], | |
| }, |
Ensure we have the renovate comment where needed.
The comment applies to ENV, LET and ARG commands containing _version= or _VERSION.
# renovate: datasource=go packageName=golang.org/x/vuln/cmd/govulncheck
ENV govulncheck_version=1.1.3
# renovate: datasource=go packageName=golang.org/x/vuln/cmd/govulncheck
LET govulncheck_version=1.1.3
# renovate: datasource=go packageName=golang.org/x/vuln/cmd/govulncheck
ARG govulncheck_version=1.1.3E.g.
Lines 162 to 164 in bb8204a
| # renovate: datasource=go packageName=golang.org/x/vuln/cmd/govulncheck | |
| ENV govulncheck_version=1.1.3 | |
| RUN go install golang.org/x/vuln/cmd/govulncheck@v$govulncheck_version |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers
Type
Projects
Status
Done