Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d691f07
Update documentation for antsibull-docs linting
wmudge Jun 18, 2025
0300f72
Update for ansible-lint errors and warnings
wmudge Jun 18, 2025
b71bb1e
Add initial ansible-lint ignore file
wmudge Jun 18, 2025
ce3d9ed
Initial changelog configuration
wmudge Jun 23, 2025
d2c568a
Update docsbuild to use Hatch
wmudge Jun 23, 2025
d46ce93
Updated version_added for current roles and plugins
wmudge Jun 23, 2025
661f4a2
Update version_added to legacy filters
wmudge Jun 23, 2025
74b505d
Add antsichaut to docs env and update CHANGELOG for prior releases
wmudge Jun 23, 2025
6bdbae5
Update version to 5.0.0-rc.1
wmudge Jun 23, 2025
9c24a74
Update hatch scripts for changelog management and semantic versioning
wmudge Jun 23, 2025
9ac4bd6
Configure antsibull-docs to build the changelog
wmudge Jun 23, 2025
305de54
Update README with API docs and version management instructions
wmudge Jun 23, 2025
5d14bf7
Update indentation for ansible-lint validation
wmudge Jun 23, 2025
5651419
Update pre-commit and hooks for ansible-lint, black, and multiple checks
wmudge Jun 24, 2025
db46ca0
Rename legacy auto-tls templates to conform to pre-commit checks
wmudge Jun 24, 2025
dd2807c
Remove lint environment and move lint command to default environment
wmudge Jun 24, 2025
4ab40f4
Allow missing AWS credentials in pre-commit check
wmudge Jun 24, 2025
e91cd68
Update pre-commit hook labels
wmudge Jun 27, 2025
8f29656
Update lint script in Hatch to check Ansible documentation
wmudge Jun 27, 2025
013547e
Fix Hatch default and docs environment dependencies
wmudge Jun 27, 2025
1eacb40
Comment out non-existent document reference
wmudge Jun 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
484 changes: 484 additions & 0 deletions .ansible-lint-ignore

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/label_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/pr_number.zip`, Buffer.from(download.data));

- name: 'Unzip artifact'
- name: "Unzip artifact"
run: unzip pr_number.zip

- name: Read the PR number
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright 2024 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,11 +19,10 @@ on:
pull_request:
push:
branches: [main, devel]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
3 changes: 1 addition & 2 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ name: Publish documentation
on:
push:
branches:
- 'main'
- "main"

workflow_dispatch:

jobs:
build-ansible-docs:
name: Build Ansible Docs
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ name: Publish to Ansible Galaxy
on:
release:
types: [published]

jobs:
galaxy_release:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reset_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ on:
- synchronize
- ready_for_review
branches:
- 'release/**'
- 'devel'
- 'devel-pvc-base'
- "release/**"
- "devel"
- "devel-pvc-base"

jobs:
reset:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ name: Validate Pull Request
on:
pull_request:
branches:
- 'release/**'
- 'devel'
- "release/**"
- "devel"

jobs:
validate:
Expand All @@ -32,8 +32,8 @@ jobs:
- name: Setup Python and caching
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
python-version: "3.9"
cache: "pip"

- name: Set up Ansible and Ansible collections and roles
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/validate_pr_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ name: Validate Pull Request documentation
on:
pull_request:
branches:
- 'release/**'
- 'devel'
- "release/**"
- "devel"

workflow_dispatch:

jobs:
validate-docs:
name: Validate Ansible Docs
Expand Down
31 changes: 29 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright 2024 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,13 +15,39 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-json
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: detect-aws-credentials
args:
- --allow-missing-credentials
- id: detect-private-key
- id: forbid-submodules
# - id: name-tests-test
- repo: https://github.com/asottile/add-trailing-comma.git
rev: v3.2.0
hooks:
- id: add-trailing-comma
name: ensure trailing commas
args:
- --py36-plus
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 25.1.0
hooks:
- id: black
name: lint python
- repo: https://github.com/ansible/ansible-lint
rev: v25.6.1
hooks:
- id: ansible-lint
name: lint ansible
Loading
Loading