Skip to content

Commit

Permalink
Fix adopt win choco (#93)
Browse files Browse the repository at this point in the history
* Test adoptopenjdk win 13

Signed-off-by: Timur Gadiev <[email protected]>

* Change debug tasks

Signed-off-by: Timur Gadiev <[email protected]>

* Test updated regex

Signed-off-by: Timur Gadiev <[email protected]>

* Change adoptopenjdk_choco_folder

Signed-off-by: Timur Gadiev <[email protected]>

* Test java_package

Signed-off-by: Timur Gadiev <[email protected]>

* Enable all tests

Signed-off-by: Timur Gadiev <[email protected]>

* Updated test (shape m5)

Signed-off-by: Timur Gadiev <[email protected]>
  • Loading branch information
tgadiev authored and pavelpikta committed Oct 6, 2019
1 parent f9310d3 commit beb41b8
Show file tree
Hide file tree
Showing 21 changed files with 72 additions and 68 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
dist: xenial
dist: bionic
sudo: required

language: python
python:
- "2.7"
- "3.7"

services:
- docker
Expand All @@ -13,8 +13,8 @@ before_install:
- git clone https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules

install:
- pip install --upgrade ansible==2.8.* docker molecule==2.22
- pip install git+https://github.com/ansible/ansible-lint.git
- pip3 install --upgrade ansible==2.8.* docker molecule==2.22
- pip3 install git+https://github.com/ansible/ansible-lint.git
- ansible --version
- ansible-lint --version

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Requirements
- 8
- 11
- 12
- 13
- **Supported OS**:
- Ubuntu
- bionic
Expand All @@ -108,6 +109,8 @@ Requirements
- `zulu`
- `adoptopenjdk`

**Notice**: this variable is mandatory in case of installing other distribution than 'openjdk'.

- `java_package` Java package type.

Available:
Expand Down
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ galaxy_info:
platforms:
- name: "Ubuntu"
versions:
- "trusty"
- "xenial"
- "bionic"
- name: "Debian"
Expand All @@ -26,7 +25,8 @@ galaxy_info:
- "Candidate"
- name: "Windows"
versions:
- "all"
- "2016"
- "2019"

galaxy_tags:
- "development"
Expand Down
10 changes: 5 additions & 5 deletions molecule/cloud-aws-adoptopenjdk-11/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-centos7-adoptopenjdk-hotspot-jre-tarball-11
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -32,7 +32,7 @@ platforms:
- name: test-aws-ubuntu18-adoptopenjdk-openj9-jdk-tarball-11
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -51,7 +51,7 @@ platforms:
- name: test-aws-Debian9-adoptopenjdk-hotspot-jdk-repositories-11
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -70,7 +70,7 @@ platforms:
- name: test-aws-centos7-adoptopenjdk-openj9-jre-repositories-11
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -89,7 +89,7 @@ platforms:
- name: test-aws-centos7-adoptopenjdk-local-11
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
10 changes: 5 additions & 5 deletions molecule/cloud-aws-adoptopenjdk-12/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-centos7-adoptopenjdk-openj9-jdk-tarball-12
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -32,7 +32,7 @@ platforms:
- name: test-aws-Debian9-adoptopenjdk-openj9-jre-tarball-12
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -51,7 +51,7 @@ platforms:
- name: test-aws-ubuntu18-adoptopenjdk-hotspot-jdk-repositories-12
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -70,7 +70,7 @@ platforms:
- name: test-aws-Debian9-adoptopenjdk-hotspot-jre-repositories-12
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -90,7 +90,7 @@ platforms:
image: ami-003f19e0e687de1cd
profile_name: epmldi-instance-profile
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
8 changes: 4 additions & 4 deletions molecule/cloud-aws-adoptopenjdk-8/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-Debian9-adoptopenjdk-hotspot-jdk-tarball-8
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -32,7 +32,7 @@ platforms:
- name: test-aws-ubuntu18-adoptopenjdk-openj9-jre-tarball-8
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand All @@ -51,7 +51,7 @@ platforms:
- name: test-aws-centos7-adoptopenjdk-hotspot-jdk-repositories-8
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down Expand Up @@ -89,7 +89,7 @@ platforms:
- name: test-aws-ubuntu18-adoptopenjdk-web-8
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
18 changes: 9 additions & 9 deletions molecule/cloud-aws-adoptopenjdk-windows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ lint:
options:
config-file: .yamllint
platforms:
- name: test-aws-windows2016-adoptopenjdk-tarball-12
- name: test-aws-windows2016-adoptopenjdk-tarball-13
aws_image_id: ami-00a20f508263efd30
platform: windows2016core
aws_region: us-east-1
instance_type: m5a.large
instance_type: m5.large
assign_public_ip: false
spot_price: 0.14
aws_sec_group:
Expand All @@ -27,11 +27,11 @@ platforms:
- jdk
- adoptopenjdk_fallback

- name: test-aws-windows2019-adoptopenjdk-tarball-12
- name: test-aws-windows2019-adoptopenjdk-tarball-13
aws_image_id: ami-0477b9335a5a75438
platform: windows2019core
aws_region: us-east-1
instance_type: m5a.large
instance_type: m5.large
assign_public_ip: false
spot_price: 0.14
aws_sec_group:
Expand All @@ -44,11 +44,11 @@ platforms:
- jre
- adoptopenjdk_fallback

- name: test-aws-windows2016-adoptopenjdk-chocolatey-12
- name: test-aws-windows2016-adoptopenjdk-chocolatey-13
aws_image_id: ami-00a20f508263efd30
platform: windows2016core
aws_region: us-east-1
instance_type: m5a.large
instance_type: m5.large
assign_public_ip: true
spot_price: 0.14
aws_sec_group:
Expand All @@ -61,11 +61,11 @@ platforms:
- jdk
- chocolatey

- name: test-aws-windows2019-adoptopenjdk-chocolatey-12
- name: test-aws-windows2019-adoptopenjdk-chocolatey-13
aws_image_id: ami-0477b9335a5a75438
platform: windows2019core
aws_region: us-east-1
instance_type: m5a.large
instance_type: m5.large
assign_public_ip: true
spot_price: 0.14
aws_sec_group:
Expand All @@ -85,7 +85,7 @@ provisioner:
group_vars:
adoptopenjdk:
java_distribution: adoptopenjdk
java_major_version: 12
java_major_version: 13
jdk:
java_package: jdk
jre:
Expand Down
6 changes: 3 additions & 3 deletions molecule/cloud-aws-direct-11/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-centos7-oracle_java-11-s3
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -31,7 +31,7 @@ platforms:
- name: test-aws-ubuntu18-oracle_java-11-s3-deb
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -49,7 +49,7 @@ platforms:
- name: test-aws-Debian9-oracle_java-11-web-tb
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
6 changes: 3 additions & 3 deletions molecule/cloud-aws-direct-12/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-centos7-oracle_java-12-s3-rpm
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -31,7 +31,7 @@ platforms:
- name: test-aws-ubuntu18-oracle_java-12-s3-deb
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -49,7 +49,7 @@ platforms:
- name: test-aws-Debian9-oracle_java-12-s3-tb
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand Down
2 changes: 1 addition & 1 deletion molecule/cloud-aws-direct-6/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ platforms:
- name: test-aws-ubuntu18-oracle_java-6-tarball
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/cloud-aws-direct-7/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ platforms:
- name: test-aws-Debian9-oracle_java-7-tarball
image: ami-003f19e0e687de1cd
platform: debian9
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
8 changes: 4 additions & 4 deletions molecule/cloud-aws-direct-8/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ platforms:
- name: test-aws-centos7-oracle_java-8-s3-rpm
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -32,7 +32,7 @@ platforms:
- name: test-aws-centos7-oracle_java-8-s3
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -50,7 +50,7 @@ platforms:
- name: test-aws-ubuntu18-oracle_java-8-s3
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
profile_name: epmldi-instance-profile
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
Expand All @@ -68,7 +68,7 @@ platforms:
- name: test-aws-ubuntu18-oracle_java-8-local
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
4 changes: 2 additions & 2 deletions molecule/cloud-aws-openjdk-11/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- name: test-aws-centos7-openjdk-11-repo
image: ami-9887c6e7
platform: centos7
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down Expand Up @@ -46,7 +46,7 @@ platforms:
- name: test-aws-ubuntu18-openjdk-11-repo
image: ami-012fd5eb46f56731f
platform: ubuntu18
instance_type: m5a.large
instance_type: m5.large
region: us-east-1
vpc_subnet_id: subnet-0f2b9cd66faea38af
assign_public_ip: false
Expand Down
Loading

0 comments on commit beb41b8

Please sign in to comment.