decomposer: generate deliverable files for Discover and structure the solution's functional requirements, non-functional requirements, constraints, assumptions, and open questions without selecting cloud products.; Select Google Cloud products from the confirmed requirements and produce the solution architecture, Mermaid diagram, architecture description, and Terraform infrastructure-as-code.; Validate the Terraform infrastructure and architecture artifacts without deploying resources by running formatting checks, Terraform validation, and a dry-run or plan-oriented deployment check.; Package the approved requirements, architecture, Mermaid diagram, Terraform IaC, and validation results into solution-architecture-guide.md in the gcp_solution_architecture_agent repository.; Verify that the gcp_solution_architecture_agent repository contains the packaged solution-architecture-guide.md with the approved workflow outputs.; Verify that the repository is derived from the workflow_agent template and implements the complete four-phase Google Cloud solution architecture workflow alongside the packaged guide.; Publish the verified gcp_solution_architecture_agent repository with its completed workflow implementation and solution architecture guide.; Verify that the published repository revision contains the completed workflow implementation and solution architecture guide.
Some checks failed
validation / verify (push) Failing after 13s

This commit is contained in:
2026-09-01 20:00:05 +00:00
parent f1d8e1ffcf
commit 7926fabc37
13 changed files with 341 additions and 205 deletions

View File

@@ -1,13 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
command -v terraform >/dev/null || { echo "Terraform 1.6.x is required" >&2; exit 1; }
terraform -chdir=terraform fmt -check -diff
terraform -chdir=terraform init -backend=false -input=false
terraform -chdir=terraform validate
if [[ -z "${TF_VAR_project_id:-}" || -z "${TF_VAR_invoker_service_account:-}" ]]; then
echo "Set TF_VAR_project_id and TF_VAR_invoker_service_account for plan check" >&2
exit 2
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
command -v terraform >/dev/null || { echo 'terraform is required'; exit 2; }
terraform -chdir="$root/terraform" fmt -check -recursive
terraform -chdir="$root/terraform" init -backend=false -input=false -no-color >/dev/null
terraform -chdir="$root/terraform" validate -no-color
if [[ "${RUN_PLAN:-false}" == "true" ]]; then
: "${TF_VAR_project_id:?Set TF_VAR_project_id for plan}"
terraform -chdir="$root/terraform" plan -refresh=false -lock=false -input=false -no-color
fi
terraform -chdir=terraform plan -refresh=false -input=false -lock=false -out=/tmp/gcp-solution.tfplan >/tmp/gcp-solution.plan
cat /tmp/gcp-solution.plan
python3 -m unittest discover -s "$root/tests" -v