File tree Expand file tree Collapse file tree 3 files changed +68
-12
lines changed
Expand file tree Collapse file tree 3 files changed +68
-12
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Release to Ansible Galaxy
3+
4+ on :
5+ push :
6+ tags :
7+ - ' *'
8+
9+ jobs :
10+ release :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : galaxy
14+ uses : robertdebock/galaxy-action@1.0.1
15+ with :
16+ galaxy_api_key : ${{ secrets.galaxy_api_key }}
Original file line number Diff line number Diff line change 99 - cron : ' 0 4 * * 0'
1010
1111jobs :
12- test :
13- runs-on : ubuntu-latest
14- steps :
15- - name : checkout
16- uses : actions/checkout@v2
17- with :
18- path : " ${{ github.repository }}"
19- - name : molecule
20- uses : robertdebock/molecule-action@2.0.0
21- with :
22- image : ${{ matrix.image }}
23- options : " --parallel all"
12+ lint :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : checkout
16+ uses : actions/checkout@v2
17+ - name : molecule
18+ uses : robertdebock/molecule-action@2.0.0
19+ with :
20+ entrypoint : /usr/local/bin/molecule
21+ args : lint
22+ test :
23+ needs :
24+ - lint
25+ runs-on : ubuntu-latest
26+ strategy :
27+ fail-fast : false
28+ matrix :
29+ config :
30+ - image : " debian"
31+ tag : " latest"
32+ - image : " debian"
33+ tag : " testing"
34+ - image : " debian"
35+ tag : " unstable"
36+ - image : " centos"
37+ tag : " 7"
38+ - image : " centos"
39+ tag : " latest"
40+ - image : " fedora"
41+ tag : " 30"
42+ - image : " fedora"
43+ tag : " latest"
44+ - image : " fedora"
45+ tag : " rawhide"
46+ - image : " opensuse"
47+ tag : " latest"
48+ - image : " ubuntu"
49+ tag : " latest"
50+
51+ steps :
52+ - name : checkout
53+ uses : actions/checkout@v2
54+ with :
55+ path : " ${{ github.repository }}"
56+ - name : molecule
57+ uses : robertdebock/molecule-action@2.0.0
58+ with :
59+ image : ${{ matrix.config.image }}
60+ tag : ${{ matrix.config.tag }}
61+ options : " --parallel all"
Original file line number Diff line number Diff line change @@ -53,5 +53,7 @@ provisioner:
5353 defaults :
5454 stdout_callback : yaml
5555 bin_ansible_callbacks : true
56+ verifier :
57+ name : ansible
5658scenario :
5759 name : default
You can’t perform that action at this time.
0 commit comments