Skip to content

Commit adfacfe

Browse files
committed
ci: decomission of ansible-lint
The following issue won't be fixed: Closes #1144 Closes #1515 Closes #1570 Part of #1669
1 parent d4fed8c commit adfacfe

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

.github/workflows/static-analysis.yml

-16
Original file line numberDiff line numberDiff line change
@@ -105,22 +105,6 @@ jobs:
105105
- name: Run shellcheck
106106
run: ./src/main/scripts/execute-command.sh shellcheck
107107

108-
run-ansible-lint:
109-
name: Run ansible-lint
110-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
111-
runs-on: ubuntu-20.04
112-
steps:
113-
- name: Clone source code
114-
uses: actions/[email protected] # https://github.com/actions/checkout
115-
with:
116-
# Whether to configure the token or SSH key with the local git config. Default: true
117-
persist-credentials: false
118-
- name: Install ansible-lint
119-
# Pin rich version to workaround https://github.com/ansible/ansible-lint/issues/1795
120-
run: pip3 install --user 'rich<11.0.0' ansible-lint==4.3.7
121-
- name: Run ansible-lint
122-
run: ./src/main/scripts/execute-command.sh ansible-lint
123-
124108
run-enforcer:
125109
name: Run maven-enforcer-plugin
126110
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

src/main/scripts/execute-command.sh

-9
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ ROOTDIR="$(dirname "$0")/../../.."
1414
MVN=mvn
1515

1616
case ${1:-} in
17-
'ansible-lint')
18-
exec ansible-lint \
19-
-x 106 \
20-
"$ROOTDIR/infra/vagrant/provisioning/prod.yml" \
21-
"$ROOTDIR/infra/vagrant/provisioning/vagrant.yml" \
22-
"$ROOTDIR/infra/vagrant/provisioning/bootstrap.yml" \
23-
"$ROOTDIR/src/main/scripts/ci/ansible/deploy.yml"
24-
;;
2517
'check-license')
2618
exec "$MVN" \
2719
--batch-mode \
@@ -88,7 +80,6 @@ case ${1:-} in
8880
echo >&2 "Usage: $0 <command>"
8981
echo >&2
9082
echo >&2 "Where <command> is one of:"
91-
echo >&2 '- ansible-lint'
9283
echo >&2 '- check-license'
9384
echo >&2 '- checkstyle'
9485
echo >&2 '- enforcer'

0 commit comments

Comments
 (0)