Testing Molecule #1
@@ -42,11 +42,11 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Install Molecule
|
||||
if: steps.check.outputs.needs_update == 'true'
|
||||
# if: steps.check.outputs.needs_update == 'true'
|
||||
run: pip install ansible molecule molecule-plugins[podman]
|
||||
|
||||
- name: Install Ansible collections
|
||||
if: steps.check.outputs.needs_update == 'true'
|
||||
# if: steps.check.outputs.needs_update == 'true'
|
||||
run: ansible-galaxy collection install containers.podman
|
||||
|
||||
- name: Update gitea_version
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
echo "Verified: gitea_version updated to $UPDATED"
|
||||
|
||||
- name: Run Molecule tests
|
||||
if: steps.check.outputs.needs_update == 'true'
|
||||
# if: steps.check.outputs.needs_update == 'true'
|
||||
working-directory: ansible_role_scm
|
||||
run: molecule test
|
||||
|
||||
|
||||
17
.github/workflows/trigger.yml
vendored
Normal file
17
.github/workflows/trigger.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Calling Docusaurus
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
dispatch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repository Dispatch
|
||||
uses: peter-evans/repository-dispatch@v4
|
||||
with:
|
||||
token: ${{ secrets.PUBLIC_REPOSITORY_DISPATCH }}
|
||||
repository: gianet-us/www_gianet_us
|
||||
event-type: trigger-docs-update
|
||||
Reference in New Issue
Block a user