-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(GITHUB): integrate cicd-tools (internal)
- Loading branch information
1 parent
77b028e
commit e067c24
Showing
34 changed files
with
506 additions
and
1,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
{{cookiecutter.project_slug}}/.github/config/schemas/workflows/workflow-push.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "0.1.0", | ||
"description": "Ansible Workbench GitHub Push Workflow Schema", | ||
"additionalProperties": false, | ||
"required": [ | ||
"ci_commit_spelling_rev_range", | ||
"ci_commitizen_rev_range", | ||
"ci_concurrency_limit", | ||
"ci_extra_release_content", | ||
"ci_python_versions", | ||
"ci_trufflehog_extra_scan_args", | ||
"ci_verbose_notifications" | ||
], | ||
"type": "object", | ||
"uniqueItems": true, | ||
"properties": { | ||
"ci_commit_spelling_rev_range": { | ||
"description": "This is the fallback commit range for commit spelling checks. This should contain the id of the first correctly spelled commit in this repo, or HEAD for all commits.", | ||
"type": "string" | ||
}, | ||
"ci_commitizen_rev_range": { | ||
"description": "This is the fallback commit range for commitizen to lint. This should contain the id of the first linted commit in this repo, or HEAD for all commits.", | ||
"type": "string" | ||
}, | ||
"ci_concurrency_limit": { | ||
"description": "This controls the concurrency of each matrix instance in GitHub Actions.", | ||
"type": "number" | ||
}, | ||
"ci_extra_release_content": { | ||
"description": "This controls the concurrency of each matrix instance in GitHub Actions.", | ||
"type": "array", | ||
"contains": { | ||
"type": "string" | ||
} | ||
}, | ||
"ci_python_versions": { | ||
"description": "This array contains the list of Python versions the workflow steps will execute on.", | ||
"type": "array", | ||
"contains": { | ||
"pattern": "^3\\.[0-9]$", | ||
"type": "string" | ||
} | ||
}, | ||
"ci_trufflehog_extra_scan_args": { | ||
"description": "This is a space separated list of extra arguments you can pass to the trufflehog binary.", | ||
"type": "string" | ||
}, | ||
"ci_verbose_notifications": { | ||
"description": "This enables success notifications for each job in the GitHub workflows.", | ||
"type": "boolean" | ||
} | ||
} | ||
} |
5 changes: 4 additions & 1 deletion
5
{{cookiecutter.project_slug}}/.github/config/workflows/workflow-push.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
{ | ||
"ci_commitzen_rev_range": "HEAD", | ||
"ci_commit_spelling_rev_range": "HEAD", | ||
"ci_commitizen_rev_range": "HEAD", | ||
"ci_concurrency_limit": 4, | ||
"ci_extra_release_content": [ | ||
"## Customizable Text.", | ||
"This message is appended to the changelog of your GitHub release." | ||
], | ||
"ci_python_versions": {{ cookiecutter._GITHUB_CI_DEFAULT_PYTHON_VERSIONS | tojson }}, | ||
"ci_trufflehog_extra_scan_args": "", | ||
"ci_verbose_notifications": {{ cookiecutter._GITHUB_CI_DEFAULT_VERBOSE_NOTIFICATIONS | tojson }} | ||
} |
35 changes: 0 additions & 35 deletions
35
{{cookiecutter.project_slug}}/.github/deactivated/.job-00-start.yml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
{{cookiecutter.project_slug}}/.github/deactivated/.job-00-success.yml
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
{{cookiecutter.project_slug}}/.github/deactivated/.job-10-security.yml
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
{{cookiecutter.project_slug}}/.github/deactivated/.job-30-documentation.yml
This file was deleted.
Oops, something went wrong.
87 changes: 0 additions & 87 deletions
87
{{cookiecutter.project_slug}}/.github/deactivated/.job-40-ansible-lint.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.