This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from kevincoakley/0.9.0
0.9.0
- Loading branch information
Showing
17 changed files
with
139 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
name: Molecule Test | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
molecule_distro: ['centos7', 'centos8', 'ubuntu1804', 'ubuntu2004'] | ||
java_version: ['8', '11'] | ||
include: | ||
- molecule_distro: centos7 | ||
java_version: latest | ||
- molecule_distro: centos8 | ||
java_version: latest | ||
- molecule_distro: ubuntu2004 | ||
java_version: 13 | ||
- molecule_distro: ubuntu2004 | ||
java_version: 14 | ||
|
||
env: | ||
ANSIBLE_CALLBACK_WHITELIST: profile_tasks | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install ansible ansible-lint flake8 molecule molecule-docker docker yamllint | ||
ansible --version | ||
ansible-lint --version | ||
molecule --version | ||
- name: Test with molecule | ||
run: | | ||
molecule test --all | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.molecule_distro }} | ||
JAVA_VERSION: ${{ matrix.java_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
*.retry | ||
.cache/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
warn_list: | ||
- internal-error | ||
- role-name | ||
skip_list: | ||
- yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Verify | ||
hosts: all | ||
become: true | ||
|
||
tasks: | ||
- name: Verify that Zeppelin is running on port 8080 | ||
uri: | ||
url: http://127.0.0.1:8080 | ||
status_code: 200 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 | ||
- name: Ensure 'man' directory exists. | ||
file: | ||
path: /usr/share/man/man1 | ||
state: directory | ||
recurse: true | ||
when: ansible_distribution == 'Ubuntu' | ||
|
||
- name: fail on unsupported java version (18.04) | ||
fail: | ||
msg: "Java version must be 8 or 11" | ||
when: | ||
- zeppelin_java_version|string not in ["8", "11"] | ||
- ansible_distribution_version == "18.04" | ||
|
||
- name: fail on unsupported java version (20.04) | ||
fail: | ||
msg: "Java version must be 8, 11, 13 or 14" | ||
when: | ||
- zeppelin_java_version|string not in ["8", "11", "13", "14"] | ||
- ansible_distribution_version == "20.04" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
- name: fail on unsupported java version (RedHat 7) | ||
fail: | ||
msg: "Java version must be 7, 8, 11 or latest" | ||
when: | ||
- zeppelin_java_version|string not in ["7", "8", "11", "latest"] | ||
- ansible_distribution_major_version == "7" | ||
|
||
- name: fail on unsupported java version (RedHat 8) | ||
fail: | ||
msg: "Java version must be 8, 11 or latest" | ||
when: | ||
- zeppelin_java_version|string not in ["8", "11", "latest"] | ||
- ansible_distribution_major_version == "8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
--- | ||
zeppelin_java_package: | ||
11: openjdk-11-jre-headless | ||
8: openjdk-8-jre-headless | ||
"14": openjdk-14-jre-headless | ||
"13": openjdk-13-jre-headless | ||
"11": openjdk-11-jre-headless | ||
"8": openjdk-8-jre-headless | ||
zeppelin_java_package_home: | ||
11: /usr/lib/jvm/java-11-openjdk-amd64 | ||
8: /usr/lib/jvm/java-8-openjdk-amd64/jre | ||
"14": /usr/lib/jvm/java-14-openjdk-amd64 | ||
"13": /usr/lib/jvm/java-13-openjdk-amd64 | ||
"11": /usr/lib/jvm/java-11-openjdk-amd64 | ||
"8": /usr/lib/jvm/java-8-openjdk-amd64/jre | ||
zeppelin_packages: [sudo] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
--- | ||
zeppelin_java_package: | ||
11: java-11-openjdk-headless | ||
8: java-1.8.0-openjdk-headless | ||
7: java-1.7.0-openjdk-headless | ||
latest: java-latest-openjdk-headless | ||
"11": java-11-openjdk-headless | ||
"8": java-1.8.0-openjdk-headless | ||
"7": java-1.7.0-openjdk-headless | ||
zeppelin_java_package_home: | ||
11: /usr/lib/jvm/jre-11 | ||
8: /usr/lib/jvm/jre-1.8.0 | ||
7: /usr/lib/jvm/jre-1.7.0 | ||
latest: /usr/lib/jvm/jre | ||
"11": /usr/lib/jvm/jre-11 | ||
"8": /usr/lib/jvm/jre-1.8.0 | ||
"7": /usr/lib/jvm/jre-1.7.0 | ||
zeppelin_packages: [sudo] |