Skip to content

Commit 8dcf378

Browse files
committed
Add prepare.yml for edpm_sshd molecule tests
The prepare.yml includes the molecule test_deps role which creates the bootc local fact on the molecule instances Signed-off-by: James Slagle <[email protected]>
1 parent e29f3b7 commit 8dcf378

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Copyright 2023 Red Hat, Inc.
3+
# All Rights Reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License. You may obtain
7+
# a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
- name: Prepare test_deps
17+
hosts: all
18+
gather_facts: false
19+
roles:
20+
- role: ../../../../molecule/common/test_deps

roles/edpm_sshd/molecule/default/molecule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ scenario:
2323
- dependency
2424
- destroy
2525
- create
26+
- prepare
2627
- converge
2728
- verify
2829
- destroy

roles/edpm_sshd/molecule/gssapi/molecule.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ scenario:
2525
- dependency
2626
- destroy
2727
- create
28+
- prepare
2829
- converge
2930
- verify
3031
- destroy
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Copyright 2023 Red Hat, Inc.
3+
# All Rights Reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
6+
# not use this file except in compliance with the License. You may obtain
7+
# a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
- name: Prepare test_deps
17+
hosts: all
18+
gather_facts: false
19+
roles:
20+
- role: ../../../../molecule/common/test_deps

0 commit comments

Comments
 (0)