update ci
This commit is contained in:
parent
7813b190d6
commit
0e0813c1a2
|
|
@ -0,0 +1,33 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: Integration-Tests Execution
|
||||||
|
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 1
|
||||||
|
env:
|
||||||
|
CI_JOB: 'ansible-test-molecule-${{ github.event.repository.name }}'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo apt install curl
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Starting Tests
|
||||||
|
run: curl -XPOST https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}?token=${{ secrets.CI_TOKEN_RW }}
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: You can pull the current logs at this URL
|
||||||
|
run: >
|
||||||
|
echo "You can pull the current logs at this URL:"
|
||||||
|
echo " > https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}/tail?token=${CI_TOKEN_RO}"
|
||||||
|
env:
|
||||||
|
CI_TOKEN_RO: "2b7bba30-9a37-4b57-be8a-99e23016ce70"
|
||||||
Loading…
Reference in New Issue