This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
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
e7759fe
commit 8cecaf6
Showing
46 changed files
with
651 additions
and
1,426 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
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
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
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
...kiecutter.project_slug}}/.github/config/schemas/workflows/workflow-publish-to-galaxy.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,23 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "0.1.0", | ||
"description": "Ansible Workbench GitHub Ansible Galaxy Publish Workflow Schema", | ||
"additionalProperties": false, | ||
"required": [ | ||
"ci_python_version", | ||
"ci_verbose_notifications" | ||
], | ||
"type": "object", | ||
"uniqueItems": true, | ||
"properties": { | ||
"ci_python_version": { | ||
"description": "This array contains the list of Python versions the workflow steps will execute on.", | ||
"pattern": "^3\\.[0-9]$", | ||
"type": "string" | ||
}, | ||
"ci_verbose_notifications": { | ||
"description": "This enables success notifications for each job in the GitHub workflows.", | ||
"type": "boolean" | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
{{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,67 @@ | ||
{ | ||
"$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_molecule_excluded_scenarios_regex", | ||
"ci_molecule_test_platforms", | ||
"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_molecule_excluded_scenarios_regex": { | ||
"description": "This regex controls which molecule scenarios are NOT scheduled to execute in CI.", | ||
"type": "string" | ||
}, | ||
"ci_molecule_test_platforms": { | ||
"description": "This is the name of the GitHub Action platform the test scenarios will execute on. Please see https://docs.github.com/actions/using-github-hosted-runners/about-github-hosted-runners.", | ||
"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" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
{{cookiecutter.project_slug}}/.github/config/workflows/workflow-publish-to-galaxy.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,4 +1,4 @@ | ||
{ | ||
"ci_python_version": "{{ cookiecutter._GITHUB_CI_DEFAULT_PYTHON_VERSIONS | first }}", | ||
"ci_verbose_notifications": {{ cookiecutter._GITHUB_CI_DEFAULT_VERBOSE_NOTIFICATIONS | tojson }} | ||
"ci_verbose_notifications": true | ||
} |
4 changes: 3 additions & 1 deletion
4
{{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
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.
Oops, something went wrong.