Skip to content

Commit

Permalink
feat: add asdf supported tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mtweeman committed Nov 5, 2024
1 parent 3a4c292 commit 4a76bb8
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
32 changes: 32 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ actionlint 0.7.0
adr-tools 3.0.0
argocd 2.5.4
asdf-plugin-manager 1.1.1
atmos 1.100.0
awscli 2.8.6
bun 0.2.2
cargo-make 0.36.2
Expand Down Expand Up @@ -85,6 +86,7 @@ idris 1.3.4
java adoptopenjdk-16.0.0+36
julia 1.8.2
just 1.7.0
k3s 1.31.2+k3s1
kind 0.19.0
kotlin 1.7.20
kubectl 1.26.3
Expand All @@ -97,7 +99,9 @@ minikube 1.33.1
nim 1.6.8
nodejs 18.12.0
ocaml 4.14.0
oci 3.49.4
opentofu 1.6.0
packer 1.11.2
perl 5.37.5
php 8.1.12
pnpm 7.26.2
Expand Down Expand Up @@ -167,6 +171,13 @@ dummy 1.2.3
depName: 'asdf-plugin-manager',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.100.0',
datasource: 'github-releases',
packageName: 'cloudposse/atmos',
depName: 'atmos',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '2.8.6',
datasource: 'github-tags',
Expand Down Expand Up @@ -406,6 +417,13 @@ dummy 1.2.3
packageName: 'casey/just',
depName: 'just',
},
{
currentValue: '1.31.2+k3s1',
datasource: 'github-releases',
packageName: 'k3s-io/k3s',
depName: 'k3s',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '0.19.0',
datasource: 'github-releases',
Expand Down Expand Up @@ -486,13 +504,27 @@ dummy 1.2.3
packageName: 'ocaml/ocaml',
depName: 'ocaml',
},
{
currentValue: '3.49.4',
datasource: 'github-releases',
packageName: 'oracle/oci-cli',
depName: 'oci',
extractVersion: '^(?<version>\\S+)',
},
{
currentValue: '1.6.0',
datasource: 'github-releases',
packageName: 'opentofu/opentofu',
depName: 'opentofu',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '1.11.2',
datasource: 'github-releases',
packageName: 'hashicorp/packer',
depName: 'packer',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '5.37.5',
datasource: 'github-tags',
Expand Down
32 changes: 32 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
atmos: {
asdfPluginUrl: 'https://github.com/cloudposse/asdf-atmos',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'cloudposse/atmos',
extractVersion: '^v(?<version>\\S+)',
},
},
awscli: {
asdfPluginUrl: 'https://github.com/MetricMike/asdf-awscli',
config: {
Expand Down Expand Up @@ -416,6 +424,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
packageName: 'casey/just',
},
},
k3s: {
asdfPluginUrl: 'https://github.com/dmpe/asdf-k3s',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'k3s-io/k3s',
extractVersion: '^v(?<version>\\S+)',
},
},
kind: {
asdfPluginUrl: 'https://github.com/johnlayton/asdf-kind',
config: {
Expand Down Expand Up @@ -510,6 +526,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
packageName: 'ocaml/ocaml',
},
},
oci: {
asdfPluginUrl: 'https://github.com/yasn77/asdf-oci',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'oracle/oci-cli',
extractVersion: '^(?<version>\\S+)',
},
},
opentofu: {
asdfPluginUrl: 'https://github.com/virtualroot/asdf-opentofu',
config: {
Expand All @@ -518,6 +542,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
packer: {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-hashicorp',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'hashicorp/packer',
extractVersion: '^v(?<version>\\S+)',
},
},
perl: {
asdfPluginUrl: 'https://github.com/ouest/asdf-perl',
config: {
Expand Down

0 comments on commit 4a76bb8

Please sign in to comment.