From 74f393199871a2d7a9ec62e0bcbdf7acc4cb0cd6 Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Mon, 16 Dec 2024 16:43:24 -0600 Subject: [PATCH] Mergify (#862) * Add mergify * add tests * remove contributors from CODEOWNERS on atmos --- .github/CODEOWNERS | 10 +++++----- .github/mergify.yml | 1 + .github/workflows/test.yml | 1 + examples/tests/atmos.yaml | 9 +++++++-- 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .github/mergify.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6f64b5a33..6899ac2c1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,7 +4,7 @@ # Order is important: the last matching pattern has the highest precedence # These owners will be the default owners for everything -* @cloudposse/engineering @cloudposse/contributors +* @cloudposse/engineering # Cloud Posse must review any changes to Makefiles **/Makefile @cloudposse/engineering @@ -15,10 +15,10 @@ # Cloud Posse must review any changes to standard context definition, # but some changes can be rubber-stamped. -**/*.tf @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers -README.yaml @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers -README.md @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers -docs/*.md @cloudposse/engineering @cloudposse/contributors @cloudposse/approvers +**/*.tf @cloudposse/engineering @cloudposse/approvers +README.yaml @cloudposse/engineering @cloudposse/approvers +README.md @cloudposse/engineering @cloudposse/approvers +docs/*.md @cloudposse/engineering @cloudposse/approvers # Cloud Posse Admins must review all changes to CODEOWNERS or the mergify configuration .github/mergify.yml @cloudposse/admins diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 000000000..526045d49 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1 @@ +extends: .github diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2e4da377..8cfed9749 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -246,6 +246,7 @@ jobs: # - demo-stack-templating # - demo-multi-cloud - demo-vendoring + - tests timeout-minutes: 20 steps: diff --git a/examples/tests/atmos.yaml b/examples/tests/atmos.yaml index b3feeb7b5..52c338c07 100644 --- a/examples/tests/atmos.yaml +++ b/examples/tests/atmos.yaml @@ -90,6 +90,12 @@ logs: # Custom CLI commands commands: + # No arguments or flags are required + - name: "test" + description: "Run all tests" + steps: + - atmos vendor pull + - name: tf description: Execute 'terraform' commands # subcommands @@ -196,7 +202,7 @@ commands: Example usage: atmos set-eks-cluster eks/cluster -s tenant1-ue1-dev -r admin atmos set-eks-cluster eks/cluster -s tenant2-uw2-prod --role reader - verbose: false # Set to `true` to see verbose outputs + verbose: false # Set to `true` to see verbose outputs arguments: - name: component description: Name of the component @@ -233,7 +239,6 @@ commands: # Integrations integrations: - # Atlantis integration # https://www.runatlantis.io/docs/repo-level-atlantis-yaml.html atlantis: