From 5f15ef4c0a77c897c4fccb42ca2c58243aaa0ae8 Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 11:35:03 +0530 Subject: [PATCH] chore: update init/stack-tectonic-flare --- .orun/component-tree.yaml | 2 +- .orun/compositions.lock.yaml | 2 +- .orun/executions/latest | 2 +- .orun/plans/latest.json | 118 +++++++++++++++++- .../terraform/jobs/terraform-validate.yaml | 10 +- .../compositions/terraform/schema.yaml | 3 - 6 files changed, 122 insertions(+), 15 deletions(-) diff --git a/.orun/component-tree.yaml b/.orun/component-tree.yaml index 220e2b7..b7b850e 100644 --- a/.orun/component-tree.yaml +++ b/.orun/component-tree.yaml @@ -2,7 +2,7 @@ apiVersion: sourceplane.io/v1 kind: ComponentTree metadata: intent: /Users/irinelinson/sourceplane/stack-tectonic-flare/intent.yaml - generatedAt: "2026-05-16T05:39:35Z" + generatedAt: "2026-05-16T06:01:39Z" discovery: roots: - stacks diff --git a/.orun/compositions.lock.yaml b/.orun/compositions.lock.yaml index af42da8..1bcb7c1 100644 --- a/.orun/compositions.lock.yaml +++ b/.orun/compositions.lock.yaml @@ -4,7 +4,7 @@ sources: - name: stack-tectonic-flare kind: dir path: ./stacks/stack-tectonic-flare - resolvedDigest: sha256:ec7dbcc14fbd39cf9d5bc96fa45d77dbb6f0564cda86a6cc0afb5de75b6d4232 + resolvedDigest: sha256:cca6eff472998569a049bd2dc47455ab97faf7b5c0497ee3f12755db2dd725c2 exports: - cloudflare-pages - cloudflare-pages-terraform diff --git a/.orun/executions/latest b/.orun/executions/latest index 91acda9..4771b05 120000 --- a/.orun/executions/latest +++ b/.orun/executions/latest @@ -1 +1 @@ -stack-tectonic-flare-20260516-1c1f75 \ No newline at end of file +stack-tectonic-flare-20260516-8725f1 \ No newline at end of file diff --git a/.orun/plans/latest.json b/.orun/plans/latest.json index e78ed4c..148b9bb 100644 --- a/.orun/plans/latest.json +++ b/.orun/plans/latest.json @@ -4,8 +4,8 @@ "metadata": { "name": "stack-tectonic-flare", "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", - "generatedAt": "2026-05-16T05:39:35Z", - "checksum": "sha256-bc9e38626bbef81c4bb2ccbc4e2c31da0a905f3de795715c63fe673201fd3b80", + "generatedAt": "2026-05-16T06:01:39Z", + "checksum": "sha256-32deb8dbfbe393d51c043be4fe73e77306bf22cbf12333fd91d65ca741f048b7", "workDir": "." }, "execution": { @@ -29,7 +29,7 @@ "name": "stack-tectonic-flare", "kind": "dir", "path": "./stacks/stack-tectonic-flare", - "resolvedDigest": "sha256:ec7dbcc14fbd39cf9d5bc96fa45d77dbb6f0564cda86a6cc0afb5de75b6d4232", + "resolvedDigest": "sha256:cca6eff472998569a049bd2dc47455ab97faf7b5c0497ee3f12755db2dd725c2", "exports": [ "cloudflare-pages", "cloudflare-pages-terraform", @@ -45,9 +45,64 @@ ] }, "jobs": [ + { + "id": "stack-tectonic.production.publish", + "uid": "job_32deb8d_2847755517cb", + "displayName": "Publish", + "checkName": "stack-tectonic · production · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "production", + "composition": "publish-stack", + "profile": "publish-stack.release", + "profileSource": "subscription", + "jobRegistry": "tectonic-flare", + "job": "publish", + "runsOn": "ubuntu-22.04", + "path": "stacks/stack-tectonic-flare", + "steps": [ + { + "id": "setup-orun", + "name": "setup-orun", + "phase": "main", + "use": "sourceplane/orun-action@v1.1.0" + }, + { + "id": "publish-dry-run", + "name": "publish-dry-run", + "phase": "main", + "run": "orun publish --dry-run\n", + "shell": "bash", + "onFailure": "stop" + }, + { + "id": "publish", + "name": "publish", + "phase": "main", + "run": "orun publish\n", + "shell": "bash", + "onFailure": "stop" + } + ], + "timeout": "20m", + "env": { + "lane": "release", + "name": "stack-tectonic-flare", + "namespacePrefix": "prod-" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "release", + "name": "stack-tectonic-flare", + "namespacePrefix": "prod-" + } + }, { "id": "stack-tectonic.dev.publish", - "uid": "job_bc9e386_e9478c5d1840", + "uid": "job_32deb8d_1c756117c411", "displayName": "Publish", "checkName": "stack-tectonic · dev · Publish", "name": "publish", @@ -91,6 +146,61 @@ "name": "stack-tectonic-flare", "namespacePrefix": "dev-" } + }, + { + "id": "stack-tectonic.staging.publish", + "uid": "job_32deb8d_b11661f86323", + "displayName": "Publish", + "checkName": "stack-tectonic · staging · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "staging", + "composition": "publish-stack", + "profile": "publish-stack.release", + "profileSource": "subscription", + "jobRegistry": "tectonic-flare", + "job": "publish", + "runsOn": "ubuntu-22.04", + "path": "stacks/stack-tectonic-flare", + "steps": [ + { + "id": "setup-orun", + "name": "setup-orun", + "phase": "main", + "use": "sourceplane/orun-action@v1.1.0" + }, + { + "id": "publish-dry-run", + "name": "publish-dry-run", + "phase": "main", + "run": "orun publish --dry-run\n", + "shell": "bash", + "onFailure": "stop" + }, + { + "id": "publish", + "name": "publish", + "phase": "main", + "run": "orun publish\n", + "shell": "bash", + "onFailure": "stop" + } + ], + "timeout": "20m", + "env": { + "lane": "verify", + "name": "stack-tectonic-flare", + "namespacePrefix": "stg-" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "verify", + "name": "stack-tectonic-flare", + "namespacePrefix": "stg-" + } } ] } \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml b/stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml index 946ca17..b220a36 100644 --- a/stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml +++ b/stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml @@ -40,29 +40,29 @@ spec: - id: terraform-fmt-check name: fmt Check capability: terraform.fmt - run: terraform fmt -check + run: "{{if .terraformDir}}cd \"{{.terraformDir}}\" && {{end}}terraform fmt -check" onFailure: stop - id: terraform-init name: Init capability: terraform.init - run: terraform init + run: "{{if .terraformDir}}cd \"{{.terraformDir}}\" && {{end}}terraform init" onFailure: stop - id: terraform-validate name: Validate capability: terraform.validate - run: terraform validate -no-color + run: "{{if .terraformDir}}cd \"{{.terraformDir}}\" && {{end}}terraform validate -no-color" onFailure: stop - id: terraform-plan name: Plan capability: terraform.plan - run: terraform plan -no-color + run: "{{if .terraformDir}}cd \"{{.terraformDir}}\" && {{end}}terraform plan -no-color" onFailure: stop - id: terraform-apply name: Apply capability: terraform.apply - run: terraform apply -no-color -auto-approve + run: "{{if .terraformDir}}cd \"{{.terraformDir}}\" && {{end}}terraform apply -no-color -auto-approve" onFailure: stop diff --git a/stacks/stack-tectonic-flare/compositions/terraform/schema.yaml b/stacks/stack-tectonic-flare/compositions/terraform/schema.yaml index 751acc8..7f63cc3 100644 --- a/stacks/stack-tectonic-flare/compositions/terraform/schema.yaml +++ b/stacks/stack-tectonic-flare/compositions/terraform/schema.yaml @@ -20,9 +20,6 @@ spec: const: terraform inputs: type: object - required: - - stackName - - terraformDir properties: stackName: type: string