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

UnixPB: Add Zulu7 for JDK8 Build bootstrap, make buildJDK.sh use JDK7 #1325

Merged
merged 7 commits into from
May 18, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
- role: nasm # OpenJ9
when: ansible_architecture == 'x86_64'
tags: [build_tools, build_tools_openj9]
- zulu7 # JDK8 Build Bootstrap
- role: adoptopenjdk_install
jdk_version: 8
tags: build_tools
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
##########
# ZULU-7 #
##########

- name: Check if Zulu-7 is already installed in the target location
shell: ls -ld /usr/lib/jvm/zulu7 2>&1
ignore_errors: yes
register: zulu7_installed
when:
- ansible_os_family != "Darwin"
tags: zulu7

# See here for reason to skip_ansible_lint: https://github.com/AdoptOpenJDK/openjdk-infrastructure/pull/1325#issuecomment-627374329
- name: Install latest release if not already installed
shell: mkdir -p /usr/lib/jvm/zulu7 && wget https://cdn.azul.com/zulu/bin/zulu7.38.0.11-ca-jdk7.0.262-linux_x64.tar.gz -O - | tar xzf - -C /usr/lib/jvm/zulu7 --strip-components=1
when:
- ansible_os_family != "Darwin"
- zulu7_installed.rc != 0
tags:
- skip_ansible_lint
- zulu7