remove demo; add ansible tests
Some checks failed
Ansible Test / Explore-Gitea-Actions (push) Failing after 14s
Some checks failed
Ansible Test / Explore-Gitea-Actions (push) Failing after 14s
This commit is contained in:
parent
659f61633d
commit
0836b26a6f
@ -13,15 +13,26 @@ jobs:
|
||||
run: |
|
||||
pwd
|
||||
|
||||
- name: Change to ${{ gitea.workspace }}
|
||||
run: |
|
||||
cd ${{ gitea.workspace }}
|
||||
|
||||
- name: Just a simple ls
|
||||
run: |
|
||||
ls
|
||||
|
||||
- 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
|
||||
|
||||
- name: Run Ansible-Playbook
|
||||
run: |
|
||||
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|
||||
|
@ -1,19 +0,0 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ansible-dev-centos9
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
Loading…
x
Reference in New Issue
Block a user