Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add termurin package install option #720

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions resources/temurin_package.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
provides :temurin_package
unified_mode true

action :install do
apt_repository 'adoptium' do
uri 'https://packages.adoptium.net/artifactory/deb'
distribution "#{node['lsb']['codename']}"
components ['main']
key 'https://packages.adoptium.net/artifactory/api/gpg/key/public'
keyserver 'keyserver.ubuntu.com'
end

package 'temurin-17-jdk'
end
9 changes: 9 additions & 0 deletions test/fixtures/cookbooks/test/recipes/termurin_package.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apt_repository 'adoptium' do
uri 'https://packages.adoptium.net/artifactory/deb'
distribution "#{node['lsb']['codename']}"
components ['main']
key 'https://packages.adoptium.net/artifactory/api/gpg/key/public'
keyserver 'keyserver.ubuntu.com'
end

package 'temurin-17-jdk'
4 changes: 4 additions & 0 deletions todo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# TODO

hotspot --> termurin
openj9 -> Semeru
Loading