fix(CI): Break up workflows and use templates

This commit is contained in:
Timothy Stewart
2023-10-29 15:22:05 -05:00
parent 4066ca7b6c
commit 71821b2be3
4 changed files with 72 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
--- ---
name: Molecule Template name: Molecule Default
on: on:
workflow_call: workflow_call:
jobs: jobs:
@@ -78,7 +78,7 @@ jobs:
- name: Upload log files - name: Upload log files
if: always() # do this even if a step before has failed if: always() # do this even if a step before has failed
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # 3.1.1 uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3
with: with:
name: logs name: logs
path: | path: |

View File

@@ -1,5 +1,5 @@
--- ---
name: Molecule Template name: Molecule IPv6
on: on:
workflow_call: workflow_call:
jobs: jobs:
@@ -78,7 +78,7 @@ jobs:
- name: Upload log files - name: Upload log files
if: always() # do this even if a step before has failed if: always() # do this even if a step before has failed
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # 3.1.1 uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3
with: with:
name: logs name: logs
path: | path: |

View File

@@ -1,5 +1,5 @@
--- ---
name: Molecule Template name: Molecule Single Node
on: on:
workflow_call: workflow_call:
jobs: jobs:
@@ -78,7 +78,7 @@ jobs:
- name: Upload log files - name: Upload log files
if: always() # do this even if a step before has failed if: always() # do this even if a step before has failed
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # 3.1.1 uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3
with: with:
name: logs name: logs
path: | path: |

View File

@@ -2,129 +2,119 @@
# This file is autogenerated by pip-compile with Python 3.11 # This file is autogenerated by pip-compile with Python 3.11
# by the following command: # by the following command:
# #
# pip-compile requirements.in # pip-compile
# #
ansible-compat==3.0.1 ansible-compat==4.1.10
# via molecule # via molecule
ansible-core==2.15.4 ansible-core==2.15.5
# via # via
# -r requirements.in # -r requirements.in
# ansible-compat # ansible-compat
arrow==1.2.3 # molecule
# via jinja2-time attrs==23.1.0
attrs==22.1.0 # via
# via jsonschema # jsonschema
binaryornot==0.4.4 # referencing
# via cookiecutter bracex==2.4
cachetools==5.2.0 # via wcmatch
cachetools==5.3.2
# via google-auth # via google-auth
certifi==2022.9.24 certifi==2023.7.22
# via # via
# kubernetes # kubernetes
# requests # requests
cffi==1.15.1 cffi==1.16.0
# via cryptography # via cryptography
cfgv==3.3.1 cfgv==3.4.0
# via pre-commit # via pre-commit
chardet==5.0.0 charset-normalizer==3.3.1
# via binaryornot
charset-normalizer==2.1.1
# via requests # via requests
click==8.1.3 click==8.1.7
# via # via
# click-help-colors # click-help-colors
# cookiecutter
# molecule # molecule
click-help-colors==0.9.1 click-help-colors==0.9.2
# via molecule # via molecule
commonmark==0.9.1 cryptography==41.0.5
# via rich
cookiecutter==2.1.1
# via molecule
cryptography==38.0.3
# via ansible-core # via ansible-core
distlib==0.3.6 distlib==0.3.7
# via virtualenv # via virtualenv
distro==1.8.0 distro==1.8.0
# via selinux # via selinux
enrich==1.2.7 enrich==1.2.7
# via molecule # via molecule
filelock==3.8.0 filelock==3.13.0
# via virtualenv # via virtualenv
google-auth==2.14.0 google-auth==2.23.3
# via kubernetes # via kubernetes
identify==2.5.8 identify==2.5.31
# via pre-commit # via pre-commit
idna==3.4 idna==3.4
# via requests # via requests
jinja2==3.1.2 jinja2==3.1.2
# via # via
# ansible-core # ansible-core
# cookiecutter
# jinja2-time
# molecule # molecule
# molecule-vagrant # molecule-vagrant
jinja2-time==0.2.0
# via cookiecutter
jmespath==1.0.1 jmespath==1.0.1
# via -r requirements.in # via -r requirements.in
jsonpatch==1.33 jsonpatch==1.33
# via -r requirements.in # via -r requirements.in
jsonpointer==2.3 jsonpointer==2.4
# via jsonpatch # via jsonpatch
jsonschema==4.17.0 jsonschema==4.19.1
# via # via
# ansible-compat # ansible-compat
# molecule # molecule
kubernetes==25.3.0 jsonschema-specifications==2023.7.1
# via jsonschema
kubernetes==28.1.0
# via -r requirements.in # via -r requirements.in
markupsafe==2.1.1 markdown-it-py==3.0.0
# via rich
markupsafe==2.1.3
# via jinja2 # via jinja2
molecule==4.0.4 mdurl==0.1.2
# via markdown-it-py
molecule==6.0.2
# via # via
# -r requirements.in # -r requirements.in
# molecule-vagrant # molecule-vagrant
molecule-vagrant==1.0.0 molecule-vagrant==2.0.0
# via -r requirements.in # via -r requirements.in
netaddr==0.9.0 netaddr==0.9.0
# via -r requirements.in # via -r requirements.in
nodeenv==1.7.0 nodeenv==1.8.0
# via pre-commit # via pre-commit
oauthlib==3.2.2 oauthlib==3.2.2
# via requests-oauthlib # via
packaging==21.3 # kubernetes
# requests-oauthlib
packaging==23.2
# via # via
# ansible-compat # ansible-compat
# ansible-core # ansible-core
# molecule # molecule
platformdirs==2.5.2 platformdirs==3.11.0
# via virtualenv # via virtualenv
pluggy==1.0.0 pluggy==1.3.0
# via molecule # via molecule
pre-commit==2.21.0 pre-commit==3.5.0
# via -r requirements.in # via -r requirements.in
pre-commit-hooks==4.5.0 pre-commit-hooks==4.5.0
# via -r requirements.in # via -r requirements.in
pyasn1==0.4.8 pyasn1==0.5.0
# via # via
# pyasn1-modules # pyasn1-modules
# rsa # rsa
pyasn1-modules==0.2.8 pyasn1-modules==0.3.0
# via google-auth # via google-auth
pycparser==2.21 pycparser==2.21
# via cffi # via cffi
pygments==2.13.0 pygments==2.16.1
# via rich # via rich
pyparsing==3.0.9
# via packaging
pyrsistent==0.19.2
# via jsonschema
python-dateutil==2.8.2 python-dateutil==2.8.2
# via # via kubernetes
# arrow
# kubernetes
python-slugify==6.1.2
# via cookiecutter
python-vagrant==1.0.0 python-vagrant==1.0.0
# via molecule-vagrant # via molecule-vagrant
pyyaml==6.0.1 pyyaml==6.0.1
@@ -132,46 +122,53 @@ pyyaml==6.0.1
# -r requirements.in # -r requirements.in
# ansible-compat # ansible-compat
# ansible-core # ansible-core
# cookiecutter
# kubernetes # kubernetes
# molecule # molecule
# molecule-vagrant # molecule-vagrant
# pre-commit # pre-commit
requests==2.28.1 referencing==0.30.2
# via
# jsonschema
# jsonschema-specifications
requests==2.31.0
# via # via
# cookiecutter
# kubernetes # kubernetes
# requests-oauthlib # requests-oauthlib
requests-oauthlib==1.3.1 requests-oauthlib==1.3.1
# via kubernetes # via kubernetes
resolvelib==0.8.1 resolvelib==1.0.1
# via ansible-core # via ansible-core
rich==12.6.0 rich==13.6.0
# via # via
# enrich # enrich
# molecule # molecule
rpds-py==0.10.6
# via
# jsonschema
# referencing
rsa==4.9 rsa==4.9
# via google-auth # via google-auth
ruamel-yaml==0.17.21 ruamel-yaml==0.18.3
# via pre-commit-hooks # via pre-commit-hooks
selinux==0.2.1 ruamel-yaml-clib==0.2.8
# via ruamel-yaml
selinux==0.3.0
# via molecule-vagrant # via molecule-vagrant
six==1.16.0 six==1.16.0
# via # via
# google-auth
# kubernetes # kubernetes
# python-dateutil # python-dateutil
subprocess-tee==0.4.1 subprocess-tee==0.4.1
# via ansible-compat # via ansible-compat
text-unidecode==1.3 urllib3==1.26.18
# via python-slugify
urllib3==1.26.12
# via # via
# kubernetes # kubernetes
# requests # requests
virtualenv==20.16.6 virtualenv==20.24.6
# via pre-commit # via pre-commit
websocket-client==1.4.2 wcmatch==8.5
# via molecule
websocket-client==1.6.4
# via kubernetes # via kubernetes
# The following packages are considered to be unsafe in a requirements file: # The following packages are considered to be unsafe in a requirements file: