Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit cca6e37

Browse files
committed
Spread renovate schedule using priority #6346
1 parent 559f382 commit cca6e37

File tree

510 files changed

+8574
-2372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

510 files changed

+8574
-2372
lines changed

renovate.json

Lines changed: 5662 additions & 2 deletions
Large diffs are not rendered by default.

scripts/renovate.sh

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,37 @@ jq '
4545
{
4646
"matchFiles": [ "^tools/" + .name + "/manifest.yaml$" ],
4747
"matchPackageNames": [ .renovate.package ],
48-
"ignoreUnstable": (.renovate.allowPrereleases // false)
48+
"ignoreUnstable": (.renovate.allowPrereleases // false),
49+
"priority": .renovate.priority
4950
}
50-
51+
52+
else
53+
{
54+
"matchFiles": [ "^tools/" + .name + "/manifest.yaml$" ],
55+
"matchPackageNames": [ .renovate.package ],
56+
"priority": .renovate.priority
57+
}
58+
end
59+
|
60+
if .priority == "high" then
61+
.schedule = [ "* */4 * * *" ]
62+
else
63+
.
64+
end
65+
|
66+
if .priority == "medium" then
67+
.schedule = [ "* 10,20 * * *" ]
5168
else
52-
empty
69+
.
5370
end
71+
|
72+
if .priority == "low" or .priority == null or .priority == "" then
73+
.schedule = [ "* 21 * * *" ]
74+
else
75+
.
76+
end
77+
|
78+
del(.priority)
5479
5580
else
5681
empty

tools/act/manifest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ description: Run your GitHub Actions locally
1414
renovate:
1515
datasource: github-releases
1616
package: nektos/act
17-
extractVersion: ^v(?<version>.+?)$
17+
extractVersion: ^v(?<version>.+?)$
18+
priority: medium

tools/actions-runner/manifest.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ name: actions-runner
22
version: "2.304.0"
33
check: ""
44
tags:
5-
- org/github
6-
- category/development
7-
- lang/csharp
8-
- type/daemon
5+
- org/github
6+
- category/development
7+
- lang/csharp
8+
- type/daemon
99
homepage: https://github.com/actions/runner
1010
description: Runner for GitHub Actions
1111
renovate:
1212
datasource: github-releases
1313
package: actions/runner
14-
extractVersion: ^v(?<version>.+?)$
14+
extractVersion: ^v(?<version>.+?)$
15+
priority: low

tools/age/manifest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ description: Simple, modern and secure encryption tool
1313
renovate:
1414
datasource: github-releases
1515
package: FiloSottile/age
16-
extractVersion: ^v(?<version>.+?)$
16+
extractVersion: ^v(?<version>.+?)$
17+
priority: medium

tools/ah/manifest.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: ah
22
version: "1.14.0"
33
check: ${binary} version | grep ^Version | cut -d' ' -f2
44
platforms:
5-
- linux/amd64
6-
- linux/arm64
5+
- linux/amd64
6+
- linux/arm64
77
tags:
8-
- category/operations
9-
- lang/go
10-
- type/cli
8+
- category/operations
9+
- lang/go
10+
- type/cli
1111
homepage: https://github.com/artifacthub/hub
1212
description: Find, install and publish Kubernetes packages
1313
renovate:
1414
datasource: github-releases
1515
package: artifacthub/hub
16-
extractVersion: ^v(?<version>.+?)$
16+
extractVersion: ^v(?<version>.+?)$
17+
priority: low

tools/aiac/manifest.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: aiac
22
version: "2.4.0"
33
check: ${binary} version | cut -d' ' -f3
44
platforms:
5-
- linux/amd64
6-
- linux/arm64
5+
- linux/amd64
6+
- linux/arm64
77
tags:
8-
- category/development
9-
- lang/go
10-
- type/cli
8+
- category/development
9+
- lang/go
10+
- type/cli
1111
homepage: https://github.com/gofireflyio/aiac
1212
description: Artificial Intelligence Infrastructure-as-Code Generator
1313
renovate:
1414
datasource: github-releases
1515
package: gofireflyio/aiac
16-
extractVersion: ^v(?<version>.+?)$
16+
extractVersion: ^v(?<version>.+?)$
17+
priority: low

tools/ansi/manifest.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ name: ansi
22
version: "3.0.1"
33
check: "" # No version parameter
44
tags:
5-
- type/cli
6-
- terminal
7-
- lang/shell
8-
- state/stale
5+
- type/cli
6+
- terminal
7+
- lang/shell
8+
- state/stale
99
homepage: https://github.com/fidian/ansi
1010
description: ANSI escape codes in pure bash
1111
renovate:
1212
datasource: github-tags
13-
package: fidian/ansi
13+
package: fidian/ansi
14+
priority: low

tools/apk/manifest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ description: Alpine package manager
1111
renovate:
1212
datasource: github-tags
1313
package: alpinelinux/apk-tools
14-
extractVersion: ^v(?<version>.+?)$
14+
extractVersion: ^v(?<version>.+?)$
15+
priority: medium

tools/apko/manifest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ description: Build OCI images using APK directly without Dockerfile
1818
renovate:
1919
datasource: github-tags
2020
package: chainguard-dev/apko
21-
extractVersion: ^v(?<version>.+?)$
21+
extractVersion: ^v(?<version>.+?)$
22+
priority: medium

0 commit comments

Comments
 (0)