Skip to content

Conversation

@jshiwamV
Copy link
Collaborator

@jshiwamV jshiwamV commented Oct 20, 2025

Overview

Adds approval-gated testing for AWS/GCP/Azure infrastructure to prevent accidental resource provisioning and manage costs.

Key Features

  • Merge Queue Based Test CI runs.
  • Only triggers on .tf/.go files, ignores README/docs
  • Shared changes (test/utils/, kubernetes/modules/) run all clouds

New Workflows

  • test-aws.yml, test-gcp.yml, test-azure.yml

CI infra setup

  • .github/setup/ - Complete Terraform configuration for AWS/GCP/Azure infra/oidc rbac setup.

NOTE
1. the oidc setup for all the cloud providers exists in terraform files under .github/setup/ I am using s3 backend for tfstate. if you make some changes to the setup you should add the aws profile of the mz-scratch aws account.
2. AWS and Azure don’t follow principle of least privilege and the OIDC service principal has borader access for now. For azure it was mostly because I lacked permissions myself. So i will fix that in future CI enhancements.

Behavior

  1. Create PR → No tests run (saves resources)
  2. Get approval → Tests run automatically as a part of Merge Queue
  3. Push changes → Approval dismissed and Tests will run in Merge Queue After Approval.

@jshiwamV jshiwamV changed the title feat(lint): add go-lint and validate CI setup for self managed repo Oct 27, 2025
@jshiwamV jshiwamV changed the title CI setup for self managed repo Apporval-Gated CI setup for self managed repo Oct 27, 2025
@jshiwamV jshiwamV changed the title Apporval-Gated CI setup for self managed repo Approval-Gated CI setup for self managed repo Oct 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 3, 2025
@jshiwamV jshiwamV enabled auto-merge November 3, 2025 16:59
@jshiwamV jshiwamV added this pull request to the merge queue Nov 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 3, 2025
@jshiwamV jshiwamV added this pull request to the merge queue Nov 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 4, 2025
@jshiwamV jshiwamV added this pull request to the merge queue Nov 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 4, 2025
@jshiwamV jshiwamV added this pull request to the merge queue Nov 5, 2025
@jshiwamV jshiwamV removed this pull request from the merge queue due to a manual request Nov 5, 2025
@jshiwamV jshiwamV enabled auto-merge November 5, 2025 07:21
@jshiwamV jshiwamV added this pull request to the merge queue Nov 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 5, 2025
@jubrad jubrad added this pull request to the merge queue Nov 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 5, 2025
@jshiwamV jshiwamV added this pull request to the merge queue Nov 6, 2025
Merged via the queue into main with commit 9c28b71 Nov 6, 2025
5 checks passed
@jshiwamV jshiwamV deleted the test-ci branch November 6, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants