Skip to content

Commit

Permalink
chore(asdf2devbox): Switch to Java 21
Browse files Browse the repository at this point in the history
# Issue

As the Nix package name contains the Java major version, the translation
needs to be updated now that we have switched to version 21

# Fix

Just a static string change. Parsing it from the version number would be
possible, but as it is a LTS release the next update should be in the
far future.
  • Loading branch information
silvestre committed Aug 16, 2024
1 parent c8ae4ed commit c22d598
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 50 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/asdf2devbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
paths:
- ".tool-versions"
- "scripts/asdf2devbox.py"
- ".github/workflows/asdf2devbox.yaml"
jobs:
asdf2devbox:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"cloudfoundry-cli": "8.7.11",
"google-cloud-sdk": "latest",
"ginkgo": "2.20.0",
"temurin-bin-17": "latest",
"ruby": "latest"
},
"shell": {
Expand Down
49 changes: 1 addition & 48 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,7 @@
},
"ruby@latest": {
"last_modified": "2024-07-31T08:48:38Z",
"plugin_version": "0.0.2",
"resolved": "github:NixOS/nixpkgs/c3392ad349a5227f4a3464dce87bcc5046692fce#ruby_3_3",
"source": "devbox-search",
"version": "3.3.4",
Expand Down Expand Up @@ -1928,54 +1929,6 @@
}
}
},
"temurin-bin-17@latest": {
"last_modified": "2024-07-07T07:43:47Z",
"resolved": "github:NixOS/nixpkgs/b60793b86201040d9dee019a05089a9150d08b5b#temurin-bin-17",
"source": "devbox-search",
"version": "17.0.11",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/2d6rfr7i5zk5w8zvfmd1r2l09pmzgz0c-temurin-bin-17.0.11",
"default": true
}
],
"store_path": "/nix/store/2d6rfr7i5zk5w8zvfmd1r2l09pmzgz0c-temurin-bin-17.0.11"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/xk5an6bvr31255wswn1xamx0lvsfn7pf-temurin-bin-17.0.11",
"default": true
}
],
"store_path": "/nix/store/xk5an6bvr31255wswn1xamx0lvsfn7pf-temurin-bin-17.0.11"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/scinqaw1rmfddmmxprnym4ccn5k94c6l-temurin-bin-17.0.11",
"default": true
}
],
"store_path": "/nix/store/scinqaw1rmfddmmxprnym4ccn5k94c6l-temurin-bin-17.0.11"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/8a3b40b63waavsyvdv1y822rv7lqm6kj-temurin-bin-17.0.11",
"default": true
}
],
"store_path": "/nix/store/8a3b40b63waavsyvdv1y822rv7lqm6kj-temurin-bin-17.0.11"
}
}
},
"which@latest": {
"last_modified": "2024-07-07T07:43:47Z",
"resolved": "github:NixOS/nixpkgs/b60793b86201040d9dee019a05089a9150d08b5b#which",
Expand Down
2 changes: 1 addition & 1 deletion scripts/asdf2devbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_installed_version(package):
"credhub": "credhub-cli",
"gcloud": "google-cloud-sdk",
"golang": "go",
"java": "temurin-bin-17",
"java": "temurin-bin-21",
"make": "gnumake",
"yq": "yq-go"
}
Expand Down

0 comments on commit c22d598

Please sign in to comment.