Skip to content

Commit

Permalink
Solaris, riscv64 and CentO6 fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <sxa@redhat.com>
  • Loading branch information
sxa committed Mar 11, 2024
1 parent a19d014 commit ef9866f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,12 @@
when:
- ansible_distribution != "Alpine"
- ansible_distribution != "Solaris"
- ansible_architecture != "riscv64"
tags: build_tools
- role: adoptopenjdk_install # Current LTS
jdk_version: 21
when:
- ansible_architecture != "Solaris"
- ansible_distribution != "Solaris"
- ansible_architecture != "armv7l"
tags: build_tools
- role: Nagios_Plugins # AdoptOpenJDK Infrastructure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
tags: adoptopenjdk_install
block:
- name: Download latest JDK {{ jdk_version }} release (CentOS6)
command: wget -q '{{ api_url }}/v3/binary/latest/{{ jdk_version }}/ga/{{ platformLinux }}/{{ api_architecture }}/jdk/{{ bootjdk }}/normal/{{ vendor }}?project=jdk' -O /tmp/jdk{{ jdk_version }}.tar.gz
command: wget -q '{{ api_url }}/v3/binary/latest/{{ jdk_version }}/ga/{{ platformLinux }}/{{ api_architecture }}/jdk/{{ bootjdk }}/normal/{{ api_vendor }}?project=jdk' -O /tmp/jdk{{ jdk_version }}.tar.gz
vars:
ansible_python_interpreter: /usr/local/python2/bin/python2.7
retries: 3
Expand Down Expand Up @@ -433,7 +433,7 @@
until: adoptopenjdk_download is not failed

- name: Get Signature File Link (Solaris)
shell: curl -s '{{ api_url }}/v3/assets/latest/{{ jdk_version }}/{{ bootjdk }}?architecture={{ api_architecture }}&image_type=jdk&os=solaris&vendor={{ vendor }}' | grep signature_link | awk '{split($0,a,"\""); print a[4]}'
shell: curl -s '{{ api_url }}/v3/assets/latest/{{ jdk_version }}/{{ bootjdk }}?architecture={{ api_architecture }}&image_type=jdk&os=solaris&vendor={{ api_vendor }}' | grep signature_link | awk '{split($0,a,"\""); print a[4]}'
register: sig_output

- name: GPG Signature verification (Solaris)
Expand Down

0 comments on commit ef9866f

Please sign in to comment.