move distribution to separate workflow
All checks were successful
All checks were successful
removed a couple steps to save time
This commit is contained in:
parent
b9e155feeb
commit
2b617f52a5
@ -9,119 +9,6 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Where are we?
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Ansible Version
|
|
||||||
run: |
|
|
||||||
ansible --version
|
|
||||||
|
|
||||||
- name: Ansible-lint Version
|
|
||||||
run: |
|
|
||||||
ansible-lint --version
|
|
||||||
|
|
||||||
- name: Ansible Galaxy Requirements Install
|
|
||||||
run: |
|
|
||||||
ansible-galaxy collection install -r collections/requirements.yml
|
|
||||||
|
|
||||||
- name: Run Ansible-Lint
|
|
||||||
run: |
|
|
||||||
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
|
||||||
|
|
||||||
- name: Run Ansible-Playbook
|
|
||||||
run: |
|
|
||||||
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
|
||||||
|
|
||||||
|
|
||||||
Fedora39-Ansible-Pipeline:
|
|
||||||
runs-on: ansible-dev-fedora39
|
|
||||||
steps:
|
|
||||||
- name: Clone repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Where are we?
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Ansible Version
|
|
||||||
run: |
|
|
||||||
ansible --version
|
|
||||||
|
|
||||||
- name: Ansible-lint Version
|
|
||||||
run: |
|
|
||||||
ansible-lint --version
|
|
||||||
|
|
||||||
- name: Ansible Galaxy Requirements Install
|
|
||||||
run: |
|
|
||||||
ansible-galaxy collection install -r collections/requirements.yml
|
|
||||||
|
|
||||||
- name: Run Ansible-Lint
|
|
||||||
run: |
|
|
||||||
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
|
||||||
|
|
||||||
- name: Run Ansible-Playbook
|
|
||||||
run: |
|
|
||||||
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
|
||||||
|
|
||||||
|
|
||||||
Debian11-Ansible-Pipeline:
|
|
||||||
runs-on: ansible-dev-debian11
|
|
||||||
steps:
|
|
||||||
- name: Clone repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Where are we?
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Ansible Version
|
|
||||||
run: |
|
|
||||||
ansible --version
|
|
||||||
|
|
||||||
- name: Ansible-lint Version
|
|
||||||
run: |
|
|
||||||
ansible-lint --version
|
|
||||||
|
|
||||||
- name: Ansible Galaxy Requirements Install
|
|
||||||
run: |
|
|
||||||
ansible-galaxy collection install -r collections/requirements.yml
|
|
||||||
|
|
||||||
- name: Run Ansible-Lint
|
|
||||||
run: |
|
|
||||||
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
|
||||||
|
|
||||||
- name: Run Ansible-Playbook
|
|
||||||
run: |
|
|
||||||
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
|
||||||
|
|
||||||
|
|
||||||
Debian12-Ansible-Pipeline:
|
|
||||||
runs-on: ansible-dev-debian12
|
|
||||||
steps:
|
|
||||||
- name: Clone repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Where are we?
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Ansible Version
|
- name: Ansible Version
|
||||||
run: |
|
run: |
|
||||||
ansible --version
|
ansible --version
|
||||||
|
30
.gitea/workflows/ansible-debian11.yml
Normal file
30
.gitea/workflows/ansible-debian11.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Ansible Test
|
||||||
|
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Debian11-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-debian11
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Version
|
||||||
|
run: |
|
||||||
|
ansible --version
|
||||||
|
|
||||||
|
- name: Ansible-lint Version
|
||||||
|
run: |
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy collection install -r collections/requirements.yml
|
||||||
|
|
||||||
|
- name: Run Ansible-Lint
|
||||||
|
run: |
|
||||||
|
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
|
- name: Run Ansible-Playbook
|
||||||
|
run: |
|
||||||
|
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
30
.gitea/workflows/ansible-debian12.yml
Normal file
30
.gitea/workflows/ansible-debian12.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Ansible Test
|
||||||
|
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Debian12-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-debian12
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Version
|
||||||
|
run: |
|
||||||
|
ansible --version
|
||||||
|
|
||||||
|
- name: Ansible-lint Version
|
||||||
|
run: |
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy collection install -r collections/requirements.yml
|
||||||
|
|
||||||
|
- name: Run Ansible-Lint
|
||||||
|
run: |
|
||||||
|
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
|
- name: Run Ansible-Playbook
|
||||||
|
run: |
|
||||||
|
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
30
.gitea/workflows/ansible-fedora39.yml
Normal file
30
.gitea/workflows/ansible-fedora39.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Ansible Test
|
||||||
|
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Fedora39-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-fedora39
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Version
|
||||||
|
run: |
|
||||||
|
ansible --version
|
||||||
|
|
||||||
|
- name: Ansible-lint Version
|
||||||
|
run: |
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy collection install -r collections/requirements.yml
|
||||||
|
|
||||||
|
- name: Run Ansible-Lint
|
||||||
|
run: |
|
||||||
|
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
|
- name: Run Ansible-Playbook
|
||||||
|
run: |
|
||||||
|
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
Loading…
x
Reference in New Issue
Block a user