Skip to content

Commit

Permalink
Merge pull request #627 from berndfinger/issue-621
Browse files Browse the repository at this point in the history
collection/workflow: Fix workflow issues
  • Loading branch information
berndfinger authored Jan 26, 2024
2 parents 215af79 + 4a249e5 commit 85eb2b2
Show file tree
Hide file tree
Showing 12 changed files with 156 additions and 82 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ansible-lint-sap_general_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_general_preconfigure

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_general_preconfigure/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_general_preconfigure/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_general_preconfigure/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_general_preconfigure

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_general_preconfigure
20 changes: 13 additions & 7 deletions .github/workflows/ansible-lint-sap_ha_install_hana_hsr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_ha_install_hana_hsr

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_ha_install_hana_hsr/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_ha_install_hana_hsr/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_ha_install_hana_hsr/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_install_hana_hsr

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_install_hana_hsr
21 changes: 13 additions & 8 deletions .github/workflows/ansible-lint-sap_ha_pacemaker_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_ha_pacemaker_cluster

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_ha_pacemaker_cluster/**'
pull_request:
Expand All @@ -17,12 +18,16 @@ on:
- dev
paths:
- 'roles/sap_ha_pacemaker_cluster/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_ha_pacemaker_cluster/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_pacemaker_cluster


ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_ha_pacemaker_cluster
20 changes: 13 additions & 7 deletions .github/workflows/ansible-lint-sap_hana_install.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_hana_install

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hana_install/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_hana_install/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hana_install/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_install

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_install
19 changes: 13 additions & 6 deletions .github/workflows/ansible-lint-sap_hana_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_hana_preconfigure

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hana_preconfigure/**'
pull_request:
Expand All @@ -17,10 +18,16 @@ on:
- dev
paths:
- 'roles/sap_hana_preconfigure/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hana_preconfigure/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_preconfigure
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hana_preconfigure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_hypervisor_node_preconfigure

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hypervisor_node_preconfigure/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_hypervisor_node_preconfigure/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_hypervisor_node_preconfigure/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hypervisor_node_preconfigure

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_hypervisor_node_preconfigure
19 changes: 13 additions & 6 deletions .github/workflows/ansible-lint-sap_install_media_detect.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_install_media_detect

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_install_media_detect/**'
pull_request:
Expand All @@ -17,10 +18,16 @@ on:
- dev
paths:
- 'roles/sap_install_media_detect/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_install_media_detect/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_install_media_detect
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_install_media_detect
19 changes: 13 additions & 6 deletions .github/workflows/ansible-lint-sap_maintain_etc_hosts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_maintain_etc_hosts

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_maintain_etc_hosts/**'
pull_request:
Expand All @@ -17,10 +18,16 @@ on:
- dev
paths:
- 'roles/sap_maintain_etc_hosts/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_maintain_etc_hosts/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_maintain_etc_hosts
ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_maintain_etc_hosts
20 changes: 13 additions & 7 deletions .github/workflows/ansible-lint-sap_netweaver_preconfigure.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_netweaver_preconfigure

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_netweaver_preconfigure/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_netweaver_preconfigure/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_netweaver_preconfigure/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_netweaver_preconfigure

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_netweaver_preconfigure
20 changes: 13 additions & 7 deletions .github/workflows/ansible-lint-sap_storage_setup.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

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

name: ansible-lint of the role sap_storage_setup

Expand All @@ -9,6 +9,7 @@ on:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_storage_setup/**'
pull_request:
Expand All @@ -17,11 +18,16 @@ on:
- dev
paths:
- 'roles/sap_storage_setup/**'
workflow_dispatch:
branches:
- main
- dev
- github-workflow-test
paths:
- 'roles/sap_storage_setup/**'

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_storage_setup

ansible-lint-exec:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
with:
role: sap_storage_setup
Loading

0 comments on commit 85eb2b2

Please sign in to comment.