-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-tests-workflow
- Loading branch information
Showing
213 changed files
with
2,276 additions
and
953 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
language: "en-US" | ||
tone_instructions: "Maintain a conversational spartan tone that is supportive in all responses." | ||
early_access: true | ||
enable_free_tier: true | ||
reviews: | ||
profile: "chill" | ||
request_changes_workflow: true | ||
high_level_summary: true | ||
high_level_summary_placeholder: "@auto-summary" | ||
auto_title_placeholder: "@auto-title" | ||
review_status: false | ||
commit_status: false | ||
poem: false | ||
collapse_walkthrough: true | ||
sequence_diagrams: true | ||
changed_files_summary: true | ||
labeling_instructions: | ||
- label: "patch" | ||
instructions: "Apply when the PR contains changes that fix existing functionality." | ||
- label: "minor" | ||
instructions: "Apply when changes introduce new functionality but are non-breaking." | ||
- label: "major" | ||
instructions: "Apply when changes introduce new functionality that causes breaking changes requiring the user to update their configuration." | ||
- label: "no-release" | ||
instructions: "Apply this label when the PR contains changes only to documentation, website content, or other non-Go code. Changes that do not affect the Go code or the application functionality fall under this category." | ||
#path_filters: | ||
# - "!dist/**" | ||
# - "src/**" | ||
#path_instructions: | ||
# - path: "**/*.js" | ||
# instructions: "Check for consistent coding styles and ES6+ syntax adherence." | ||
abort_on_close: true | ||
auto_review: | ||
enabled: true | ||
auto_incremental_review: true | ||
ignore_title_keywords: | ||
- "WIP" | ||
- "test" | ||
#labels: | ||
# - "ready-for-review" | ||
drafts: false | ||
base_branches: | ||
- "main" | ||
tools: | ||
ast-grep: | ||
rule_dirs: | ||
- "rules" | ||
util_dirs: | ||
- "utils" | ||
essential_rules: true | ||
packages: | ||
- "javascript" | ||
- "typescript" | ||
shellcheck: | ||
enabled: true | ||
ruff: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
github-checks: | ||
enabled: true | ||
timeout_ms: 90000 | ||
languagetool: | ||
enabled: true | ||
enabled_rules: | ||
- "EN_QUOTES" | ||
level: "picky" | ||
biome: | ||
enabled: true | ||
hadolint: | ||
enabled: true | ||
swiftlint: | ||
enabled: false | ||
config_file: ".swiftlint.yml" | ||
phpstan: | ||
enabled: true | ||
level: "max" | ||
golangci-lint: | ||
enabled: true | ||
config_file: ".golangci.yaml" | ||
yamllint: | ||
enabled: true | ||
gitleaks: | ||
enabled: true | ||
checkov: | ||
enabled: true | ||
detekt: | ||
enabled: false | ||
config_file: "detekt.yml" | ||
eslint: | ||
enabled: true | ||
rubocop: | ||
enabled: false | ||
buf: | ||
enabled: true | ||
regal: | ||
enabled: true | ||
actionlint: | ||
enabled: true | ||
pmd: | ||
enabled: false | ||
config_file: "pmd.xml" | ||
cppcheck: | ||
enabled: false | ||
semgrep: | ||
enabled: false | ||
config_file: ".semgrep.yaml" | ||
circleci: | ||
enabled: false | ||
chat: | ||
auto_reply: true | ||
knowledge_base: | ||
opt_out: false | ||
learnings: | ||
scope: "auto" | ||
issues: | ||
scope: "auto" | ||
linear: | ||
team_keys: | ||
- "DEV" | ||
pull_requests: | ||
scope: "auto" |
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 |
---|---|---|
|
@@ -321,12 +321,43 @@ jobs: | |
--config=${{ github.workspace }}/examples/.tflint.hcl | ||
fail_on_error: true | ||
|
||
# run other demo tests | ||
validate: | ||
name: "[validate] ${{ matrix.demo-folder }}" | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
demo-folder: | ||
- demo-context | ||
- demo-localstack | ||
- demo-stacks | ||
- demo-helmfile | ||
- quick-start-advanced | ||
- quick-start-simple | ||
|
||
timeout-minutes: 20 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate YAML Schema | ||
uses: InoUno/[email protected] | ||
with: | ||
root: "examples/${{ matrix.demo-folder }}/stacks" | ||
schemaMapping: | | ||
{ | ||
"https://atmos.tools/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json": [ | ||
"examples/${{ matrix.demo-folder }}/stacks/**/*.yaml", | ||
"examples/${{ matrix.demo-folder }}/stacks/**/*.yml" | ||
] | ||
} | ||
release: | ||
needs: [test, lint, mock, k3s, localstack, docker] | ||
needs: [test, lint, mock, k3s, localstack, docker, validate] | ||
if: github.event_name == 'push' | ||
uses: cloudposse/.github/.github/workflows/shared-go-auto-release.yml@main | ||
with: | ||
publish: false | ||
format: binary | ||
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
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 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
Oops, something went wrong.