test both ci's end-to-end
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Ansible Test / CentOS9-Ansible-Pipeline (push) Failing after 7s
Ansible Test / Fedora39-Ansible-Pipeline (push) Failing after 7s
Ansible Test / Debian11-Ansible-Pipeline (push) Failing after 6s
Ansible Test / Debian12-Ansible-Pipeline (push) Failing after 7s
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Ansible Test / CentOS9-Ansible-Pipeline (push) Failing after 7s
Ansible Test / Fedora39-Ansible-Pipeline (push) Failing after 7s
Ansible Test / Debian11-Ansible-Pipeline (push) Failing after 6s
Ansible Test / Debian12-Ansible-Pipeline (push) Failing after 7s
This commit is contained in:
parent
1d252f41bc
commit
d49f3c6d4c
92
.drone.yml
92
.drone.yml
@ -1,16 +1,13 @@
|
|||||||
|
# CENTOS 9
|
||||||
|
#########################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: run_ansible_tests_centos9
|
name: CentOS_9-Ansible-Pipeline
|
||||||
|
|
||||||
global-variables:
|
|
||||||
ansible_image : &ansible_image "gitea.thezengarden.net/podman/ansible-dev/centos9:release"
|
|
||||||
ansible_inventory : &ansible_inventory "-i 127.0.0.1, --connection=local"
|
|
||||||
ansible_playbook : &ansible_playbook "baseos.yml"
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_INVENTORY : *ansible_inventory
|
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
||||||
ANSIBLE_PLAYBOOK : *ansible_playbook
|
ANSIBLE_PLAYBOOK : baseos.yml
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -20,41 +17,38 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
commands:
|
commands:
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
- name: "ansible_galaxy_requirements"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-galaxy install -r requirements.yml
|
- ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
- name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections
|
- ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
|
||||||
|
|
||||||
|
# FEDORA 39
|
||||||
|
#########################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: run_ansible_tests_fedora39
|
name: Fedora_39-Ansible-Pipeline
|
||||||
|
|
||||||
global-variables:
|
|
||||||
ansible_image : &ansible_image "gitea.thezengarden.net/podman/ansible-dev/fedora39:release"
|
|
||||||
ansible_inventory : &ansible_inventory "-i 127.0.0.1, --connection=local"
|
|
||||||
ansible_playbook : &ansible_playbook "baseos.yml"
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_INVENTORY : *ansible_inventory
|
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
||||||
ANSIBLE_PLAYBOOK : *ansible_playbook
|
ANSIBLE_PLAYBOOK : baseos.yml
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -64,41 +58,38 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
||||||
commands:
|
commands:
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
- name: "ansible_galaxy_requirements"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-galaxy install -r requirements.yml
|
- ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
- name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections
|
- ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
|
||||||
|
|
||||||
|
# DEBIAN 11
|
||||||
|
#########################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: run_ansible_tests_debian11
|
name: Debian_11-Ansible-Pipeline
|
||||||
|
|
||||||
global-variables:
|
|
||||||
ansible_image : &ansible_image "gitea.thezengarden.net/podman/ansible-dev/debian11:release"
|
|
||||||
ansible_inventory : &ansible_inventory "-i 127.0.0.1, --connection=local"
|
|
||||||
ansible_playbook : &ansible_playbook "baseos.yml"
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_INVENTORY : *ansible_inventory
|
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
||||||
ANSIBLE_PLAYBOOK : *ansible_playbook
|
ANSIBLE_PLAYBOOK : baseos.yml
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -108,41 +99,38 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
||||||
commands:
|
commands:
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
- name: "ansible_galaxy_requirements"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-galaxy install -r requirements.yml
|
- ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
- name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections
|
- ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
|
||||||
|
|
||||||
|
# DEBIAN 12
|
||||||
|
#########################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: run_ansible_tests_debian12
|
name: Debian_12-Ansible-Pipeline
|
||||||
|
|
||||||
global-variables:
|
|
||||||
ansible_image : &ansible_image "gitea.thezengarden.net/podman/ansible-dev/debian12:release"
|
|
||||||
ansible_inventory : &ansible_inventory "-i 127.0.0.1, --connection=local"
|
|
||||||
ansible_playbook : &ansible_playbook "baseos.yml"
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_INVENTORY : *ansible_inventory
|
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
||||||
ANSIBLE_PLAYBOOK : *ansible_playbook
|
ANSIBLE_PLAYBOOK : baseos.yml
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -152,23 +140,23 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
||||||
commands:
|
commands:
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
- name: "ansible_galaxy_requirements"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-galaxy install -r requirements.yml
|
- ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
- name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections
|
- ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
image: *ansible_image
|
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
111
.gitea/workflows/ansible-test.yml
Normal file
111
.gitea/workflows/ansible-test.yml
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
name: Ansible Test
|
||||||
|
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# CENTOS 9
|
||||||
|
#########################
|
||||||
|
CentOS9-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-centos9
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Environment Verify
|
||||||
|
run: |
|
||||||
|
git log -1
|
||||||
|
ansible --version
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy install -r 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 baseos.yml
|
||||||
|
|
||||||
|
|
||||||
|
# FEDORA 39
|
||||||
|
#########################
|
||||||
|
Fedora39-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-fedora39
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Environment Verify
|
||||||
|
run: |
|
||||||
|
git log -1
|
||||||
|
ansible --version
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy install -r 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 baseos.yml
|
||||||
|
|
||||||
|
|
||||||
|
# DEBIAN 11
|
||||||
|
#########################
|
||||||
|
Debian11-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-debian11
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Environment Verify
|
||||||
|
run: |
|
||||||
|
git log -1
|
||||||
|
ansible --version
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy install -r 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 baseos.yml
|
||||||
|
|
||||||
|
|
||||||
|
# DEBIAN 12
|
||||||
|
#########################
|
||||||
|
Debian12-Ansible-Pipeline:
|
||||||
|
runs-on: ansible-dev-debian12
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Ansible Environment Verify
|
||||||
|
run: |
|
||||||
|
git log -1
|
||||||
|
ansible --version
|
||||||
|
ansible-lint --version
|
||||||
|
|
||||||
|
- name: Ansible Galaxy Requirements Install
|
||||||
|
run: |
|
||||||
|
ansible-galaxy install -r 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 baseos.yml
|
@ -4,7 +4,7 @@ collections:
|
|||||||
- name: jchristianh.basos
|
- name: jchristianh.basos
|
||||||
source: https://gitea.thezengarden.net/ansible_collections/ansible-collection-baseos.git
|
source: https://gitea.thezengarden.net/ansible_collections/ansible-collection-baseos.git
|
||||||
type: git
|
type: git
|
||||||
version: main
|
version: testing
|
||||||
|
|
||||||
# External Collections
|
# External Collections
|
||||||
- name: community.general
|
- name: community.general
|
||||||
|
Loading…
x
Reference in New Issue
Block a user