Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: platform collection tests
on:
push:
pull_request:
pull_request_target:

jobs:
integration:
Expand Down Expand Up @@ -217,4 +217,8 @@ jobs:
- name: Get ansible-lint version
run: ansible-lint --version
if: failure()

build-import:
name: Build collection and run galaxy importer check
uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main
...
16 changes: 16 additions & 0 deletions .github/workflows/dvcs_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: DVCS (Find Jira Key)
on:
pull_request_target:
jobs:
dvcs_pr_checker:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
name: Check the PR for DVCS integration
steps:
- uses: ansible/dvcs-action@devel
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
...
6 changes: 3 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
fail-fast: false
matrix:
tests:
- name: api-flake8
- name: flake8
command: check_flake8
- name: api-black
- name: black
command: check_black
- name: api-isort
- name: isort
command: check_isort
steps:
- name: Install make
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ collection-docs: collection-install

## Run the collection lint check
collection-lint: collection-install
# ansible-lint gets its settings from ansible_platform_collection/.ansible-lint
# ansible-lint gets its settings from .ansible-lint
ansible-lint --profile=production

## Run the collection tests
Expand Down
15 changes: 0 additions & 15 deletions requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
ansible # Needed by the dev environment to run playbooks
black==25.1.0 # Linting tool, if changed update pyproject.toml as well
build
debugpy # Used for VSCode debugging
django-debug-toolbar
flake8==7.1.1 # Linting tool, if changed update pyproject.toml as well
Flake8-pyproject==1.2.3 # Linting tool, if changed update pyproject.toml as well
ipython # Used in shell_plus
isort==6.0.0 # Linting tool, if changed update pyproject.toml as well
remote-pdb # The debugger setup with Python's breakpoint()
tox # Used for unit tests
tox-docker # For running postgres during tests
colorama # Allows addition of color to logs
logutils
psycopg[binary]
requests
setuptools>=70.0.0 # Needed for the plumbing of the side cars, pinned for https://github.com/ansible/aap-gateway/security/dependabot/25
setuptools_scm # Needed for proper version string on /api/gateway/v1/ping
docker # Needed for the plumbing of the side cars via Ansible
PyYAML # Collection tests