From 7c4842d2d2b68134f920ef0a73bcd7ea3f5585e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Feb 2021 07:45:39 -0600 Subject: [PATCH] Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies (#1248) * Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/ansible-community/ansible-lint/releases) - [Commits](https://github.com/ansible-community/ansible-lint/compare/v5.0.1...v5.0.2) Signed-off-by: dependabot[bot] * fix ansible * fix ansible * looking * maybe baby * adding details Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Admiral Awkbar --- .automation/test/ansible/reports/expected-ANSIBLE.tap | 2 +- dependencies/Pipfile.lock | 7 ++++--- lib/functions/worker.sh | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.automation/test/ansible/reports/expected-ANSIBLE.tap b/.automation/test/ansible/reports/expected-ANSIBLE.tap index 4950f6e2..ed17c3b2 100644 --- a/.automation/test/ansible/reports/expected-ANSIBLE.tap +++ b/.automation/test/ansible/reports/expected-ANSIBLE.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 not ok 1 - ansible_bad_1.yml --- - message: DEBUG Logging initialized to level 10\nDEBUG Options Namespace(colored=False, cwd=PosixPath('/tmp/lint/.automation/test/ansible'), display_relative_path=True, exclude_paths=[], lintables=['/tmp/lint/.automation/test/ansible/ansible_bad_1.yml'], listrules=False, listtags=False, parseable=True, parseable_severity=False, quiet=True, rulesdirs=['/usr/local/lib/python3.9/site-packages/ansiblelint/rules'], skip_list=['empty-string-compare', '204', 'no-changed-when', 'command-instead-of-module', 'command-instead-of-shell', 'no-handler'], tags=[], verbosity=2, warn_list=['experimental'], kinds=[{'requirements' 'requirements.yml'}, {'requirements' '**/meta/requirements.yml'}, {'reno' 'releasenotes/*/*.{yaml,yml}'}, {'playbook' '**/playbooks/*.{yml,yaml}'}, {'playbook' '**/*playbook*.{yml,yaml}'}, {'role' '**/roles/*/'}, {'tasks' '**/tasks/*.{yaml,yml}'}, {'handlers' '**/handlers/*.{yaml,yml}'}, {'vars' '**/{host_vars,group_vars,vars,defaults}/**/*.{yaml,yml}'}, {'meta' '**/meta/main.{yaml,yml}'}, {'yaml' '.config/molecule/config.{yaml,yml}'}, {'yaml' '**/molecule/*/molecule.{yaml,yml}'}, {'playbook' '**/molecule/*/*.{yaml,yml}'}, {'yaml' '**/*.{yaml,yml}'}, {'yaml' '**/.*.{yaml,yml}'}], mock_modules=[], mock_roles=[], loop_var_prefix=None, offline=False, extra_vars=None, format='rich', progressive=False, rulesdir=[], use_default_rules=True, config_file='/tmp/lint/.github/linters/.ansible-lint.yml', version=False)\nDEBUG Loading rules from /usr/local/lib/python3.9/site-packages/ansiblelint/rules\nWARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument /tmp/lint/.automation/test/ansible/ansible_bad_1.yml\nINFO Discovering files to lint git ls-files -z *.yaml *.yml\nINFO Executing syntax check on ansible_bad_1.yml \nWARNING Listing 1 violation(s) that are fatal\ninternal-error ansible_bad_1.yml 24 7\n + message: DEBUG Logging initialized to level 10\nDEBUG Options Namespace(colored=False, cwd=PosixPath('/tmp/lint/.automation/test/ansible'), display_relative_path=True, exclude_paths=[], lintables=['/tmp/lint/.automation/test/ansible/ansible_bad_1.yml'], listrules=False, listtags=False, parseable=True, parseable_severity=False, quiet=True, rulesdirs=['/usr/local/lib/python3.9/site-packages/ansiblelint/rules'], skip_list=['empty-string-compare', '204', 'no-changed-when', 'command-instead-of-module', 'command-instead-of-shell', 'no-handler'], tags=[], verbosity=2, warn_list=['experimental'], kinds=[{'requirements' 'requirements.yml'}, {'requirements' '**/meta/requirements.yml'}, {'reno' 'releasenotes/*/*.{yaml,yml}'}, {'playbook' '**/playbooks/*.{yml,yaml}'}, {'playbook' '**/*playbook*.{yml,yaml}'}, {'role' '**/roles/*/'}, {'tasks' '**/tasks/*.{yaml,yml}'}, {'handlers' '**/handlers/*.{yaml,yml}'}, {'vars' '**/{host_vars,group_vars,vars,defaults}/**/*.{yaml,yml}'}, {'meta' '**/meta/main.{yaml,yml}'}, {'yaml' '.config/molecule/config.{yaml,yml}'}, {'requirements' '**/molecule/*/collections.{yaml,yml}'}, {'yaml' '**/molecule/*/{base,molecule}.{yaml,yml}'}, {'playbook' '**/molecule/*/*.{yaml,yml}'}, {'yaml' '**/*.{yaml,yml}'}, {'yaml' '**/.*.{yaml,yml}'}], mock_modules=[], mock_roles=[], loop_var_prefix=None, offline=False, extra_vars=None, skip_action_validation=True, format='rich', progressive=False, rulesdir=[], use_default_rules=True, config_file='/tmp/lint/.github/linters/.ansible-lint.yml', version=False)\nDEBUG Loading rules from /usr/local/lib/python3.9/site-packages/ansiblelint/rules\nWARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument /tmp/lint/.automation/test/ansible/ansible_bad_1.yml\nINFO Discovering files to lint git ls-files -z *.yaml *.yml\nINFO Executing syntax check on ansible_bad_1.yml \nWARNING Listing 1 violation(s) that are fatal\ninternal-error ansible_bad_1.yml 24 7\n ... ok 2 - ansible_good_1.yml diff --git a/dependencies/Pipfile.lock b/dependencies/Pipfile.lock index 92f81fda..779be565 100644 --- a/dependencies/Pipfile.lock +++ b/dependencies/Pipfile.lock @@ -34,11 +34,11 @@ "core" ], "hashes": [ - "sha256:809655a72960754bf9afb286b7089a7cd4e0a10b80382a56ff7ad42bf056c895", - "sha256:9d566ce02c5c23efd9bc0d2f24d69e54eb0ca6a0231b77d7dc1c255774e9d2f6" + "sha256:41a139ac50f9f60e92711b84f4be584aaf3e5d726004751640058423ef6af0c4", + "sha256:be0b7f2aa368cd33da38dfc8d7d4b26c166ea3b6db9770eeab97530533258f8e" ], "index": "pypi", - "version": "==5.0.1" + "version": "==5.0.2" }, "appdirs": { "hashes": [ @@ -581,6 +581,7 @@ }, "pylint": { "hashes": [ + "sha256:2e0c6749d809985e4f181c336a8f89b2b797340d8049160bf95f35a3f0ecf6fc", "sha256:3ea3926700db399765db1faf53860f11e4e981a090646e9eacd01ca78e020579" ], "index": "pypi", diff --git a/lib/functions/worker.sh b/lib/functions/worker.sh index 8868ffd7..f217abb6 100755 --- a/lib/functions/worker.sh +++ b/lib/functions/worker.sh @@ -353,6 +353,8 @@ function LintCodebase() { ############################################# # We failed to compare the reporting output # ############################################# + warn "Tap File difference:" + cat "${TMPFILE}" STRING=$(cat "${TMPFILE}") TAP_ERROR_ARRAY+=("${STRING}") TAP_ERROR_ARRAY+=("Failed to assert TAP output for ${LINTER_NAME} linter")