-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kogeler <[email protected]>
- Loading branch information
kogeler
committed
May 25, 2024
1 parent
de2adfc
commit a4918be
Showing
15 changed files
with
100 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
ansible-lint==24.5.0 | ||
attrs==23.2.0 | ||
black==24.4.2 | ||
bracex==2.4 | ||
certifi==2024.2.2 | ||
cffi==1.16.0 | ||
charset-normalizer==3.3.2 | ||
click==8.1.7 | ||
click-help-colors==0.9.4 | ||
cryptography==42.0.7 | ||
distro==1.9.0 | ||
enrich==1.2.7 | ||
filelock==3.14.0 | ||
idna==3.7 | ||
importlib_metadata==7.1.0 | ||
Jinja2==3.1.4 | ||
jmespath==1.0.1 | ||
jsonschema==4.22.0 | ||
jsonschema-specifications==2023.12.1 | ||
markdown-it-py==3.0.0 | ||
MarkupSafe==2.1.5 | ||
mdurl==0.1.2 | ||
molecule==24.2.1 | ||
molecule-plugins==23.5.3 | ||
mypy-extensions==1.0.0 | ||
packaging==24.0 | ||
pathspec==0.12.1 | ||
platformdirs==4.2.2 | ||
pluggy==1.5.0 | ||
pycparser==2.22 | ||
Pygments==2.18.0 | ||
PyYAML==6.0.1 | ||
referencing==0.35.1 | ||
resolvelib==1.0.1 | ||
rich==13.7.1 | ||
rpds-py==0.18.1 | ||
ruamel.yaml==0.18.6 | ||
ruamel.yaml.clib==0.2.8 | ||
selinux==0.3.0 | ||
subprocess-tee==0.4.1 | ||
urllib3==2.2.1 | ||
wcmatch==8.5.2 | ||
yamllint==1.35.1 | ||
zipp==3.18.2 | ||
# requests > 2.31.0 brakes Docker Python library | ||
# The fix https://github.com/docker/docker-py/pull/3257/files | ||
# has not been in a release of the Docker Python library | ||
# they should be updated together | ||
# when new versions of the Docker Python library > 7.1.0 are released | ||
docker==7.1.0 | ||
requests==2.31.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,30 +24,26 @@ jobs: | |
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
python-version: '3.12' | ||
- name: Check molecule | ||
run: | | ||
if [ -d "molecule" ]; then | ||
echo "MOLECULE_IS_PRESENT=PRESENT" >> "${GITHUB_ENV}" | ||
fi | ||
working-directory: "${{ github.repository }}/roles/${{ inputs.role-name }}" | ||
- name: Setup molecule | ||
- name: Install Python modules | ||
run: | | ||
pip3 install --no-cache-dir yamllint ansible==${{ inputs.ansible-version }} ansible-lint \ | ||
molecule molecule-plugins[docker] docker \ | ||
jmespath | ||
- name: Print Ansible version | ||
run: ansible --version | ||
- name: Setup LXD | ||
if: ${{ env.MOLECULE_IS_PRESENT && inputs.molecule-driver == 'lxd' }} | ||
# https://github.com/canonical/setup-lxd | ||
uses: canonical/[email protected] | ||
with: | ||
channel: latest/stable | ||
- name: Setup LXD molecule module | ||
if: ${{ env.MOLECULE_IS_PRESENT && inputs.molecule-driver == 'lxd' }} | ||
set -e | ||
echo "ansible==${{ inputs.ansible-version }}" >> requirements-molecule.txt | ||
pip3 install --no-cache-dir -r requirements-molecule.txt | ||
working-directory: "${{ github.repository }}/.github/workflows" | ||
- name: Print versions | ||
run: | | ||
pip3 install --no-cache-dir molecule-lxd | ||
set -e | ||
ansible --version | ||
molecule --version | ||
yamllint --version | ||
ansible-lint --version | ||
- name: Run lint | ||
run: | | ||
set -e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters