mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-03 20:54:29 -07:00
fixing ansible-lint errors, fix gcsfuse
Ansible-lint is required for Ansible collection certification for Automation Hub. gcsfuse had no metadata associated with it, failing the Ansible Hub upload.
This commit is contained in:
parent
a9545c77a4
commit
4907356bba
16 changed files with 71 additions and 33 deletions
14
.github/workflows/ansible-test.yml
vendored
14
.github/workflows/ansible-test.yml
vendored
|
@ -3,7 +3,7 @@ on: [pull_request]
|
|||
env:
|
||||
PYTHON_VERSION: "3.9" # minimum version for Ansible 2.14
|
||||
jobs:
|
||||
sanity:
|
||||
sanity-and-lint:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
@ -22,14 +22,14 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
- name: Install ansible-base (${{ matrix.ansible_version }})
|
||||
uses: nick-invision/retry@v2
|
||||
with:
|
||||
timeout_minutes: 3
|
||||
max_attempts: 3
|
||||
command: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible_version }}.tar.gz --disable-pip-version-check
|
||||
- name: Run sanity tests
|
||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible_version }}.tar.gz --disable-pip-version-check
|
||||
- name: Run ansible-test sanity
|
||||
# validate-modules cannot be turned on until #498 is resolved.
|
||||
run: ansible-test sanity -v --color --python "$PYTHON_VERSION" --skip validate-modules
|
||||
- name: Install ansible-lint
|
||||
run: pip install ansible-lint
|
||||
- name: Run ansible-lint
|
||||
run: ansible-lint
|
||||
unit:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue