From 01992f73f303ebd3d61cf1224e3cec21e5bdf43f Mon Sep 17 00:00:00 2001 From: Steven Schattenberg <122639296+steven-schattenberg-itential@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:12:54 -0500 Subject: [PATCH] Galaxy prep (#3) * Add files for pipeline to push to galaxy * Lint issues * Add ansible-lint * exclude plugins dir * lint issue * Minor readme update * pin ansible-lint version * pin ansible-lint version fix typo * pin ansible-lint version * Fix version number build issue --- .github/workflows/ansible-lint.yml | 2 +- README.md | 1 - galaxy.yml | 17 ++++++++++++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 7d10c2e..a24233b 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -12,4 +12,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run ansible-lint - uses: ansible/ansible-lint@main # or version tag instead of 'main' + uses: ansible/ansible-lint@v24.9.2 # or version tag instead of 'main' diff --git a/README.md b/README.md index ae69939..aae2b71 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ encounter any problems using this collection, please open an issue For additional details please consult the Itential Community Guide found [here](CONTRIBUTING.md) - ## Code of Conduct This project is managed by the Itential community and sponsered by Itential and diff --git a/galaxy.yml b/galaxy.yml index 8a2e50d..55d55eb 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -46,7 +46,7 @@ tags: # Collections that this collection requires to be installed for it to be usable. The key of the dict is the # collection label 'namespace.name'. The value is a version range -# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version +# (specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version # range specifiers can be set and are separated by ',' dependencies: {} @@ -57,7 +57,7 @@ repository: https://github.com/itential/itential.core documentation: https://github.com/itential/itential.core # The URL to the homepage of the collection/project -homepage: https://www.itential.com +homepage: https://github.com/itential/itential.core # The URL to the collection issue tracker issues: https://github.com/itential/itential.core/issues @@ -66,7 +66,18 @@ issues: https://github.com/itential/itential.core/issues # artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This # uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry', # and '.git' are always filtered. Mutually exclusive with 'manifest' -build_ignore: [] +build_ignore: + - .gitignore + - .gitlab-ci.yml + - ansible.cfg + - '*.log' + - '*.bin' + - '*.whl' + - '*.tgz' + - '*.gz' + - '*.pem' + - '*.cert' + - scripts # A dict controlling use of manifest directives used in building the collection artifact. The key 'directives' is a # list of MANIFEST.in style