File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 16
16
molecule :
17
17
name : Molecule
18
18
runs-on : ubuntu-20.04
19
+ env :
20
+ NGINX_CRT : ${{ secrets.NGINX_CRT }}
21
+ NGINX_KEY : ${{ secrets.NGINX_KEY }}
19
22
strategy :
20
23
fail-fast : false
21
24
matrix :
@@ -26,24 +29,26 @@ jobs:
26
29
- stable_push
27
30
steps :
28
31
- name : Check out the codebase
32
+ if : ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
29
33
uses : actions/checkout@v3
30
34
31
35
- name : Set up Python 3
36
+ if : ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
32
37
uses : actions/setup-python@v4
33
38
with :
34
39
python-version : 3.x
35
40
36
41
- name : Install Molecule dependencies
42
+ if : ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
37
43
run : pip3 install -r .github/workflows/requirements/requirements_molecule.txt
38
44
39
45
- name : Install Ansible core dependencies
46
+ if : ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
40
47
run : ansible-galaxy install -r .github/workflows/requirements/requirements_ansible.yml
41
48
42
49
- name : Run Molecule tests
43
- if : ${{ env.NGINX_CRT != 0 && env.NGINX_KEY != 0 }}
50
+ if : ${{ !(contains(matrix.scenario, 'plus')) || ( env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
44
51
run : molecule test -s ${{ matrix.scenario }}
45
52
env :
46
53
PY_COLORS : 1
47
54
ANSIBLE_FORCE_COLOR : 1
48
- NGINX_CRT : ${{ secrets.NGINX_CRT }}
49
- NGINX_KEY : ${{ secrets.NGINX_KEY }}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.5.3 (Unreleased)
4
+
5
+ BUG FIXES:
6
+
7
+ GitHub actions should now correctly skip \* plus\* scenarios only when the NGINX Plus license secrets are not present.
8
+
3
9
## 0.5.2 (October 17, 2022)
4
10
5
11
ENHANCEMENTS:
You can’t perform that action at this time.
0 commit comments