File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : Ansible Galaxy import
3
3
on :
4
- push :
5
- tags :
6
- - ' *'
4
+ release :
7
5
jobs :
8
6
galaxy :
9
7
name : Galaxy
15
13
- name : Set up Python 3
16
14
uses : actions/setup-python@v2
17
15
with :
18
- python-version : ' 3.x'
16
+ python-version : 3.x
19
17
20
18
- name : Install Ansible
21
19
run : pip3 install ansible-base==2.10.3
Original file line number Diff line number Diff line change 2
2
name : Molecule CI/CD
3
3
on :
4
4
pull_request :
5
+ branches :
6
+ - main
5
7
push :
6
8
branches :
7
9
- main
10
+ ignore-tags :
11
+ - " *"
8
12
schedule :
9
13
- cron : " 0 0 1 * *"
10
14
jobs :
@@ -25,22 +29,22 @@ jobs:
25
29
- name : Set up Python 3
26
30
uses : actions/setup-python@v2
27
31
with :
28
- python-version : ' 3.x'
32
+ python-version : 3.x
29
33
30
34
- name : Install Molecule dependencies
31
35
run : |
32
36
pip3 install ansible-base==2.10.3
33
37
pip3 install ansible==2.10.3
34
38
pip3 install ansible-lint==4.3.7
35
39
pip3 install yamllint==1.25.0
36
- pip3 install ' molecule[docker]' ==3.2.1
40
+ pip3 install " molecule[docker]" ==3.2.1
37
41
pip3 install docker==4.4.0
38
42
39
43
- name : Run Molecule tests
40
44
run : molecule test -s ${{ matrix.scenario }}
41
- if : contains(${{ matrix.scenario }}, ' plus' ) && !(github.event_name == ' pull_request' && github.event.pull_request.head.repo.fork)
45
+ if : contains(${{ matrix.scenario }}, " plus" ) && !(github.event_name == " pull_request" && github.event.pull_request.head.repo.fork)
42
46
env :
43
- PY_COLORS : ' 1 '
44
- ANSIBLE_FORCE_COLOR : ' 1 '
47
+ PY_COLORS : " 1 "
48
+ ANSIBLE_FORCE_COLOR : " 1 "
45
49
NGINX_CRT : ${{ secrets.NGINX_CRT }}
46
50
NGINX_KEY : ${{ secrets.NGINX_KEY }}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.3.2 (Unreleased)
4
+
5
+ ENHANCEMENTS:
6
+
7
+ The GitHub actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
8
+
3
9
## 0.3.1 (December 22, 2020)
4
10
5
11
ENHANCEMENTS:
You can’t perform that action at this time.
0 commit comments