Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
b3856a1e
Commit
b3856a1e
authored
Dec 1, 2022
by
Rafael Guterres Jeffman
Browse files
Options
Downloads
Patches
Plain Diff
Update Github workflow linter and check tools.
Update Github workflow tools to match the versions on Fedora 37.
parent
d043a3bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/docs.yml
+13
-14
13 additions, 14 deletions
.github/workflows/docs.yml
.github/workflows/lint.yml
+4
-4
4 additions, 4 deletions
.github/workflows/lint.yml
with
17 additions
and
18 deletions
.github/workflows/docs.yml
+
13
−
14
View file @
b3856a1e
...
@@ -4,8 +4,8 @@ on:
...
@@ -4,8 +4,8 @@ on:
-
push
-
push
-
pull_request
-
pull_request
jobs
:
jobs
:
check_docs_
29
:
check_docs_
oldest_supported
:
name
:
Check Ansible Documentation with
A
nsible 2.
9
.
name
:
Check Ansible Documentation with
a
nsible
-core
2.
12
.
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v3.1.0
-
uses
:
actions/checkout@v3.1.0
...
@@ -14,15 +14,15 @@ jobs:
...
@@ -14,15 +14,15 @@ jobs:
-
uses
:
actions/setup-python@v4.3.0
-
uses
:
actions/setup-python@v4.3.0
with
:
with
:
python-version
:
'
3.x'
python-version
:
'
3.x'
-
name
:
Install Ansible
2.
9
-
name
:
Install Ansible
2.
12
run
:
|
run
:
|
python -m pip install "ansible
<
2.1
0
"
python -m pip install "ansible
-core >=2.12,<
2.1
3
"
-
name
:
Run ansible-doc-test
-
name
:
Run ansible-doc-test
run
:
|
run
:
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
check_docs_
2_11
:
check_docs_
previous
:
name
:
Check Ansible Documentation with ansible-core 2.1
1
.
name
:
Check Ansible Documentation with ansible-core 2.1
3
.
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v3.1.0
-
uses
:
actions/checkout@v3.1.0
...
@@ -31,15 +31,15 @@ jobs:
...
@@ -31,15 +31,15 @@ jobs:
-
uses
:
actions/setup-python@v4.3.0
-
uses
:
actions/setup-python@v4.3.0
with
:
with
:
python-version
:
'
3.x'
python-version
:
'
3.x'
-
name
:
Install Ansible
2.1
1
-
name
:
Install Ansible
2.1
3
run
:
|
run
:
|
python -m pip install "ansible-core >=2.1
1
,<2.1
2
"
python -m pip install "ansible-core >=2.1
3
,<2.1
4
"
-
name
:
Run ansible-doc-test
-
name
:
Run ansible-doc-test
run
:
|
run
:
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
check_docs_
2_12
:
check_docs_
current
:
name
:
Check Ansible Documentation with ansible-core 2.1
2
.
name
:
Check Ansible Documentation with ansible-core 2.1
4
.
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v3.1.0
-
uses
:
actions/checkout@v3.1.0
...
@@ -48,15 +48,14 @@ jobs:
...
@@ -48,15 +48,14 @@ jobs:
-
uses
:
actions/setup-python@v4.3.0
-
uses
:
actions/setup-python@v4.3.0
with
:
with
:
python-version
:
'
3.x'
python-version
:
'
3.x'
-
name
:
Install Ansible
2.1
2
-
name
:
Install Ansible
2.1
4
run
:
|
run
:
|
python -m pip install "ansible-core >=2.1
2
,<2.1
3
"
python -m pip install "ansible-core >=2.1
4
,<2.1
5
"
-
name
:
Run ansible-doc-test
-
name
:
Run ansible-doc-test
run
:
|
run
:
|
python -m pip install "ansible-core >=2.12,<2.13"
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
check_docs_latest
:
check_docs_
ansible_
latest
:
name
:
Check Ansible Documentation with latest Ansible version.
name
:
Check Ansible Documentation with latest Ansible version.
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/lint.yml
+
4
−
4
View file @
b3856a1e
...
@@ -16,7 +16,7 @@ jobs:
...
@@ -16,7 +16,7 @@ jobs:
python-version
:
"
3.x"
python-version
:
"
3.x"
-
name
:
Run ansible-lint
-
name
:
Run ansible-lint
run
:
|
run
:
|
pip install ansible-core
=
=2.1
1.6
ansible-lint
pip install
"
ansible-core
>
=2.1
4,<2.15"
ansible-lint
find playbooks roles tests -name '*.yml' ! -name "env_*" ! -name "tasks_*" -exec ansible-lint --force-color {} \+
find playbooks roles tests -name '*.yml' ! -name "env_*" ! -name "tasks_*" -exec ansible-lint --force-color {} \+
env
:
env
:
ANSIBLE_MODULE_UTILS
:
plugins/module_utils
ANSIBLE_MODULE_UTILS
:
plugins/module_utils
...
@@ -34,7 +34,7 @@ jobs:
...
@@ -34,7 +34,7 @@ jobs:
with
:
with
:
python-version
:
"
3.x"
python-version
:
"
3.x"
-
name
:
Run yaml-lint
-
name
:
Run yaml-lint
uses
:
ibiqlik/action-yamllint@v1
uses
:
ibiqlik/action-yamllint@v
3.1.
1
pydocstyle
:
pydocstyle
:
name
:
Verify pydocstyle
name
:
Verify pydocstyle
...
@@ -63,7 +63,7 @@ jobs:
...
@@ -63,7 +63,7 @@ jobs:
python-version
:
"
3.x"
python-version
:
"
3.x"
-
name
:
Run flake8
-
name
:
Run flake8
run
:
|
run
:
|
pip install flake8
pip install flake8
flake8-bugbear
flake8
flake8
pylint
:
pylint
:
...
@@ -78,7 +78,7 @@ jobs:
...
@@ -78,7 +78,7 @@ jobs:
python-version
:
"
3.x"
python-version
:
"
3.x"
-
name
:
Run pylint
-
name
:
Run pylint
run
:
|
run
:
|
pip install pylint==2.1
3.7
wrapt==1.14.0
pip install pylint==2.1
4.4
wrapt==1.14.0
pylint plugins roles --disable=import-error
pylint plugins roles --disable=import-error
shellcheck
:
shellcheck
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment