Skip to content

Commit

Permalink
Define lint_pip_dependencies for stackhpc.hashicorp collection lint
Browse files Browse the repository at this point in the history
This ensures we install the hashivault modules required to make the linting pass.
  • Loading branch information
markgoddard committed Aug 29, 2023
1 parent d7d9e45 commit bd3f494
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/inventory/group_vars/all/source-repositories
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,8 @@ source_repositories:
ansible-collection-hashicorp:
repository_type: "ansible"
workflows: "{{ ansible_workflows.collection }}"
workflow_args:
lint_pip_dependencies: "git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc"
community_files:
- codeowners:
content: "{{ community_files.codeowners.ansible }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ name: Ansible collection linters
jobs:
lint:
uses: stackhpc/.github/.github/workflows/lint-collection.yml@main
{% if workflow_manifest.workflow_args.lint_pip_dependencies is defined %}
with:
upstream: {{ workflow_manifest.workflow_args.lint_pip_dependencies }}
{% endif %}

0 comments on commit bd3f494

Please sign in to comment.