Skip to content

Commit 836015b

Browse files
authored
Merge pull request #630 from sap-linuxlab/dev
collection: merge dev to main for release 1.3.5
2 parents 3a0f42b + 5094479 commit 836015b

23 files changed

+205
-303
lines changed
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_general_preconfigure
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_general_preconfigure/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_general_preconfigure/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_general_preconfigure/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_general_preconfigure
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_general_preconfigure
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_ha_install_hana_hsr
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_ha_install_hana_hsr/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_ha_install_hana_hsr/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_ha_install_hana_hsr/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_ha_install_hana_hsr
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_ha_install_hana_hsr
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_ha_pacemaker_cluster
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_ha_pacemaker_cluster/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_ha_pacemaker_cluster/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_ha_pacemaker_cluster/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_ha_pacemaker_cluster
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_ha_pacemaker_cluster
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_hana_install
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_hana_install/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_hana_install/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_hana_install/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_hana_install
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_hana_install
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_hana_preconfigure
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_hana_preconfigure/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_hana_preconfigure/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_hana_preconfigure/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_hana_preconfigure
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_hana_preconfigure
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_hypervisor_node_preconfigure
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_hypervisor_node_preconfigure/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_hypervisor_node_preconfigure/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_hypervisor_node_preconfigure/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_hypervisor_node_preconfigure
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_hypervisor_node_preconfigure
Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
# Workflow for ansible-lint of a role
3+
# Workflow for ansible-lint of a role, using reusable workflow
44

55
name: ansible-lint of the role sap_install_media_detect
66

@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- dev
12+
- github-workflow-test
1213
paths:
1314
- 'roles/sap_install_media_detect/**'
1415
pull_request:
@@ -17,27 +18,16 @@ on:
1718
- dev
1819
paths:
1920
- 'roles/sap_install_media_detect/**'
21+
workflow_dispatch:
22+
branches:
23+
- main
24+
- dev
25+
- github-workflow-test
26+
paths:
27+
- 'roles/sap_install_media_detect/**'
2028

2129
jobs:
22-
ansible-lint:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- name: Check out the code
27-
uses: actions/checkout@main
28-
29-
- name: Set up Python 3
30-
uses: actions/setup-python@main
31-
with:
32-
python-version: '3.9'
33-
34-
- name: Install test dependencies
35-
run: |
36-
pip3 install ansible==7.5.0
37-
pip3 install ansible-compat==3.0.2
38-
pip3 install ansible-core==2.14.5
39-
pip3 install ansible-lint==6.8.6
40-
41-
- name: Run ansible-lint
42-
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_install_media_detect
43-
run: ansible-lint
30+
ansible-lint-exec:
31+
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
32+
with:
33+
role: sap_install_media_detect

0 commit comments

Comments
 (0)