Skip to content

Commit

Permalink
feat(asdf): Add gomplate and cosign to asdf manager (#28876)
Browse files Browse the repository at this point in the history
  • Loading branch information
reegnz authored May 6, 2024
1 parent b5b0a74 commit 88122ec
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ bun 0.2.2
cargo-make 0.36.2
checkov 2.3.3
clojure 1.11.1.1182
cosign 2.2.4
crystal 1.6.1
dart 2.19.3
deno 1.26.2
Expand All @@ -69,6 +70,7 @@ github-cli 2.32.1
gohugo extended_0.104.3
golang 1.19.2
golangci-lint 1.52.2
gomplate 3.11.7
hadolint 2.12.0
haskell 9.4.2
helm 3.10.1
Expand Down Expand Up @@ -182,6 +184,13 @@ dummy 1.2.3
'regex:^(?<major>\\d+?)\\.(?<minor>\\d+?)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
depName: 'clojure',
},
{
currentValue: '2.2.4',
datasource: 'github-releases',
packageName: 'sigstore/cosign',
depName: 'cosign',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.6.1',
datasource: 'github-releases',
Expand Down Expand Up @@ -286,6 +295,13 @@ dummy 1.2.3
depName: 'golangci-lint',
extractVersion: '^v(?<version>.+)',
},
{
currentValue: '3.11.7',
datasource: 'github-releases',
packageName: 'hairyhenderson/gomplate',
depName: 'gomplate',
extractVersion: '^v(?<version>.+)',
},
{
currentValue: '2.12.0',
datasource: 'github-tags',
Expand Down
16 changes: 16 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
versioning: `${regexVersioning.id}:^(?<major>\\d+?)\\.(?<minor>\\d+?)\\.(?<patch>\\d+)\\.(?<build>\\d+)$`,
},
},
cosign: {
asdfPluginUrl: 'https://gitlab.com/wt0f/asdf-cosign',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'sigstore/cosign',
extractVersion: '^v(?<version>\\S+)',
},
},
crystal: {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-crystal',
config: {
Expand Down Expand Up @@ -221,6 +229,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>.+)',
},
},
gomplate: {
asdfPluginUrl: 'https://github.com/sneakybeaky/asdf-gomplate',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'hairyhenderson/gomplate',
extractVersion: '^v(?<version>.+)',
},
},
hadolint: {
asdfPluginUrl: 'https://github.com/looztra/asdf-hadolint.git',
config: {
Expand Down

0 comments on commit 88122ec

Please sign in to comment.