Skip to content

Commit 1c3ce50

Browse files
committed
fixup gha
1 parent 76b43fa commit 1c3ce50

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/community.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,25 @@ jobs:
3535
- image: rockylinux/rockylinux:9.4
3636
role:
3737
- name: activemq
38+
path: roles
3839
- name: common
40+
path: collections/alfresco/platform/roles
3941
- name: elasticsearch
42+
path: roles
4043
- name: identity
44+
path: roles
4145
- name: java
46+
path: roles
4247
- name: nginx
48+
path: roles
4349
- name: postgres
50+
path: roles
4451
- name: search
52+
path: roles
4553
- name: tomcat
54+
path: roles
4655
- name: transformers
56+
path: roles
4757
env:
4858
PY_COLORS: 1
4959
PYTHONUNBUFFERED: 1
@@ -74,7 +84,7 @@ jobs:
7484
timeout_minutes: 60
7585
max_attempts: 3
7686
retry_wait_seconds: 10
77-
command: cd roles/${{ matrix.role.name }} && pipenv run molecule test
87+
command: cd ${{ matrix.role.path }}/${{ matrix.role.name }} && pipenv run molecule test
7888

7989
docker_integration:
8090
name: Test ${{ matrix.scenario.name }} scenario on ${{ matrix.molecule_distro.image }}

collections/alfresco/platform/roles/common/molecule/default/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ driver:
66
platforms:
77
- name: common-instance
88
image: $MOLECULE_ROLE_IMAGE
9-
dockerfile: ../../../../tests/molecule/Dockerfile-noprivs.j2
9+
dockerfile: ../../../../../../../tests/molecule/Dockerfile-noprivs.j2
1010
command: "/lib/systemd/systemd"
1111
privileged: true
1212
tmpfs:
@@ -24,7 +24,7 @@ provisioner:
2424
pipelining: True
2525
inventory:
2626
links:
27-
group_vars: ../../../../group_vars
27+
group_vars: ../../../../../../../group_vars
2828
host_vars: host_vars
2929
verifier:
3030
name: testinfra

0 commit comments

Comments
 (0)