-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f93f46b
Showing
39 changed files
with
2,344 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,11 @@ | ||
# This is a template `CODEOWNERS` file for snaps | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual snap repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
# For more information about CODEOWNER, please refer to | ||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file | ||
|
||
# These owners will be the default owners for everything in the repo. Unless a | ||
# later match takes precedence, @canonical/bootstack will be requested for | ||
# review when someone opens a pull request. | ||
* @canonical/bootstack-reviewers |
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 @@ | ||
# This is a template `pr.yaml` file for snaps | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual snap repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
name: PR workflow running lint checkers, unit and functional tests | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, synchronize, reopened ] | ||
branches: [ master, main ] | ||
pull_request_review: | ||
types: [ submitted ] | ||
|
||
jobs: | ||
pr: | ||
uses: canonical/bootstack-actions/.github/workflows/pull-request.yaml@main | ||
secrets: inherit | ||
with: | ||
python-version-unit: "['3.8', '3.10']" | ||
python-version-func: "3.10" | ||
tox-version: "<4" | ||
snapcraft: true | ||
commands: "['make functional']" |
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,14 @@ | ||
# This is a template `sonar.yaml` file for snaps | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual snap repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
name: SonarCloud | ||
on: | ||
workflow_run: | ||
workflows: [PR workflow running lint checkers, unit and functional tests] | ||
types: [completed] | ||
|
||
jobs: | ||
sonar: | ||
uses: canonical/bootstack-actions/.github/workflows/sonar.yaml@main | ||
secrets: inherit |
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,43 @@ | ||
# This is a template `.gitignore` file for snaps | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual snap repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# Tests files and dir | ||
.pytest_cache/ | ||
.coverage | ||
.tox | ||
.venv | ||
reports/ | ||
**/report/ | ||
htmlcov/ | ||
.mypy_cache | ||
|
||
# Log files | ||
*.log | ||
|
||
# IDEs | ||
.idea/ | ||
.vscode/ | ||
|
||
# vi | ||
.*.swp | ||
|
||
# version data | ||
repo-info | ||
|
||
# Python builds | ||
deb_dist/ | ||
dist/ | ||
*.egg-info/ | ||
|
||
# Snaps | ||
*.snap | ||
|
||
# Builds | ||
.build/ | ||
build/ |
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,22 @@ | ||
# This is a template `.pre-commit-config.yaml` file for snaps | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual snap repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-executables-have-shebangs | ||
- id: check-merge-conflict | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
- id: check-json | ||
- id: check-yaml | ||
- repo: local | ||
hooks: | ||
- id: lint | ||
name: lint | ||
entry: make lint | ||
language: system | ||
types: [ python ] |
Oops, something went wrong.