Skip to content

Commit

Permalink
[MOLECULE 3.3.0] Drop scenario name in molecule.yml
Browse files Browse the repository at this point in the history
In Molecule 3.x.x it's no longer needed, scenario name is assumed
from its directory name.

Ref.: ansible/molecule#2560

Change-Id: I3b25dae499d4f40851ac3fe0183ee7ab913b7dd7
Issue-ID: OOM-2722
Signed-off-by: Bartek Grzybowski <[email protected]>
  • Loading branch information
bartekgb committed Apr 9, 2021
1 parent d0f80fd commit fc5a01f
Show file tree
Hide file tree
Showing 35 changed files with 0 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ provisioner:
converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
scenario:
name: custom_role
test_sequence:
- lint
- cleanup
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/application/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ provisioner:
app_helm_chart_name: "{{ app_name }}"
helm_version: v2
scenario:
name: default
test_sequence:
- lint
- cleanup
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/application/molecule/helm3/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ provisioner:
converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
scenario:
name: helm3
test_sequence:
- lint
- cleanup
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/application/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ provisioner:
converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
scenario:
name: ubuntu
test_sequence:
- lint
- cleanup
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/certificates/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ provisioner:
links:
group_vars: ../../../../group_vars/
scenario:
name: default
test_sequence:
- lint
- cleanup
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/certificates/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ provisioner:
links:
group_vars: ../../../../group_vars/
scenario:
name: ubuntu
test_sequence:
- lint
- cleanup
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/chartmuseum/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ provisioner:
inventory:
links:
group_vars: ../../../../group_vars
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/chartmuseum/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ provisioner:
playbooks:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests/
2 changes: 0 additions & 2 deletions ansible/roles/dns/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: ubuntu
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/docker/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ provisioner:
host_vars:
infrastructure-server:
cluster_ip: 1.2.3.4
scenario:
name: default
verifier:
name: testinfra
options:
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/docker/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ provisioner:
infrastructure-server:
cluster_ip: 1.2.3.4
remote_tmp: $HOME/.ansible/tmp
scenario:
name: ubuntu
verifier:
name: testinfra
options:
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/helm/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/helm/molecule/helm3/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: helm3
verifier:
name: testinfra
directory: ../default/tests
2 changes: 0 additions & 2 deletions ansible/roles/helm/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests
2 changes: 0 additions & 2 deletions ansible/roles/kubectl/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/kubectl/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ provisioner:
all:
app_name: onap
app_data_path: "/opt/{{ app_name }}"
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests/
2 changes: 0 additions & 2 deletions ansible/roles/nexus/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ provisioner:
inventory:
links:
group_vars: ../../../../group_vars
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/nexus/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ provisioner:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
scenario:
name: ubuntu
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/nfs/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,5 @@ provisioner:
links:
group_vars: ../../../../group_vars
host_vars: host_vars
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/nfs/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ provisioner:
playbooks:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests
2 changes: 0 additions & 2 deletions ansible/roles/nginx/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ provisioner:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
scenario:
name: ubuntu
verifier:
name: testinfra
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ provisioner:
env:
ANSIBLE_ROLES_PATH: ../../../../test/roles
scenario:
name: default
test_sequence:
- lint
- cleanup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ provisioner:
infrastructure-server:
cluster_ip: 6.5.4.3
scenario:
name: ubuntu
test_sequence:
- lint
- cleanup
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/package-repository/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ provisioner:
all:
app_name: moleculetestapp
app_data_path: "/opt/{{ app_name }}"
scenario:
name: ubuntu
verifier:
name: testinfra
options:
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/rancher/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ provisioner:
# ansible_ssh_pass: ${LOCALHOST_ANSIBLE_PASSWORD:-""}
# End of 2)
scenario:
name: default
test_sequence:
- lint
- cleanup
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/resource-data/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@ provisioner:
log: true
env:
ANSIBLE_ROLES_PATH: ../../../../test/roles/
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/resource-data/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ provisioner:
playbooks:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests
2 changes: 0 additions & 2 deletions ansible/roles/rke/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,5 @@ provisioner:
cluster_config_dir: /opt/onap/cluster
options:
e: "app_data_path=/opt/onap"
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/rke/molecule/etcd_storage/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,5 @@ provisioner:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
destroy: ../default/destroy.yml
scenario:
name: etcd_storage
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/setup/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ platforms:
image: ${PLATFORM_DISTRO:-centos}:${DISTRO_VERSION:-7}
provisioner:
name: ansible
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/roles/setup/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ provisioner:
name: ansible
playbooks:
converge: ../default/converge.yml
scenario:
name: ubuntu
verifier:
name: testinfra
directory: ../default/tests/
2 changes: 0 additions & 2 deletions ansible/roles/vncserver/molecule/ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ provisioner:
inventory:
links:
group_vars: ../../../../group_vars
scenario:
name: ubuntu
verifier:
name: testinfra
options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ provisioner:
links:
group_vars: ../../../../group_vars
scenario:
name: default
test_sequence:
- lint
- cleanup
Expand Down
2 changes: 0 additions & 2 deletions ansible/test/play-rke/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,5 @@ provisioner:
env:
ANSIBLE_ROLES_PATH: ../../../../test/roles
ANSIBLE_LIBRARY: ../../../../library
scenario:
name: default
verifier:
name: testinfra
2 changes: 0 additions & 2 deletions ansible/test/play-rke/molecule/helm3/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,5 @@ provisioner:
env:
ANSIBLE_ROLES_PATH: ../../../../test/roles
ANSIBLE_LIBRARY: ../../../../library
scenario:
name: helm3
verifier:
name: testinfra

0 comments on commit fc5a01f

Please sign in to comment.