From 112d6ead7b56684812a6bce63e7752abdfdd77d6 Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 08:54:27 +0530 Subject: [PATCH 1/8] Update registry with stack-tectonic-flare metadata --- registry/index.json | 329 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 registry/index.json diff --git a/registry/index.json b/registry/index.json new file mode 100644 index 0000000..5e098e5 --- /dev/null +++ b/registry/index.json @@ -0,0 +1,329 @@ +{ + "stack": { + "name": "stack-tectonic-flare", + "title": "Stack Tectonic Flare", + "version": "2.0.0", + "oci": "oci://ghcr.io/sourceplane/stack-tectonic-flare:2.0.0" + }, + "catalog": { + "compositions": [ + { + "name": "cloudflare-pages", + "kind": "composition", + "path": "compositions/cloudflare-pages", + "description": "Build static site assets and direct-upload them to Cloudflare Pages with Wrangler", + "category": "hosting", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "hosting", + "pages" + ], + "signals": { + "readme": true, + "exampleAssets": 6, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "cloudflare-pages-terraform", + "kind": "composition", + "path": "compositions/cloudflare-pages-terraform", + "description": "Verify static site builds locally and reconcile a Git-backed Cloudflare Pages project with Terraform", + "category": "platform", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "pages", + "platform", + "terraform" + ], + "signals": { + "readme": true, + "exampleAssets": 7, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "cloudflare-pages-turbo", + "kind": "composition", + "path": "compositions/cloudflare-pages-turbo", + "description": "Build a static app with Turbo and direct-upload it to Cloudflare Pages", + "category": "hosting", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "hosting", + "pages", + "turbo" + ], + "signals": { + "readme": true, + "exampleAssets": 8, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "cloudflare-pages-turbo-terraform", + "kind": "composition", + "path": "compositions/cloudflare-pages-turbo-terraform", + "description": "Verify a static app with Turbo locally and reconcile a Git-backed Cloudflare Pages project with Terraform", + "category": "platform", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "pages", + "platform", + "terraform", + "turbo" + ], + "signals": { + "readme": true, + "exampleAssets": 9, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "cloudflare-worker", + "kind": "composition", + "path": "compositions/cloudflare-worker", + "description": "Verify a Cloudflare Worker app and deploy it from the production branch", + "category": "edge", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "edge", + "worker" + ], + "signals": { + "readme": true, + "exampleAssets": 9, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "cloudflare-worker-turbo", + "kind": "composition", + "path": "compositions/cloudflare-worker-turbo", + "description": "Verify a Cloudflare Worker app and deploy it from the production branch", + "category": "edge", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "cloudflare", + "edge", + "turbo", + "worker" + ], + "signals": { + "readme": true, + "exampleAssets": 9, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "helm-chart", + "kind": "composition", + "path": "compositions/helm-chart", + "description": "Helm chart validation jobs for chart components", + "category": "kubernetes", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "chart", + "helm", + "kubernetes" + ], + "signals": { + "readme": true, + "exampleAssets": 5, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "helm-values", + "kind": "composition", + "path": "compositions/helm-values", + "description": "Helm values validation jobs for deployment files", + "category": "kubernetes", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "helm", + "kubernetes", + "values" + ], + "signals": { + "readme": true, + "exampleAssets": 5, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "terraform", + "kind": "composition", + "path": "compositions/terraform", + "description": "Terraform validation jobs for infra components", + "category": "infrastructure", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "infrastructure", + "terraform" + ], + "signals": { + "readme": true, + "exampleAssets": 2, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "turbo-package", + "kind": "composition", + "path": "compositions/turbo-package", + "description": "Verify a shared package in a pnpm and Turbo monorepo", + "category": "developer-experience", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "developer-experience", + "package", + "turbo" + ], + "signals": { + "readme": true, + "exampleAssets": 8, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + }, + { + "name": "workspace", + "kind": "composition", + "path": "compositions/workspace", + "description": "Workspace-backed provider smoke jobs", + "category": "developer-experience", + "verified": true, + "score": 100, + "grade": "A+", + "tags": [ + "developer-experience", + "workspace" + ], + "signals": { + "readme": true, + "exampleAssets": 9, + "testAssets": 1, + "verifyWorkflow": true, + "releaseWorkflow": true, + "scorecardWorkflow": true, + "semver": true, + "docsGood": true + } + } + ], + "blueprints": [ + { + "name": "edge-worker-platform", + "kind": "blueprint", + "path": "blueprints/edge-worker-platform", + "description": "Edge-worker delivery with workspace verification, Terraform foundations, and deploy overlays.", + "uses": [ + "workspace", + "terraform", + "cloudflare-worker", + "helm-values", + "Worker validation and deployment", + "Infra validation", + "Environment configuration overlays" + ], + "verified": true, + "score": 80, + "grade": "A" + }, + { + "name": "nextjs-cloudflare", + "kind": "blueprint", + "path": "blueprints/nextjs-cloudflare", + "description": "Next.js monorepo delivery on Cloudflare with Terraform-managed Pages resources.", + "uses": [ + "workspace", + "turbo-package", + "cloudflare-pages-turbo", + "cloudflare-pages-terraform", + "Shared workspace validation", + "Monorepo package verification", + "Git-backed Pages provisioning", + "Edge-hosted frontend delivery" + ], + "verified": true, + "score": 80, + "grade": "A" + } + ] + } +} From 76a55f0b87326e8c6d766a48e2045bafc841400f Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 08:55:54 +0530 Subject: [PATCH 2/8] Fix composition filenames and regenerate registry --- .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 .../{composition.yaml => compositions.yaml} | 0 registry/index.json | 197 +++++------------- scripts/verify.sh | 2 +- 11 files changed, 56 insertions(+), 143 deletions(-) rename compositions/cloudflare-pages-terraform/{composition.yaml => compositions.yaml} (100%) rename compositions/cloudflare-pages-turbo-terraform/{composition.yaml => compositions.yaml} (100%) rename compositions/cloudflare-pages-turbo/{composition.yaml => compositions.yaml} (100%) rename compositions/cloudflare-pages/{composition.yaml => compositions.yaml} (100%) rename compositions/cloudflare-worker-turbo/{composition.yaml => compositions.yaml} (100%) rename compositions/cloudflare-worker/{composition.yaml => compositions.yaml} (100%) rename compositions/publish-stack/{composition.yaml => compositions.yaml} (100%) rename compositions/terraform/{composition.yaml => compositions.yaml} (100%) rename compositions/turbo-package/{composition.yaml => compositions.yaml} (100%) diff --git a/compositions/cloudflare-pages-terraform/composition.yaml b/compositions/cloudflare-pages-terraform/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/composition.yaml rename to compositions/cloudflare-pages-terraform/compositions.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/composition.yaml b/compositions/cloudflare-pages-turbo-terraform/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/composition.yaml rename to compositions/cloudflare-pages-turbo-terraform/compositions.yaml diff --git a/compositions/cloudflare-pages-turbo/composition.yaml b/compositions/cloudflare-pages-turbo/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/composition.yaml rename to compositions/cloudflare-pages-turbo/compositions.yaml diff --git a/compositions/cloudflare-pages/composition.yaml b/compositions/cloudflare-pages/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages/composition.yaml rename to compositions/cloudflare-pages/compositions.yaml diff --git a/compositions/cloudflare-worker-turbo/composition.yaml b/compositions/cloudflare-worker-turbo/compositions.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/composition.yaml rename to compositions/cloudflare-worker-turbo/compositions.yaml diff --git a/compositions/cloudflare-worker/composition.yaml b/compositions/cloudflare-worker/compositions.yaml similarity index 100% rename from compositions/cloudflare-worker/composition.yaml rename to compositions/cloudflare-worker/compositions.yaml diff --git a/compositions/publish-stack/composition.yaml b/compositions/publish-stack/compositions.yaml similarity index 100% rename from compositions/publish-stack/composition.yaml rename to compositions/publish-stack/compositions.yaml diff --git a/compositions/terraform/composition.yaml b/compositions/terraform/compositions.yaml similarity index 100% rename from compositions/terraform/composition.yaml rename to compositions/terraform/compositions.yaml diff --git a/compositions/turbo-package/composition.yaml b/compositions/turbo-package/compositions.yaml similarity index 100% rename from compositions/turbo-package/composition.yaml rename to compositions/turbo-package/compositions.yaml diff --git a/registry/index.json b/registry/index.json index 5e098e5..b6e9f04 100644 --- a/registry/index.json +++ b/registry/index.json @@ -1,9 +1,9 @@ { "stack": { - "name": "stack-tectonic-flare", - "title": "Stack Tectonic Flare", + "name": "tectonic-flare", + "title": "Tectonic Flare Platform Stack", "version": "2.0.0", - "oci": "oci://ghcr.io/sourceplane/stack-tectonic-flare:2.0.0" + "oci": "oci://ghcr.io/sourceplane/tectonic-flare:2.0.0" }, "catalog": { "compositions": [ @@ -11,11 +11,11 @@ "name": "cloudflare-pages", "kind": "composition", "path": "compositions/cloudflare-pages", - "description": "Build static site assets and direct-upload them to Cloudflare Pages with Wrangler", + "description": "Cloudflare Pages build, verify, and deploy pipeline", "category": "hosting", "verified": true, - "score": 100, - "grade": "A+", + "score": 85, + "grade": "A", "tags": [ "cloudflare", "hosting", @@ -23,7 +23,7 @@ ], "signals": { "readme": true, - "exampleAssets": 6, + "exampleAssets": 0, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -36,11 +36,11 @@ "name": "cloudflare-pages-terraform", "kind": "composition", "path": "compositions/cloudflare-pages-terraform", - "description": "Verify static site builds locally and reconcile a Git-backed Cloudflare Pages project with Terraform", + "description": "Cloudflare Pages deployment managed with Terraform", "category": "platform", "verified": true, - "score": 100, - "grade": "A+", + "score": 85, + "grade": "A", "tags": [ "cloudflare", "pages", @@ -49,7 +49,7 @@ ], "signals": { "readme": true, - "exampleAssets": 7, + "exampleAssets": 0, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -62,11 +62,11 @@ "name": "cloudflare-pages-turbo", "kind": "composition", "path": "compositions/cloudflare-pages-turbo", - "description": "Build a static app with Turbo and direct-upload it to Cloudflare Pages", + "description": "Cloudflare Pages deployment using Turbo monorepo builds", "category": "hosting", "verified": true, - "score": 100, - "grade": "A+", + "score": 85, + "grade": "A", "tags": [ "cloudflare", "hosting", @@ -75,7 +75,7 @@ ], "signals": { "readme": true, - "exampleAssets": 8, + "exampleAssets": 0, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -88,11 +88,11 @@ "name": "cloudflare-pages-turbo-terraform", "kind": "composition", "path": "compositions/cloudflare-pages-turbo-terraform", - "description": "Verify a static app with Turbo locally and reconcile a Git-backed Cloudflare Pages project with Terraform", + "description": "Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform", "category": "platform", "verified": true, - "score": 100, - "grade": "A+", + "score": 85, + "grade": "A", "tags": [ "cloudflare", "pages", @@ -102,7 +102,7 @@ ], "signals": { "readme": true, - "exampleAssets": 9, + "exampleAssets": 0, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -115,11 +115,11 @@ "name": "cloudflare-worker", "kind": "composition", "path": "compositions/cloudflare-worker", - "description": "Verify a Cloudflare Worker app and deploy it from the production branch", + "description": "Cloudflare Worker build, verify, and deploy pipeline", "category": "edge", - "verified": true, - "score": 100, - "grade": "A+", + "verified": false, + "score": 60, + "grade": "C", "tags": [ "cloudflare", "edge", @@ -127,8 +127,8 @@ ], "signals": { "readme": true, - "exampleAssets": 9, - "testAssets": 1, + "exampleAssets": 0, + "testAssets": 0, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -140,11 +140,11 @@ "name": "cloudflare-worker-turbo", "kind": "composition", "path": "compositions/cloudflare-worker-turbo", - "description": "Verify a Cloudflare Worker app and deploy it from the production branch", + "description": "Cloudflare Worker with Turborepo build, verify, and deploy pipeline", "category": "edge", - "verified": true, - "score": 100, - "grade": "A+", + "verified": false, + "score": 60, + "grade": "C", "tags": [ "cloudflare", "edge", @@ -153,8 +153,8 @@ ], "signals": { "readme": true, - "exampleAssets": 9, - "testAssets": 1, + "exampleAssets": 0, + "testAssets": 0, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -163,48 +163,23 @@ } }, { - "name": "helm-chart", + "name": "publish-stack", "kind": "composition", - "path": "compositions/helm-chart", - "description": "Helm chart validation jobs for chart components", - "category": "kubernetes", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "chart", - "helm", - "kubernetes" - ], - "signals": { - "readme": true, - "exampleAssets": 5, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "helm-values", - "kind": "composition", - "path": "compositions/helm-values", - "description": "Helm values validation jobs for deployment files", - "category": "kubernetes", - "verified": true, - "score": 100, - "grade": "A+", + "path": "compositions/publish-stack", + "description": "Publish an Orun stack to an OCI registry with dry-run validation", + "category": "developer-experience", + "verified": false, + "score": 60, + "grade": "C", "tags": [ - "helm", - "kubernetes", - "values" + "developer-experience", + "publish", + "stack" ], "signals": { "readme": true, - "exampleAssets": 5, - "testAssets": 1, + "exampleAssets": 0, + "testAssets": 0, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -218,17 +193,17 @@ "path": "compositions/terraform", "description": "Terraform validation jobs for infra components", "category": "infrastructure", - "verified": true, - "score": 100, - "grade": "A+", + "verified": false, + "score": 60, + "grade": "C", "tags": [ "infrastructure", "terraform" ], "signals": { "readme": true, - "exampleAssets": 2, - "testAssets": 1, + "exampleAssets": 0, + "testAssets": 0, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -240,11 +215,11 @@ "name": "turbo-package", "kind": "composition", "path": "compositions/turbo-package", - "description": "Verify a shared package in a pnpm and Turbo monorepo", + "description": "Turborepo package verification jobs", "category": "developer-experience", - "verified": true, - "score": 100, - "grade": "A+", + "verified": false, + "score": 60, + "grade": "C", "tags": [ "developer-experience", "package", @@ -252,32 +227,8 @@ ], "signals": { "readme": true, - "exampleAssets": 8, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "workspace", - "kind": "composition", - "path": "compositions/workspace", - "description": "Workspace-backed provider smoke jobs", - "category": "developer-experience", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "developer-experience", - "workspace" - ], - "signals": { - "readme": true, - "exampleAssets": 9, - "testAssets": 1, + "exampleAssets": 0, + "testAssets": 0, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -286,44 +237,6 @@ } } ], - "blueprints": [ - { - "name": "edge-worker-platform", - "kind": "blueprint", - "path": "blueprints/edge-worker-platform", - "description": "Edge-worker delivery with workspace verification, Terraform foundations, and deploy overlays.", - "uses": [ - "workspace", - "terraform", - "cloudflare-worker", - "helm-values", - "Worker validation and deployment", - "Infra validation", - "Environment configuration overlays" - ], - "verified": true, - "score": 80, - "grade": "A" - }, - { - "name": "nextjs-cloudflare", - "kind": "blueprint", - "path": "blueprints/nextjs-cloudflare", - "description": "Next.js monorepo delivery on Cloudflare with Terraform-managed Pages resources.", - "uses": [ - "workspace", - "turbo-package", - "cloudflare-pages-turbo", - "cloudflare-pages-terraform", - "Shared workspace validation", - "Monorepo package verification", - "Git-backed Pages provisioning", - "Edge-hosted frontend delivery" - ], - "verified": true, - "score": 80, - "grade": "A" - } - ] + "blueprints": [] } } diff --git a/scripts/verify.sh b/scripts/verify.sh index a5de096..d4c6bd0 100755 --- a/scripts/verify.sh +++ b/scripts/verify.sh @@ -15,7 +15,7 @@ done stack_version="$(awk '/^ version: /{print $2}' stack.yaml)" test -n "$stack_version" -kiox -- orun publish "ghcr.io/sourceplane/stack-tectonic:${stack_version}" \ +kiox -- orun publish "ghcr.io/sourceplane/stack-tectonic-flare:${stack_version}" \ --dry-run \ --root . \ --version "$stack_version" From 0d61902db7b1380fd1050e3916fdcc532a4a23aa Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 08:57:17 +0530 Subject: [PATCH 3/8] Regenerate documentation files --- .../cloudflare-pages-terraform/README.md | 4 +-- .../README.md | 4 +-- compositions/cloudflare-pages-turbo/README.md | 4 +-- compositions/cloudflare-pages/README.md | 4 +-- .../cloudflare-worker-turbo/README.md | 6 ++-- compositions/cloudflare-worker/README.md | 6 ++-- compositions/publish-stack/README.md | 28 ++++++------------- compositions/publish-stack/examples/README.md | 4 +-- compositions/terraform/README.md | 4 +-- compositions/turbo-package/README.md | 6 ++-- 10 files changed, 30 insertions(+), 40 deletions(-) diff --git a/compositions/cloudflare-pages-terraform/README.md b/compositions/cloudflare-pages-terraform/README.md index 8c03a29..19ab57e 100644 --- a/compositions/cloudflare-pages-terraform/README.md +++ b/compositions/cloudflare-pages-terraform/README.md @@ -4,7 +4,7 @@ ## Purpose -Verify static site builds locally and reconcile a Git-backed Cloudflare Pages project with Terraform +Cloudflare Pages deployment managed with Terraform ## Contract @@ -16,7 +16,7 @@ Verify static site builds locally and reconcile a Git-backed Cloudflare Pages pr These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/docs-site-git` +- Add a sample fixture under examples/. ## Test fixtures diff --git a/compositions/cloudflare-pages-turbo-terraform/README.md b/compositions/cloudflare-pages-turbo-terraform/README.md index 2b1f832..eb503c6 100644 --- a/compositions/cloudflare-pages-turbo-terraform/README.md +++ b/compositions/cloudflare-pages-turbo-terraform/README.md @@ -4,7 +4,7 @@ ## Purpose -Verify a static app with Turbo locally and reconcile a Git-backed Cloudflare Pages project with Terraform +Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform ## Contract @@ -16,7 +16,7 @@ Verify a static app with Turbo locally and reconcile a Git-backed Cloudflare Pag These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/admin-console-git` +- Add a sample fixture under examples/. ## Test fixtures diff --git a/compositions/cloudflare-pages-turbo/README.md b/compositions/cloudflare-pages-turbo/README.md index d173e7d..8485628 100644 --- a/compositions/cloudflare-pages-turbo/README.md +++ b/compositions/cloudflare-pages-turbo/README.md @@ -4,7 +4,7 @@ ## Purpose -Build a static app with Turbo and direct-upload it to Cloudflare Pages +Cloudflare Pages deployment using Turbo monorepo builds ## Contract @@ -16,7 +16,7 @@ Build a static app with Turbo and direct-upload it to Cloudflare Pages These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/web-console` +- Add a sample fixture under examples/. ## Test fixtures diff --git a/compositions/cloudflare-pages/README.md b/compositions/cloudflare-pages/README.md index da7b056..0c42714 100644 --- a/compositions/cloudflare-pages/README.md +++ b/compositions/cloudflare-pages/README.md @@ -4,7 +4,7 @@ ## Purpose -Build static site assets and direct-upload them to Cloudflare Pages with Wrangler +Cloudflare Pages build, verify, and deploy pipeline ## Contract @@ -16,7 +16,7 @@ Build static site assets and direct-upload them to Cloudflare Pages with Wrangle These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/docs-site` +- Add a sample fixture under examples/. ## Test fixtures diff --git a/compositions/cloudflare-worker-turbo/README.md b/compositions/cloudflare-worker-turbo/README.md index b6b5e5d..ced8dad 100644 --- a/compositions/cloudflare-worker-turbo/README.md +++ b/compositions/cloudflare-worker-turbo/README.md @@ -4,7 +4,7 @@ ## Purpose -Verify a Cloudflare Worker app and deploy it from the production branch +Cloudflare Worker with Turborepo build, verify, and deploy pipeline ## Contract @@ -16,11 +16,11 @@ Verify a Cloudflare Worker app and deploy it from the production branch These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/api-edge` +- Add a sample fixture under examples/. ## Test fixtures -- `tests/smoke` +- Add a smoke or contract fixture under tests/. ## Verification diff --git a/compositions/cloudflare-worker/README.md b/compositions/cloudflare-worker/README.md index 8408509..9fb6a14 100644 --- a/compositions/cloudflare-worker/README.md +++ b/compositions/cloudflare-worker/README.md @@ -4,7 +4,7 @@ ## Purpose -Verify a Cloudflare Worker app and deploy it from the production branch +Cloudflare Worker build, verify, and deploy pipeline ## Contract @@ -16,11 +16,11 @@ Verify a Cloudflare Worker app and deploy it from the production branch These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/identity-worker` +- Add a sample fixture under examples/. ## Test fixtures -- `tests/smoke` +- Add a smoke or contract fixture under tests/. ## Verification diff --git a/compositions/publish-stack/README.md b/compositions/publish-stack/README.md index 8f30510..afdaca7 100644 --- a/compositions/publish-stack/README.md +++ b/compositions/publish-stack/README.md @@ -4,34 +4,24 @@ ## Purpose -Publish an Orun stack to an OCI registry. Runs `orun publish --dry-run` on every pull request and performs the real publish on release. +Publish an Orun stack to an OCI registry with dry-run validation ## Contract - **Type:** `publish-stack` - **Path:** `compositions/publish-stack` -- **Definition:** `composition.yaml` +- **Definition:** `compositions.yaml` -## Profiles - -| Profile | Description | -|-----------|--------------------------------------------------| -| `dry-run` | PR validation — runs `orun publish --dry-run` | -| `verify` | Staging validation — dry-run without publishing | -| `release` | Production — dry-run + real publish to registry | +## Example fixtures -## Inputs +These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -| Input | Required | Description | -|------------|----------|-----------------------------------------------------------| -| `registry` | yes | OCI registry base URL, e.g. `ghcr.io/org/stack-name` | -| `version` | yes | Default version; overridden at runtime by `STACK_VERSION` | -| `root` | no | Root directory of the stack (default `.`) | +- Add a sample fixture under examples/. -## Example fixtures +## Test fixtures -- `examples/` +- Add a smoke or contract fixture under tests/. -## Test fixtures +## Verification -- `tests/smoke` +`./scripts/verify-composition.sh publish-stack` checks that this composition keeps its contract, fixture, and generated-doc scaffolding intact. diff --git a/compositions/publish-stack/examples/README.md b/compositions/publish-stack/examples/README.md index 6084b05..e57d849 100644 --- a/compositions/publish-stack/examples/README.md +++ b/compositions/publish-stack/examples/README.md @@ -1,5 +1,5 @@ # Examples for publish-stack -These fixtures show how `publish-stack` looks inside a consumer repository. +These fixtures are excerpted or adapted from `example-platform-repo` to show how `publish-stack` looks inside a consumer repository. -- `examples/stack-tectonic` — the Stack Tectonic stack itself, published to `ghcr.io/sourceplane/stack-tectonic` +- Add a sample fixture under examples/. diff --git a/compositions/terraform/README.md b/compositions/terraform/README.md index 4a77832..aa5c1d9 100644 --- a/compositions/terraform/README.md +++ b/compositions/terraform/README.md @@ -16,11 +16,11 @@ Terraform validation jobs for infra components These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/network-foundation` +- Add a sample fixture under examples/. ## Test fixtures -- `tests/smoke` +- Add a smoke or contract fixture under tests/. ## Verification diff --git a/compositions/turbo-package/README.md b/compositions/turbo-package/README.md index 9f7a252..0063768 100644 --- a/compositions/turbo-package/README.md +++ b/compositions/turbo-package/README.md @@ -4,7 +4,7 @@ ## Purpose -Verify a shared package in a pnpm and Turbo monorepo +Turborepo package verification jobs ## Contract @@ -16,11 +16,11 @@ Verify a shared package in a pnpm and Turbo monorepo These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- `examples/platform-sdk` +- Add a sample fixture under examples/. ## Test fixtures -- `tests/smoke` +- Add a smoke or contract fixture under tests/. ## Verification From adc86d413dbfdd94f2330f1cdaf02369ffa667dd Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 08:59:32 +0530 Subject: [PATCH 4/8] Add examples, tests, and gitignore configuration --- .gitignore | 2 + .../examples/README.md | 5 + .../cloudflare-pages-terraform/component.yaml | 31 ++++++ .../infra/cloudflare-pages-terraform/main.tf | 87 ++++++++++++++++ .../website/docs/deployment-paths.md | 98 +++++++++++++++++++ .../website/docs/getting-started.md | 51 ++++++++++ .../website/docusaurus.config.js | 81 +++++++++++++++ .../docs-site-git/website/package.json | 22 +++++ .../docs-site-git/website/sidebars.js | 3 + .../examples/README.md | 5 + .../apps/admin-console/component.yaml | 31 ++++++ .../apps/admin-console/package.json | 9 ++ .../apps/admin-console/src/app.js | 8 ++ .../apps/admin-console/wrangler.jsonc | 6 ++ .../cloudflare-pages-admin-console/main.tf | 87 ++++++++++++++++ .../examples/admin-console-git/package.json | 17 ++++ .../admin-console-git/pnpm-workspace.yaml | 3 + .../admin-console-git/tsconfig.base.json | 14 +++ .../examples/admin-console-git/turbo.json | 27 +++++ .../cloudflare-pages-turbo/examples/README.md | 5 + .../apps/web-console/component.yaml | 25 +++++ .../web-console/apps/web-console/package.json | 9 ++ .../web-console/apps/web-console/src/app.js | 8 ++ .../apps/web-console/wrangler.jsonc | 6 ++ .../examples/web-console/package.json | 17 ++++ .../examples/web-console/pnpm-workspace.yaml | 3 + .../examples/web-console/tsconfig.base.json | 14 +++ .../examples/web-console/turbo.json | 27 +++++ .../cloudflare-pages/examples/README.md | 5 + .../examples/docs-site/website/component.yaml | 25 +++++ .../website/docs/deployment-paths.md | 98 +++++++++++++++++++ .../docs-site/website/docs/getting-started.md | 51 ++++++++++ .../docs-site/website/docusaurus.config.js | 81 +++++++++++++++ .../examples/docs-site/website/package.json | 22 +++++ .../examples/docs-site/website/sidebars.js | 3 + .../examples/README.md | 5 + .../api-edge/apps/api-edge/component.yaml | 31 ++++++ .../api-edge/apps/api-edge/package.json | 11 +++ .../api-edge/apps/api-edge/src/index.ts | 15 +++ .../api-edge/apps/api-edge/tsconfig.json | 6 ++ .../api-edge/apps/api-edge/wrangler.jsonc | 10 ++ .../examples/api-edge/package.json | 17 ++++ .../examples/api-edge/pnpm-workspace.yaml | 3 + .../examples/api-edge/tsconfig.base.json | 14 +++ .../examples/api-edge/turbo.json | 27 +++++ .../cloudflare-worker-turbo/tests/README.md | 5 + .../cloudflare-worker/examples/README.md | 5 + .../apps/identity-worker/component.yaml | 27 +++++ .../apps/identity-worker/package.json | 11 +++ .../apps/identity-worker/src/index.ts | 16 +++ .../apps/identity-worker/tsconfig.json | 6 ++ .../apps/identity-worker/wrangler.jsonc | 10 ++ .../examples/identity-worker/package.json | 17 ++++ .../identity-worker/pnpm-workspace.yaml | 3 + .../identity-worker/tsconfig.base.json | 14 +++ .../examples/identity-worker/turbo.json | 27 +++++ .../cloudflare-worker/tests/README.md | 5 + compositions/examples/README.md | 5 + .../apps/admin-console/component.yaml | 31 ++++++ .../apps/admin-console/package.json | 9 ++ .../apps/admin-console/src/app.js | 8 ++ .../apps/admin-console/wrangler.jsonc | 6 ++ .../cloudflare-pages-admin-console/main.tf | 87 ++++++++++++++++ .../examples/admin-console-git/package.json | 17 ++++ .../admin-console-git/pnpm-workspace.yaml | 3 + .../admin-console-git/tsconfig.base.json | 14 +++ .../examples/admin-console-git/turbo.json | 27 +++++ .../api-edge/apps/api-edge/component.yaml | 31 ++++++ .../api-edge/apps/api-edge/package.json | 11 +++ .../api-edge/apps/api-edge/src/index.ts | 15 +++ .../api-edge/apps/api-edge/tsconfig.json | 6 ++ .../api-edge/apps/api-edge/wrangler.jsonc | 10 ++ compositions/examples/api-edge/package.json | 17 ++++ .../examples/api-edge/pnpm-workspace.yaml | 3 + .../examples/api-edge/tsconfig.base.json | 14 +++ compositions/examples/api-edge/turbo.json | 27 +++++ .../cloudflare-pages-terraform/component.yaml | 31 ++++++ .../infra/cloudflare-pages-terraform/main.tf | 87 ++++++++++++++++ .../website/docs/deployment-paths.md | 98 +++++++++++++++++++ .../website/docs/getting-started.md | 51 ++++++++++ .../website/docusaurus.config.js | 81 +++++++++++++++ .../docs-site-git/website/package.json | 22 +++++ .../docs-site-git/website/sidebars.js | 3 + .../examples/docs-site/website/component.yaml | 25 +++++ .../website/docs/deployment-paths.md | 98 +++++++++++++++++++ .../docs-site/website/docs/getting-started.md | 51 ++++++++++ .../docs-site/website/docusaurus.config.js | 81 +++++++++++++++ .../examples/docs-site/website/package.json | 22 +++++ .../examples/docs-site/website/sidebars.js | 3 + .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../charts/hello-chart/chart/component.yaml | 25 +++++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../deploy/hello-deploy/values.yaml | 5 + .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../deploy/hello-deploy/component.yaml | 25 +++++ .../deploy/hello-deploy/values.yaml | 5 + .../apps/identity-worker/component.yaml | 27 +++++ .../apps/identity-worker/package.json | 11 +++ .../apps/identity-worker/src/index.ts | 16 +++ .../apps/identity-worker/tsconfig.json | 6 ++ .../apps/identity-worker/wrangler.jsonc | 10 ++ .../examples/identity-worker/package.json | 17 ++++ .../identity-worker/pnpm-workspace.yaml | 3 + .../identity-worker/tsconfig.base.json | 14 +++ .../examples/identity-worker/turbo.json | 27 +++++ .../infra/infra-1/component.yaml | 22 +++++ .../network-foundation/infra/infra-1/main.tf | 21 ++++ .../examples/platform-sdk/package.json | 17 ++++ .../platform-sdk/packages/sdk/component.yaml | 23 +++++ .../platform-sdk/packages/sdk/package.json | 10 ++ .../platform-sdk/packages/sdk/src/index.ts | 3 + .../platform-sdk/packages/sdk/tsconfig.json | 6 ++ .../examples/platform-sdk/pnpm-workspace.yaml | 3 + .../examples/platform-sdk/tsconfig.base.json | 14 +++ compositions/examples/platform-sdk/turbo.json | 27 +++++ .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../examples/provider-smoke/component.yaml | 23 +++++ .../deploy/hello-deploy/values.yaml | 5 + .../smoke/kustomize/configmap.yaml | 6 ++ .../smoke/kustomize/kustomization.yaml | 4 + .../provider-smoke/smoke/provider-smoke.yaml | 22 +++++ .../provider-smoke/smoke/terraform/main.tf | 7 ++ .../apps/web-console/component.yaml | 25 +++++ .../web-console/apps/web-console/package.json | 9 ++ .../web-console/apps/web-console/src/app.js | 8 ++ .../apps/web-console/wrangler.jsonc | 6 ++ .../examples/web-console/package.json | 17 ++++ .../examples/web-console/pnpm-workspace.yaml | 3 + .../examples/web-console/tsconfig.base.json | 14 +++ compositions/examples/web-console/turbo.json | 27 +++++ compositions/helm-chart/README.md | 5 + .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../charts/hello-chart/chart/component.yaml | 25 +++++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../deploy/hello-deploy/values.yaml | 5 + compositions/helm-values/README.md | 5 + .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../deploy/hello-deploy/component.yaml | 25 +++++ .../deploy/hello-deploy/values.yaml | 5 + compositions/publish-stack/tests/README.md | 5 + compositions/terraform/examples/README.md | 5 + .../infra/infra-1/component.yaml | 22 +++++ .../network-foundation/infra/infra-1/main.tf | 21 ++++ compositions/terraform/tests/README.md | 5 + compositions/turbo-package/examples/README.md | 5 + .../examples/platform-sdk/package.json | 17 ++++ .../platform-sdk/packages/sdk/component.yaml | 23 +++++ .../platform-sdk/packages/sdk/package.json | 10 ++ .../platform-sdk/packages/sdk/src/index.ts | 3 + .../platform-sdk/packages/sdk/tsconfig.json | 6 ++ .../examples/platform-sdk/pnpm-workspace.yaml | 3 + .../examples/platform-sdk/tsconfig.base.json | 14 +++ .../examples/platform-sdk/turbo.json | 27 +++++ compositions/turbo-package/tests/README.md | 5 + compositions/workspace/README.md | 5 + .../charts/hello-chart/chart/Chart.yaml | 6 ++ .../chart/templates/configmap.yaml | 11 +++ .../charts/hello-chart/chart/values.yaml | 5 + .../workspace/provider-smoke/component.yaml | 23 +++++ .../deploy/hello-deploy/values.yaml | 5 + .../smoke/kustomize/configmap.yaml | 6 ++ .../smoke/kustomize/kustomization.yaml | 4 + .../provider-smoke/smoke/provider-smoke.yaml | 22 +++++ .../provider-smoke/smoke/terraform/main.tf | 7 ++ 172 files changed, 3223 insertions(+) create mode 100644 .gitignore create mode 100644 compositions/cloudflare-pages-terraform/examples/README.md create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json create mode 100644 compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/README.md create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json create mode 100644 compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json create mode 100644 compositions/cloudflare-pages-turbo/examples/README.md create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/package.json create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json create mode 100644 compositions/cloudflare-pages-turbo/examples/web-console/turbo.json create mode 100644 compositions/cloudflare-pages/examples/README.md create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/component.yaml create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/package.json create mode 100644 compositions/cloudflare-pages/examples/docs-site/website/sidebars.js create mode 100644 compositions/cloudflare-worker-turbo/examples/README.md create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/package.json create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json create mode 100644 compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json create mode 100644 compositions/cloudflare-worker-turbo/tests/README.md create mode 100644 compositions/cloudflare-worker/examples/README.md create mode 100644 compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml create mode 100644 compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json create mode 100644 compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts create mode 100644 compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json create mode 100644 compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc create mode 100644 compositions/cloudflare-worker/examples/identity-worker/package.json create mode 100644 compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml create mode 100644 compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json create mode 100644 compositions/cloudflare-worker/examples/identity-worker/turbo.json create mode 100644 compositions/cloudflare-worker/tests/README.md create mode 100644 compositions/examples/README.md create mode 100644 compositions/examples/admin-console-git/apps/admin-console/component.yaml create mode 100644 compositions/examples/admin-console-git/apps/admin-console/package.json create mode 100644 compositions/examples/admin-console-git/apps/admin-console/src/app.js create mode 100644 compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc create mode 100644 compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf create mode 100644 compositions/examples/admin-console-git/package.json create mode 100644 compositions/examples/admin-console-git/pnpm-workspace.yaml create mode 100644 compositions/examples/admin-console-git/tsconfig.base.json create mode 100644 compositions/examples/admin-console-git/turbo.json create mode 100644 compositions/examples/api-edge/apps/api-edge/component.yaml create mode 100644 compositions/examples/api-edge/apps/api-edge/package.json create mode 100644 compositions/examples/api-edge/apps/api-edge/src/index.ts create mode 100644 compositions/examples/api-edge/apps/api-edge/tsconfig.json create mode 100644 compositions/examples/api-edge/apps/api-edge/wrangler.jsonc create mode 100644 compositions/examples/api-edge/package.json create mode 100644 compositions/examples/api-edge/pnpm-workspace.yaml create mode 100644 compositions/examples/api-edge/tsconfig.base.json create mode 100644 compositions/examples/api-edge/turbo.json create mode 100644 compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml create mode 100644 compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf create mode 100644 compositions/examples/docs-site-git/website/docs/deployment-paths.md create mode 100644 compositions/examples/docs-site-git/website/docs/getting-started.md create mode 100644 compositions/examples/docs-site-git/website/docusaurus.config.js create mode 100644 compositions/examples/docs-site-git/website/package.json create mode 100644 compositions/examples/docs-site-git/website/sidebars.js create mode 100644 compositions/examples/docs-site/website/component.yaml create mode 100644 compositions/examples/docs-site/website/docs/deployment-paths.md create mode 100644 compositions/examples/docs-site/website/docs/getting-started.md create mode 100644 compositions/examples/docs-site/website/docusaurus.config.js create mode 100644 compositions/examples/docs-site/website/package.json create mode 100644 compositions/examples/docs-site/website/sidebars.js create mode 100644 compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml create mode 100644 compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml create mode 100644 compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml create mode 100644 compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml create mode 100644 compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml create mode 100644 compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml create mode 100644 compositions/examples/identity-worker/apps/identity-worker/component.yaml create mode 100644 compositions/examples/identity-worker/apps/identity-worker/package.json create mode 100644 compositions/examples/identity-worker/apps/identity-worker/src/index.ts create mode 100644 compositions/examples/identity-worker/apps/identity-worker/tsconfig.json create mode 100644 compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc create mode 100644 compositions/examples/identity-worker/package.json create mode 100644 compositions/examples/identity-worker/pnpm-workspace.yaml create mode 100644 compositions/examples/identity-worker/tsconfig.base.json create mode 100644 compositions/examples/identity-worker/turbo.json create mode 100644 compositions/examples/network-foundation/infra/infra-1/component.yaml create mode 100644 compositions/examples/network-foundation/infra/infra-1/main.tf create mode 100644 compositions/examples/platform-sdk/package.json create mode 100644 compositions/examples/platform-sdk/packages/sdk/component.yaml create mode 100644 compositions/examples/platform-sdk/packages/sdk/package.json create mode 100644 compositions/examples/platform-sdk/packages/sdk/src/index.ts create mode 100644 compositions/examples/platform-sdk/packages/sdk/tsconfig.json create mode 100644 compositions/examples/platform-sdk/pnpm-workspace.yaml create mode 100644 compositions/examples/platform-sdk/tsconfig.base.json create mode 100644 compositions/examples/platform-sdk/turbo.json create mode 100644 compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml create mode 100644 compositions/examples/provider-smoke/component.yaml create mode 100644 compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml create mode 100644 compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml create mode 100644 compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml create mode 100644 compositions/examples/provider-smoke/smoke/provider-smoke.yaml create mode 100644 compositions/examples/provider-smoke/smoke/terraform/main.tf create mode 100644 compositions/examples/web-console/apps/web-console/component.yaml create mode 100644 compositions/examples/web-console/apps/web-console/package.json create mode 100644 compositions/examples/web-console/apps/web-console/src/app.js create mode 100644 compositions/examples/web-console/apps/web-console/wrangler.jsonc create mode 100644 compositions/examples/web-console/package.json create mode 100644 compositions/examples/web-console/pnpm-workspace.yaml create mode 100644 compositions/examples/web-console/tsconfig.base.json create mode 100644 compositions/examples/web-console/turbo.json create mode 100644 compositions/helm-chart/README.md create mode 100644 compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml create mode 100644 compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml create mode 100644 compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml create mode 100644 compositions/helm-values/README.md create mode 100644 compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml create mode 100644 compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml create mode 100644 compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml create mode 100644 compositions/publish-stack/tests/README.md create mode 100644 compositions/terraform/examples/README.md create mode 100644 compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml create mode 100644 compositions/terraform/examples/network-foundation/infra/infra-1/main.tf create mode 100644 compositions/terraform/tests/README.md create mode 100644 compositions/turbo-package/examples/README.md create mode 100644 compositions/turbo-package/examples/platform-sdk/package.json create mode 100644 compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml create mode 100644 compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json create mode 100644 compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts create mode 100644 compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json create mode 100644 compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml create mode 100644 compositions/turbo-package/examples/platform-sdk/tsconfig.base.json create mode 100644 compositions/turbo-package/examples/platform-sdk/turbo.json create mode 100644 compositions/turbo-package/tests/README.md create mode 100644 compositions/workspace/README.md create mode 100644 compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml create mode 100644 compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml create mode 100644 compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml create mode 100644 compositions/workspace/provider-smoke/component.yaml create mode 100644 compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml create mode 100644 compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml create mode 100644 compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml create mode 100644 compositions/workspace/provider-smoke/smoke/provider-smoke.yaml create mode 100644 compositions/workspace/provider-smoke/smoke/terraform/main.tf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24f60df --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.workspace/ +.DS_Store diff --git a/compositions/cloudflare-pages-terraform/examples/README.md b/compositions/cloudflare-pages-terraform/examples/README.md new file mode 100644 index 0000000..0916391 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-pages-terraform + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-terraform` looks inside a consumer repository. + +- `examples/docs-site-git` diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml new file mode 100644 index 0000000..bef7993 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: docs-site-git-source + +spec: + type: cloudflare-pages-terraform + domain: platform-docs + subscribe: + environments: + - production + inputs: + siteDir: ../../website + installCommand: npm ci + buildCommand: npm run docs:build + cloudflareBuildCommand: npm ci && npm run docs:build + outputDir: docs-build + rootDir: website + nodeVersion: "20" + terraformDir: . + terraformVersion: 1.9.8 + projectName: example-platform-docs-terraform + productionBranch: main + repoOwner: sourceplane + repoName: example-platform-repo + labels: + team: platform + layer: foundation + surface: docs + runtime: cloudflare \ No newline at end of file diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf new file mode 100644 index 0000000..de0cd30 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf @@ -0,0 +1,87 @@ +terraform { + required_version = ">= 1.6.0" + + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + version = "~> 4.32" + } + } +} + +variable "account_id" { + description = "Cloudflare account identifier used by the Pages project" + type = string +} + +variable "project_name" { + description = "Cloudflare Pages project name" + type = string +} + +variable "production_branch" { + description = "Git branch used for production deployments" + type = string +} + +variable "repo_owner" { + description = "GitHub owner connected to the Cloudflare Pages project" + type = string +} + +variable "repo_name" { + description = "GitHub repository connected to the Cloudflare Pages project" + type = string +} + +variable "build_command" { + description = "Build command Cloudflare Pages runs for the site" + type = string +} + +variable "destination_dir" { + description = "Directory Cloudflare Pages publishes after the build" + type = string +} + +variable "root_dir" { + description = "Repository-root relative directory Cloudflare Pages builds from" + type = string +} + +resource "cloudflare_pages_project" "docs" { + account_id = var.account_id + name = var.project_name + production_branch = var.production_branch + + source { + type = "github" + + config { + owner = var.repo_owner + repo_name = var.repo_name + production_branch = var.production_branch + deployments_enabled = true + production_deployment_enabled = true + preview_deployment_setting = "all" + pr_comments_enabled = true + } + } + + build_config { + build_caching = true + build_command = var.build_command + destination_dir = var.destination_dir + root_dir = var.root_dir + } +} + +output "pages_project_name" { + value = cloudflare_pages_project.docs.name + description = "Cloudflare Pages project name" +} + +output "pages_subdomain" { + value = cloudflare_pages_project.docs.subdomain + description = "Cloudflare Pages subdomain assigned to the project" +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md new file mode 100644 index 0000000..98f116b --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md @@ -0,0 +1,98 @@ +--- +title: Deployment Paths +--- + +## Wrangler direct upload {#wrangler-direct-upload} + +The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to +push the generated `docs-build/` directory to a Direct Upload Pages project. + +Key inputs: + +- `siteDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `productionBranch` + +That path is useful when you want deployment to follow the build artifact produced by Gluon. + +## Turbo worker deploy {#turbo-worker-deploy} + +The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and +typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `typecheckCommand` +- `deployCommand` +- `pnpmVersion` + +That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the +real install and build still need to happen from the monorepo root. + +## Turbo Pages direct upload {#turbo-pages-direct-upload} + +The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, +then direct-uploads an app-specific output directory such as `apps/web-console/dist`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `pnpmVersion` + +That path is useful when the Pages app lives under `apps/`, the component manifest should stay next +to the app, and Gluon should still own the final build artifact. + +## Terraform Git source {#terraform-git-source} + +The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a +`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. + +Key inputs: + +- `terraformDir` +- `rootDir` +- `cloudflareBuildCommand` +- `repoOwner` +- `repoName` +- `projectName` + +That path is useful when you want the Pages project itself versioned as infrastructure and let +Cloudflare build from Git after the project is connected. + +## Turbo Pages Terraform {#turbo-pages-terraform} + +The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` +directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform +at an `infra/*` directory that owns the Cloudflare Pages project contract. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `outputDir` +- `destinationDir` +- `rootDir` +- `terraformDir` +- `cloudflareBuildCommand` +- `pnpmVersion` + +That path is useful when platform teams want app-local manifests for discovery and ownership, but +still want the Cloudflare Pages project itself versioned under infrastructure code. + +## Choosing between them + +- Use Wrangler when Gluon should own the build artifact and publish it directly. +- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. +- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md new file mode 100644 index 0000000..d5bc169 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md @@ -0,0 +1,51 @@ +--- +title: Getting Started +--- + +## Local build + +Run the docs site the same way the compositions do: + +```bash +cd website +npm ci +npm run docs:build +npm run docs:serve +``` + +The production build is written to `website/docs-build/`. + +## Turbo example builds + +The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: + +```bash +corepack enable +pnpm install --no-frozen-lockfile +pnpm turbo run build --filter=@example/web-console +pnpm turbo run typecheck --filter=@example/api-edge +``` + +Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, +`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. + +## Why Docusaurus here + +Docusaurus is a good fit for this sample because it produces a plain static directory while still +exercising a realistic Node-based documentation toolchain. That makes it useful for both: + +- direct upload workflows that publish prebuilt assets +- Git-connected Pages projects that build inside Cloudflare + +## Credentials used in CI + +The repository expects these secrets in GitHub Actions: + +- `CLOUDFLARE_ACCOUNT_ID` +- `CLOUDFLARE_API_TOKEN` + +The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses +the same variables when it needs to plan against or apply Cloudflare resources. + +Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from +the app-local manifest under `apps/`. \ No newline at end of file diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js new file mode 100644 index 0000000..edbc568 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js @@ -0,0 +1,81 @@ +const config = { + title: 'Example Platform Docs', + tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', + url: 'https://example-platform-docs.pages.dev', + baseUrl: '/', + organizationName: 'sourceplane', + projectName: 'example-platform-repo', + onBrokenLinks: 'throw', + onDuplicateRoutes: 'throw', + markdown: { + hooks: { + onBrokenMarkdownLinks: 'throw', + }, + }, + i18n: { + defaultLocale: 'en', + locales: ['en'], + }, + presets: [ + [ + 'classic', + { + docs: { + path: 'docs', + routeBasePath: '/', + sidebarPath: require.resolve('./sidebars.js'), + }, + blog: false, + theme: { + customCss: require.resolve('./src/css/custom.css'), + }, + }, + ], + ], + themeConfig: { + colorMode: { + defaultMode: 'light', + respectPrefersColorScheme: true, + }, + navbar: { + title: 'Example Platform', + items: [ + { + to: '/', + label: 'Docs', + position: 'left', + }, + { + href: 'https://github.com/sourceplane/example-platform-repo', + label: 'GitHub', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Paths', + items: [ + { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, + { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, + ], + }, + { + title: 'Repo', + items: [ + { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, + { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, + ], + }, + ], + copyright: `Copyright ${new Date().getFullYear()} sourceplane`, + }, + prism: { + additionalLanguages: ['bash', 'json', 'yaml'], + }, + }, +}; + +module.exports = config; diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json new file mode 100644 index 0000000..2cf01d8 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json @@ -0,0 +1,22 @@ +{ + "name": "example-platform-docs", + "version": "1.0.0", + "private": true, + "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", + "scripts": { + "docs:start": "docusaurus start", + "docs:build": "docusaurus build --out-dir docs-build", + "docs:serve": "docusaurus serve --dir docs-build" + }, + "overrides": { + "webpack": "5.105.4", + "html-webpack-plugin": "5.6.6" + }, + "dependencies": { + "@docusaurus/core": "3.9.2", + "@docusaurus/preset-classic": "3.9.2", + "@mdx-js/react": "3.1.1", + "react": "19.2.4", + "react-dom": "19.2.4" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js new file mode 100644 index 0000000..2aea2f9 --- /dev/null +++ b/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js @@ -0,0 +1,3 @@ +module.exports = { + docsSidebar: ['intro', 'getting-started', 'deployment-paths'], +}; \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/README.md b/compositions/cloudflare-pages-turbo-terraform/examples/README.md new file mode 100644 index 0000000..b1d6172 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-pages-turbo-terraform + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-turbo-terraform` looks inside a consumer repository. + +- `examples/admin-console-git` diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml new file mode 100644 index 0000000..770db61 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: admin-console-pages-git + +spec: + type: cloudflare-pages-turbo-terraform + domain: platform-ui + subscribe: + environments: + - staging + - production + inputs: + cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console + outputDir: dist + destinationDir: dist + rootDir: . + nodeVersion: "20" + pnpmVersion: "10.12.1" + terraformDir: ../../infra/cloudflare-pages-admin-console + terraformVersion: 1.9.8 + projectName: example-platform-admin-console + productionBranch: main + repoOwner: sourceplane + repoName: example-platform-repo + labels: + team: platform + layer: foundation + surface: admin-console + runtime: cloudflare \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json new file mode 100644 index 0000000..e601fe4 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json @@ -0,0 +1,9 @@ +{ + "name": "@example/admin-console", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "node ./scripts/build.mjs" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js new file mode 100644 index 0000000..25c37e6 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js @@ -0,0 +1,8 @@ +const panel = document.querySelector(".panel"); + +if (panel) { + const stamp = document.createElement("p"); + stamp.className = "timestamp"; + stamp.textContent = "Managed in Cloudflare through Terraform after Gluon planning."; + panel.append(stamp); +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc new file mode 100644 index 0000000..e2f68c3 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc @@ -0,0 +1,6 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-admin-console", + "compatibility_date": "2026-04-25", + "pages_build_output_dir": "dist" +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf new file mode 100644 index 0000000..f4eb061 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf @@ -0,0 +1,87 @@ +terraform { + required_version = ">= 1.6.0" + + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + version = "~> 4.32" + } + } +} + +variable "account_id" { + description = "Cloudflare account identifier used by the Pages project" + type = string +} + +variable "project_name" { + description = "Cloudflare Pages project name" + type = string +} + +variable "production_branch" { + description = "Git branch used for production deployments" + type = string +} + +variable "repo_owner" { + description = "GitHub owner connected to the Cloudflare Pages project" + type = string +} + +variable "repo_name" { + description = "GitHub repository connected to the Cloudflare Pages project" + type = string +} + +variable "build_command" { + description = "Build command Cloudflare Pages runs for the site" + type = string +} + +variable "destination_dir" { + description = "Directory Cloudflare Pages publishes after the build" + type = string +} + +variable "root_dir" { + description = "Repository-root relative directory Cloudflare Pages builds from" + type = string +} + +resource "cloudflare_pages_project" "admin_console" { + account_id = var.account_id + name = var.project_name + production_branch = var.production_branch + + source { + type = "github" + + config { + owner = var.repo_owner + repo_name = var.repo_name + production_branch = var.production_branch + deployments_enabled = true + production_deployment_enabled = true + preview_deployment_setting = "all" + pr_comments_enabled = true + } + } + + build_config { + build_caching = true + build_command = var.build_command + destination_dir = var.destination_dir + root_dir = var.root_dir + } +} + +output "pages_project_name" { + value = cloudflare_pages_project.admin_console.name + description = "Cloudflare Pages project name" +} + +output "pages_subdomain" { + value = cloudflare_pages_project.admin_console.subdomain + description = "Cloudflare Pages subdomain assigned to the project" +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/README.md b/compositions/cloudflare-pages-turbo/examples/README.md new file mode 100644 index 0000000..b08e76f --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-pages-turbo + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-turbo` looks inside a consumer repository. + +- `examples/web-console` diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml new file mode 100644 index 0000000..e537dc1 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: web-console-pages + +spec: + type: cloudflare-pages-turbo + domain: platform-ui + subscribe: + environments: + - preview + - staging + - production + inputs: + outputDir: dist + projectName: example-platform-web-console + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: delivery + surface: web-console + runtime: cloudflare \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json new file mode 100644 index 0000000..40aaaa2 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json @@ -0,0 +1,9 @@ +{ + "name": "@example/web-console", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "node ./scripts/build.mjs" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js new file mode 100644 index 0000000..ad59686 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js @@ -0,0 +1,8 @@ +const panel = document.querySelector(".panel"); + +if (panel) { + const stamp = document.createElement("p"); + stamp.className = "timestamp"; + stamp.textContent = `Build source: apps/web-console at ${new Date().toISOString()}`; + panel.append(stamp); +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc new file mode 100644 index 0000000..67e99e2 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc @@ -0,0 +1,6 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-web-console", + "compatibility_date": "2026-04-25", + "pages_build_output_dir": "dist" +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/package.json b/compositions/cloudflare-pages-turbo/examples/web-console/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml b/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json b/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json b/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages/examples/README.md b/compositions/cloudflare-pages/examples/README.md new file mode 100644 index 0000000..53b3594 --- /dev/null +++ b/compositions/cloudflare-pages/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-pages + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages` looks inside a consumer repository. + +- `examples/docs-site` diff --git a/compositions/cloudflare-pages/examples/docs-site/website/component.yaml b/compositions/cloudflare-pages/examples/docs-site/website/component.yaml new file mode 100644 index 0000000..2a301a5 --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: docs-site-direct-upload + +spec: + type: cloudflare-pages + domain: platform-docs + subscribe: + environments: + - production + inputs: + siteDir: . + installCommand: npm ci + buildCommand: npm run docs:build + outputDir: docs-build + projectName: example-platform-docs-wrangler + nodeVersion: "20" + productionBranch: main + labels: + team: platform + layer: delivery + surface: docs + runtime: cloudflare diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md b/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md new file mode 100644 index 0000000..98f116b --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md @@ -0,0 +1,98 @@ +--- +title: Deployment Paths +--- + +## Wrangler direct upload {#wrangler-direct-upload} + +The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to +push the generated `docs-build/` directory to a Direct Upload Pages project. + +Key inputs: + +- `siteDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `productionBranch` + +That path is useful when you want deployment to follow the build artifact produced by Gluon. + +## Turbo worker deploy {#turbo-worker-deploy} + +The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and +typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `typecheckCommand` +- `deployCommand` +- `pnpmVersion` + +That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the +real install and build still need to happen from the monorepo root. + +## Turbo Pages direct upload {#turbo-pages-direct-upload} + +The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, +then direct-uploads an app-specific output directory such as `apps/web-console/dist`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `pnpmVersion` + +That path is useful when the Pages app lives under `apps/`, the component manifest should stay next +to the app, and Gluon should still own the final build artifact. + +## Terraform Git source {#terraform-git-source} + +The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a +`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. + +Key inputs: + +- `terraformDir` +- `rootDir` +- `cloudflareBuildCommand` +- `repoOwner` +- `repoName` +- `projectName` + +That path is useful when you want the Pages project itself versioned as infrastructure and let +Cloudflare build from Git after the project is connected. + +## Turbo Pages Terraform {#turbo-pages-terraform} + +The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` +directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform +at an `infra/*` directory that owns the Cloudflare Pages project contract. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `outputDir` +- `destinationDir` +- `rootDir` +- `terraformDir` +- `cloudflareBuildCommand` +- `pnpmVersion` + +That path is useful when platform teams want app-local manifests for discovery and ownership, but +still want the Cloudflare Pages project itself versioned under infrastructure code. + +## Choosing between them + +- Use Wrangler when Gluon should own the build artifact and publish it directly. +- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. +- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md b/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md new file mode 100644 index 0000000..d5bc169 --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md @@ -0,0 +1,51 @@ +--- +title: Getting Started +--- + +## Local build + +Run the docs site the same way the compositions do: + +```bash +cd website +npm ci +npm run docs:build +npm run docs:serve +``` + +The production build is written to `website/docs-build/`. + +## Turbo example builds + +The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: + +```bash +corepack enable +pnpm install --no-frozen-lockfile +pnpm turbo run build --filter=@example/web-console +pnpm turbo run typecheck --filter=@example/api-edge +``` + +Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, +`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. + +## Why Docusaurus here + +Docusaurus is a good fit for this sample because it produces a plain static directory while still +exercising a realistic Node-based documentation toolchain. That makes it useful for both: + +- direct upload workflows that publish prebuilt assets +- Git-connected Pages projects that build inside Cloudflare + +## Credentials used in CI + +The repository expects these secrets in GitHub Actions: + +- `CLOUDFLARE_ACCOUNT_ID` +- `CLOUDFLARE_API_TOKEN` + +The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses +the same variables when it needs to plan against or apply Cloudflare resources. + +Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from +the app-local manifest under `apps/`. \ No newline at end of file diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js b/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js new file mode 100644 index 0000000..edbc568 --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js @@ -0,0 +1,81 @@ +const config = { + title: 'Example Platform Docs', + tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', + url: 'https://example-platform-docs.pages.dev', + baseUrl: '/', + organizationName: 'sourceplane', + projectName: 'example-platform-repo', + onBrokenLinks: 'throw', + onDuplicateRoutes: 'throw', + markdown: { + hooks: { + onBrokenMarkdownLinks: 'throw', + }, + }, + i18n: { + defaultLocale: 'en', + locales: ['en'], + }, + presets: [ + [ + 'classic', + { + docs: { + path: 'docs', + routeBasePath: '/', + sidebarPath: require.resolve('./sidebars.js'), + }, + blog: false, + theme: { + customCss: require.resolve('./src/css/custom.css'), + }, + }, + ], + ], + themeConfig: { + colorMode: { + defaultMode: 'light', + respectPrefersColorScheme: true, + }, + navbar: { + title: 'Example Platform', + items: [ + { + to: '/', + label: 'Docs', + position: 'left', + }, + { + href: 'https://github.com/sourceplane/example-platform-repo', + label: 'GitHub', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Paths', + items: [ + { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, + { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, + ], + }, + { + title: 'Repo', + items: [ + { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, + { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, + ], + }, + ], + copyright: `Copyright ${new Date().getFullYear()} sourceplane`, + }, + prism: { + additionalLanguages: ['bash', 'json', 'yaml'], + }, + }, +}; + +module.exports = config; diff --git a/compositions/cloudflare-pages/examples/docs-site/website/package.json b/compositions/cloudflare-pages/examples/docs-site/website/package.json new file mode 100644 index 0000000..2cf01d8 --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/package.json @@ -0,0 +1,22 @@ +{ + "name": "example-platform-docs", + "version": "1.0.0", + "private": true, + "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", + "scripts": { + "docs:start": "docusaurus start", + "docs:build": "docusaurus build --out-dir docs-build", + "docs:serve": "docusaurus serve --dir docs-build" + }, + "overrides": { + "webpack": "5.105.4", + "html-webpack-plugin": "5.6.6" + }, + "dependencies": { + "@docusaurus/core": "3.9.2", + "@docusaurus/preset-classic": "3.9.2", + "@mdx-js/react": "3.1.1", + "react": "19.2.4", + "react-dom": "19.2.4" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js b/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js new file mode 100644 index 0000000..2aea2f9 --- /dev/null +++ b/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js @@ -0,0 +1,3 @@ +module.exports = { + docsSidebar: ['intro', 'getting-started', 'deployment-paths'], +}; \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/README.md b/compositions/cloudflare-worker-turbo/examples/README.md new file mode 100644 index 0000000..7cc7512 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-worker-turbo + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-worker-turbo` looks inside a consumer repository. + +- `examples/api-edge` diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml new file mode 100644 index 0000000..63644a4 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: api-edge-worker + +spec: + type: cloudflare-worker-turbo + domain: platform-runtime + subscribe: + environments: + - dev + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + # Optional: specify wrangler config file explicitly + # wranglerConfig: wrangler.jsonc + # Optional: run D1 migrations before deploy + # migrationCommand: "pnpm exec wrangler d1 migrations apply my-db --remote" + # Optional: provision resources before deploy + # preDeployCommand: "./scripts/bootstrap-cloudflare.sh" + # Optional: verify live endpoint after deploy + # smokeCommand: "curl -sf https://my-api.workers.dev/health" + labels: + team: platform + layer: runtime + surface: api + runtime: cloudflare diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json new file mode 100644 index 0000000..392629a --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json @@ -0,0 +1,11 @@ +{ + "name": "@example/api-edge", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit", + "deploy": "wrangler deploy --config wrangler.jsonc" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts new file mode 100644 index 0000000..371079f --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts @@ -0,0 +1,15 @@ +interface Env { + API_NAME?: string; +} + +export default { + async fetch(request: Request, env: Env): Promise { + const url = new URL(request.url); + + return Response.json({ + ok: true, + path: url.pathname, + service: env.API_NAME ?? "api-edge", + }); + }, +}; \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc new file mode 100644 index 0000000..637ddf9 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-api-edge", + "main": "src/index.ts", + "compatibility_date": "2026-04-25", + "workers_dev": true, + "observability": { + "enabled": true + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/package.json b/compositions/cloudflare-worker-turbo/examples/api-edge/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml b/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json b/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json b/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker-turbo/tests/README.md b/compositions/cloudflare-worker-turbo/tests/README.md new file mode 100644 index 0000000..ef96461 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/tests/README.md @@ -0,0 +1,5 @@ +# Tests for cloudflare-worker-turbo + +These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker-turbo` without requiring a full consumer repository checkout. + +- Add a smoke or contract fixture under tests/. diff --git a/compositions/cloudflare-worker/examples/README.md b/compositions/cloudflare-worker/examples/README.md new file mode 100644 index 0000000..6ce50ab --- /dev/null +++ b/compositions/cloudflare-worker/examples/README.md @@ -0,0 +1,5 @@ +# Examples for cloudflare-worker + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-worker` looks inside a consumer repository. + +- `examples/identity-worker` diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml new file mode 100644 index 0000000..01b1240 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml @@ -0,0 +1,27 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-worker + +spec: + type: cloudflare-worker + domain: platform-identity + subscribe: + environments: + - dev + - staging + - production + inputs: + installCommand: pnpm install --no-frozen-lockfile + buildCommand: pnpm exec turbo run build --filter=./ + typecheckCommand: pnpm exec turbo run typecheck --filter=./ + deployCommand: pnpm run deploy + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: runtime + surface: identity + runtime: cloudflare \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json new file mode 100644 index 0000000..9e50779 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json @@ -0,0 +1,11 @@ +{ + "name": "@example/identity-worker", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit", + "deploy": "wrangler deploy --config wrangler.jsonc" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts new file mode 100644 index 0000000..4476079 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts @@ -0,0 +1,16 @@ +interface Env { + TENANT_HEADER?: string; +} + +export default { + async fetch(request: Request, env: Env): Promise { + const tenantHeader = env.TENANT_HEADER ?? "x-tenant-id"; + const tenantId = request.headers.get(tenantHeader) ?? "anonymous"; + + return Response.json({ + ok: true, + service: "identity-worker", + tenantId, + }); + }, +}; \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc new file mode 100644 index 0000000..b6085e7 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-identity-worker", + "main": "src/index.ts", + "compatibility_date": "2026-04-25", + "workers_dev": true, + "observability": { + "enabled": true + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/package.json b/compositions/cloudflare-worker/examples/identity-worker/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml b/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json b/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/examples/identity-worker/turbo.json b/compositions/cloudflare-worker/examples/identity-worker/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/cloudflare-worker/examples/identity-worker/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/cloudflare-worker/tests/README.md b/compositions/cloudflare-worker/tests/README.md new file mode 100644 index 0000000..78bbc1e --- /dev/null +++ b/compositions/cloudflare-worker/tests/README.md @@ -0,0 +1,5 @@ +# Tests for cloudflare-worker + +These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker` without requiring a full consumer repository checkout. + +- Add a smoke or contract fixture under tests/. diff --git a/compositions/examples/README.md b/compositions/examples/README.md new file mode 100644 index 0000000..ad03279 --- /dev/null +++ b/compositions/examples/README.md @@ -0,0 +1,5 @@ +# Examples for workspace + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `workspace` looks inside a consumer repository. + +- `examples/provider-smoke` diff --git a/compositions/examples/admin-console-git/apps/admin-console/component.yaml b/compositions/examples/admin-console-git/apps/admin-console/component.yaml new file mode 100644 index 0000000..770db61 --- /dev/null +++ b/compositions/examples/admin-console-git/apps/admin-console/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: admin-console-pages-git + +spec: + type: cloudflare-pages-turbo-terraform + domain: platform-ui + subscribe: + environments: + - staging + - production + inputs: + cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console + outputDir: dist + destinationDir: dist + rootDir: . + nodeVersion: "20" + pnpmVersion: "10.12.1" + terraformDir: ../../infra/cloudflare-pages-admin-console + terraformVersion: 1.9.8 + projectName: example-platform-admin-console + productionBranch: main + repoOwner: sourceplane + repoName: example-platform-repo + labels: + team: platform + layer: foundation + surface: admin-console + runtime: cloudflare \ No newline at end of file diff --git a/compositions/examples/admin-console-git/apps/admin-console/package.json b/compositions/examples/admin-console-git/apps/admin-console/package.json new file mode 100644 index 0000000..e601fe4 --- /dev/null +++ b/compositions/examples/admin-console-git/apps/admin-console/package.json @@ -0,0 +1,9 @@ +{ + "name": "@example/admin-console", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "node ./scripts/build.mjs" + } +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/apps/admin-console/src/app.js b/compositions/examples/admin-console-git/apps/admin-console/src/app.js new file mode 100644 index 0000000..25c37e6 --- /dev/null +++ b/compositions/examples/admin-console-git/apps/admin-console/src/app.js @@ -0,0 +1,8 @@ +const panel = document.querySelector(".panel"); + +if (panel) { + const stamp = document.createElement("p"); + stamp.className = "timestamp"; + stamp.textContent = "Managed in Cloudflare through Terraform after Gluon planning."; + panel.append(stamp); +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc new file mode 100644 index 0000000..e2f68c3 --- /dev/null +++ b/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc @@ -0,0 +1,6 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-admin-console", + "compatibility_date": "2026-04-25", + "pages_build_output_dir": "dist" +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf new file mode 100644 index 0000000..f4eb061 --- /dev/null +++ b/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf @@ -0,0 +1,87 @@ +terraform { + required_version = ">= 1.6.0" + + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + version = "~> 4.32" + } + } +} + +variable "account_id" { + description = "Cloudflare account identifier used by the Pages project" + type = string +} + +variable "project_name" { + description = "Cloudflare Pages project name" + type = string +} + +variable "production_branch" { + description = "Git branch used for production deployments" + type = string +} + +variable "repo_owner" { + description = "GitHub owner connected to the Cloudflare Pages project" + type = string +} + +variable "repo_name" { + description = "GitHub repository connected to the Cloudflare Pages project" + type = string +} + +variable "build_command" { + description = "Build command Cloudflare Pages runs for the site" + type = string +} + +variable "destination_dir" { + description = "Directory Cloudflare Pages publishes after the build" + type = string +} + +variable "root_dir" { + description = "Repository-root relative directory Cloudflare Pages builds from" + type = string +} + +resource "cloudflare_pages_project" "admin_console" { + account_id = var.account_id + name = var.project_name + production_branch = var.production_branch + + source { + type = "github" + + config { + owner = var.repo_owner + repo_name = var.repo_name + production_branch = var.production_branch + deployments_enabled = true + production_deployment_enabled = true + preview_deployment_setting = "all" + pr_comments_enabled = true + } + } + + build_config { + build_caching = true + build_command = var.build_command + destination_dir = var.destination_dir + root_dir = var.root_dir + } +} + +output "pages_project_name" { + value = cloudflare_pages_project.admin_console.name + description = "Cloudflare Pages project name" +} + +output "pages_subdomain" { + value = cloudflare_pages_project.admin_console.subdomain + description = "Cloudflare Pages subdomain assigned to the project" +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/package.json b/compositions/examples/admin-console-git/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/examples/admin-console-git/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/pnpm-workspace.yaml b/compositions/examples/admin-console-git/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/examples/admin-console-git/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/examples/admin-console-git/tsconfig.base.json b/compositions/examples/admin-console-git/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/examples/admin-console-git/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/examples/admin-console-git/turbo.json b/compositions/examples/admin-console-git/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/examples/admin-console-git/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/examples/api-edge/apps/api-edge/component.yaml b/compositions/examples/api-edge/apps/api-edge/component.yaml new file mode 100644 index 0000000..63644a4 --- /dev/null +++ b/compositions/examples/api-edge/apps/api-edge/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: api-edge-worker + +spec: + type: cloudflare-worker-turbo + domain: platform-runtime + subscribe: + environments: + - dev + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + # Optional: specify wrangler config file explicitly + # wranglerConfig: wrangler.jsonc + # Optional: run D1 migrations before deploy + # migrationCommand: "pnpm exec wrangler d1 migrations apply my-db --remote" + # Optional: provision resources before deploy + # preDeployCommand: "./scripts/bootstrap-cloudflare.sh" + # Optional: verify live endpoint after deploy + # smokeCommand: "curl -sf https://my-api.workers.dev/health" + labels: + team: platform + layer: runtime + surface: api + runtime: cloudflare diff --git a/compositions/examples/api-edge/apps/api-edge/package.json b/compositions/examples/api-edge/apps/api-edge/package.json new file mode 100644 index 0000000..392629a --- /dev/null +++ b/compositions/examples/api-edge/apps/api-edge/package.json @@ -0,0 +1,11 @@ +{ + "name": "@example/api-edge", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit", + "deploy": "wrangler deploy --config wrangler.jsonc" + } +} \ No newline at end of file diff --git a/compositions/examples/api-edge/apps/api-edge/src/index.ts b/compositions/examples/api-edge/apps/api-edge/src/index.ts new file mode 100644 index 0000000..371079f --- /dev/null +++ b/compositions/examples/api-edge/apps/api-edge/src/index.ts @@ -0,0 +1,15 @@ +interface Env { + API_NAME?: string; +} + +export default { + async fetch(request: Request, env: Env): Promise { + const url = new URL(request.url); + + return Response.json({ + ok: true, + path: url.pathname, + service: env.API_NAME ?? "api-edge", + }); + }, +}; \ No newline at end of file diff --git a/compositions/examples/api-edge/apps/api-edge/tsconfig.json b/compositions/examples/api-edge/apps/api-edge/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/examples/api-edge/apps/api-edge/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc b/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc new file mode 100644 index 0000000..637ddf9 --- /dev/null +++ b/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-api-edge", + "main": "src/index.ts", + "compatibility_date": "2026-04-25", + "workers_dev": true, + "observability": { + "enabled": true + } +} \ No newline at end of file diff --git a/compositions/examples/api-edge/package.json b/compositions/examples/api-edge/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/examples/api-edge/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/examples/api-edge/pnpm-workspace.yaml b/compositions/examples/api-edge/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/examples/api-edge/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/examples/api-edge/tsconfig.base.json b/compositions/examples/api-edge/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/examples/api-edge/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/examples/api-edge/turbo.json b/compositions/examples/api-edge/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/examples/api-edge/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml new file mode 100644 index 0000000..bef7993 --- /dev/null +++ b/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: docs-site-git-source + +spec: + type: cloudflare-pages-terraform + domain: platform-docs + subscribe: + environments: + - production + inputs: + siteDir: ../../website + installCommand: npm ci + buildCommand: npm run docs:build + cloudflareBuildCommand: npm ci && npm run docs:build + outputDir: docs-build + rootDir: website + nodeVersion: "20" + terraformDir: . + terraformVersion: 1.9.8 + projectName: example-platform-docs-terraform + productionBranch: main + repoOwner: sourceplane + repoName: example-platform-repo + labels: + team: platform + layer: foundation + surface: docs + runtime: cloudflare \ No newline at end of file diff --git a/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf new file mode 100644 index 0000000..de0cd30 --- /dev/null +++ b/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf @@ -0,0 +1,87 @@ +terraform { + required_version = ">= 1.6.0" + + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + version = "~> 4.32" + } + } +} + +variable "account_id" { + description = "Cloudflare account identifier used by the Pages project" + type = string +} + +variable "project_name" { + description = "Cloudflare Pages project name" + type = string +} + +variable "production_branch" { + description = "Git branch used for production deployments" + type = string +} + +variable "repo_owner" { + description = "GitHub owner connected to the Cloudflare Pages project" + type = string +} + +variable "repo_name" { + description = "GitHub repository connected to the Cloudflare Pages project" + type = string +} + +variable "build_command" { + description = "Build command Cloudflare Pages runs for the site" + type = string +} + +variable "destination_dir" { + description = "Directory Cloudflare Pages publishes after the build" + type = string +} + +variable "root_dir" { + description = "Repository-root relative directory Cloudflare Pages builds from" + type = string +} + +resource "cloudflare_pages_project" "docs" { + account_id = var.account_id + name = var.project_name + production_branch = var.production_branch + + source { + type = "github" + + config { + owner = var.repo_owner + repo_name = var.repo_name + production_branch = var.production_branch + deployments_enabled = true + production_deployment_enabled = true + preview_deployment_setting = "all" + pr_comments_enabled = true + } + } + + build_config { + build_caching = true + build_command = var.build_command + destination_dir = var.destination_dir + root_dir = var.root_dir + } +} + +output "pages_project_name" { + value = cloudflare_pages_project.docs.name + description = "Cloudflare Pages project name" +} + +output "pages_subdomain" { + value = cloudflare_pages_project.docs.subdomain + description = "Cloudflare Pages subdomain assigned to the project" +} \ No newline at end of file diff --git a/compositions/examples/docs-site-git/website/docs/deployment-paths.md b/compositions/examples/docs-site-git/website/docs/deployment-paths.md new file mode 100644 index 0000000..98f116b --- /dev/null +++ b/compositions/examples/docs-site-git/website/docs/deployment-paths.md @@ -0,0 +1,98 @@ +--- +title: Deployment Paths +--- + +## Wrangler direct upload {#wrangler-direct-upload} + +The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to +push the generated `docs-build/` directory to a Direct Upload Pages project. + +Key inputs: + +- `siteDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `productionBranch` + +That path is useful when you want deployment to follow the build artifact produced by Gluon. + +## Turbo worker deploy {#turbo-worker-deploy} + +The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and +typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `typecheckCommand` +- `deployCommand` +- `pnpmVersion` + +That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the +real install and build still need to happen from the monorepo root. + +## Turbo Pages direct upload {#turbo-pages-direct-upload} + +The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, +then direct-uploads an app-specific output directory such as `apps/web-console/dist`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `pnpmVersion` + +That path is useful when the Pages app lives under `apps/`, the component manifest should stay next +to the app, and Gluon should still own the final build artifact. + +## Terraform Git source {#terraform-git-source} + +The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a +`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. + +Key inputs: + +- `terraformDir` +- `rootDir` +- `cloudflareBuildCommand` +- `repoOwner` +- `repoName` +- `projectName` + +That path is useful when you want the Pages project itself versioned as infrastructure and let +Cloudflare build from Git after the project is connected. + +## Turbo Pages Terraform {#turbo-pages-terraform} + +The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` +directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform +at an `infra/*` directory that owns the Cloudflare Pages project contract. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `outputDir` +- `destinationDir` +- `rootDir` +- `terraformDir` +- `cloudflareBuildCommand` +- `pnpmVersion` + +That path is useful when platform teams want app-local manifests for discovery and ownership, but +still want the Cloudflare Pages project itself versioned under infrastructure code. + +## Choosing between them + +- Use Wrangler when Gluon should own the build artifact and publish it directly. +- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. +- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/compositions/examples/docs-site-git/website/docs/getting-started.md b/compositions/examples/docs-site-git/website/docs/getting-started.md new file mode 100644 index 0000000..d5bc169 --- /dev/null +++ b/compositions/examples/docs-site-git/website/docs/getting-started.md @@ -0,0 +1,51 @@ +--- +title: Getting Started +--- + +## Local build + +Run the docs site the same way the compositions do: + +```bash +cd website +npm ci +npm run docs:build +npm run docs:serve +``` + +The production build is written to `website/docs-build/`. + +## Turbo example builds + +The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: + +```bash +corepack enable +pnpm install --no-frozen-lockfile +pnpm turbo run build --filter=@example/web-console +pnpm turbo run typecheck --filter=@example/api-edge +``` + +Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, +`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. + +## Why Docusaurus here + +Docusaurus is a good fit for this sample because it produces a plain static directory while still +exercising a realistic Node-based documentation toolchain. That makes it useful for both: + +- direct upload workflows that publish prebuilt assets +- Git-connected Pages projects that build inside Cloudflare + +## Credentials used in CI + +The repository expects these secrets in GitHub Actions: + +- `CLOUDFLARE_ACCOUNT_ID` +- `CLOUDFLARE_API_TOKEN` + +The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses +the same variables when it needs to plan against or apply Cloudflare resources. + +Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from +the app-local manifest under `apps/`. \ No newline at end of file diff --git a/compositions/examples/docs-site-git/website/docusaurus.config.js b/compositions/examples/docs-site-git/website/docusaurus.config.js new file mode 100644 index 0000000..edbc568 --- /dev/null +++ b/compositions/examples/docs-site-git/website/docusaurus.config.js @@ -0,0 +1,81 @@ +const config = { + title: 'Example Platform Docs', + tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', + url: 'https://example-platform-docs.pages.dev', + baseUrl: '/', + organizationName: 'sourceplane', + projectName: 'example-platform-repo', + onBrokenLinks: 'throw', + onDuplicateRoutes: 'throw', + markdown: { + hooks: { + onBrokenMarkdownLinks: 'throw', + }, + }, + i18n: { + defaultLocale: 'en', + locales: ['en'], + }, + presets: [ + [ + 'classic', + { + docs: { + path: 'docs', + routeBasePath: '/', + sidebarPath: require.resolve('./sidebars.js'), + }, + blog: false, + theme: { + customCss: require.resolve('./src/css/custom.css'), + }, + }, + ], + ], + themeConfig: { + colorMode: { + defaultMode: 'light', + respectPrefersColorScheme: true, + }, + navbar: { + title: 'Example Platform', + items: [ + { + to: '/', + label: 'Docs', + position: 'left', + }, + { + href: 'https://github.com/sourceplane/example-platform-repo', + label: 'GitHub', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Paths', + items: [ + { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, + { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, + ], + }, + { + title: 'Repo', + items: [ + { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, + { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, + ], + }, + ], + copyright: `Copyright ${new Date().getFullYear()} sourceplane`, + }, + prism: { + additionalLanguages: ['bash', 'json', 'yaml'], + }, + }, +}; + +module.exports = config; diff --git a/compositions/examples/docs-site-git/website/package.json b/compositions/examples/docs-site-git/website/package.json new file mode 100644 index 0000000..2cf01d8 --- /dev/null +++ b/compositions/examples/docs-site-git/website/package.json @@ -0,0 +1,22 @@ +{ + "name": "example-platform-docs", + "version": "1.0.0", + "private": true, + "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", + "scripts": { + "docs:start": "docusaurus start", + "docs:build": "docusaurus build --out-dir docs-build", + "docs:serve": "docusaurus serve --dir docs-build" + }, + "overrides": { + "webpack": "5.105.4", + "html-webpack-plugin": "5.6.6" + }, + "dependencies": { + "@docusaurus/core": "3.9.2", + "@docusaurus/preset-classic": "3.9.2", + "@mdx-js/react": "3.1.1", + "react": "19.2.4", + "react-dom": "19.2.4" + } +} \ No newline at end of file diff --git a/compositions/examples/docs-site-git/website/sidebars.js b/compositions/examples/docs-site-git/website/sidebars.js new file mode 100644 index 0000000..2aea2f9 --- /dev/null +++ b/compositions/examples/docs-site-git/website/sidebars.js @@ -0,0 +1,3 @@ +module.exports = { + docsSidebar: ['intro', 'getting-started', 'deployment-paths'], +}; \ No newline at end of file diff --git a/compositions/examples/docs-site/website/component.yaml b/compositions/examples/docs-site/website/component.yaml new file mode 100644 index 0000000..2a301a5 --- /dev/null +++ b/compositions/examples/docs-site/website/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: docs-site-direct-upload + +spec: + type: cloudflare-pages + domain: platform-docs + subscribe: + environments: + - production + inputs: + siteDir: . + installCommand: npm ci + buildCommand: npm run docs:build + outputDir: docs-build + projectName: example-platform-docs-wrangler + nodeVersion: "20" + productionBranch: main + labels: + team: platform + layer: delivery + surface: docs + runtime: cloudflare diff --git a/compositions/examples/docs-site/website/docs/deployment-paths.md b/compositions/examples/docs-site/website/docs/deployment-paths.md new file mode 100644 index 0000000..98f116b --- /dev/null +++ b/compositions/examples/docs-site/website/docs/deployment-paths.md @@ -0,0 +1,98 @@ +--- +title: Deployment Paths +--- + +## Wrangler direct upload {#wrangler-direct-upload} + +The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to +push the generated `docs-build/` directory to a Direct Upload Pages project. + +Key inputs: + +- `siteDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `productionBranch` + +That path is useful when you want deployment to follow the build artifact produced by Gluon. + +## Turbo worker deploy {#turbo-worker-deploy} + +The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and +typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `typecheckCommand` +- `deployCommand` +- `pnpmVersion` + +That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the +real install and build still need to happen from the monorepo root. + +## Turbo Pages direct upload {#turbo-pages-direct-upload} + +The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, +then direct-uploads an app-specific output directory such as `apps/web-console/dist`. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `installCommand` +- `buildCommand` +- `outputDir` +- `projectName` +- `pnpmVersion` + +That path is useful when the Pages app lives under `apps/`, the component manifest should stay next +to the app, and Gluon should still own the final build artifact. + +## Terraform Git source {#terraform-git-source} + +The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a +`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. + +Key inputs: + +- `terraformDir` +- `rootDir` +- `cloudflareBuildCommand` +- `repoOwner` +- `repoName` +- `projectName` + +That path is useful when you want the Pages project itself versioned as infrastructure and let +Cloudflare build from Git after the project is connected. + +## Turbo Pages Terraform {#turbo-pages-terraform} + +The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` +directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform +at an `infra/*` directory that owns the Cloudflare Pages project contract. + +Key inputs: + +- `workspaceDir` +- `appDir` +- `outputDir` +- `destinationDir` +- `rootDir` +- `terraformDir` +- `cloudflareBuildCommand` +- `pnpmVersion` + +That path is useful when platform teams want app-local manifests for discovery and ownership, but +still want the Cloudflare Pages project itself versioned under infrastructure code. + +## Choosing between them + +- Use Wrangler when Gluon should own the build artifact and publish it directly. +- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. +- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/compositions/examples/docs-site/website/docs/getting-started.md b/compositions/examples/docs-site/website/docs/getting-started.md new file mode 100644 index 0000000..d5bc169 --- /dev/null +++ b/compositions/examples/docs-site/website/docs/getting-started.md @@ -0,0 +1,51 @@ +--- +title: Getting Started +--- + +## Local build + +Run the docs site the same way the compositions do: + +```bash +cd website +npm ci +npm run docs:build +npm run docs:serve +``` + +The production build is written to `website/docs-build/`. + +## Turbo example builds + +The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: + +```bash +corepack enable +pnpm install --no-frozen-lockfile +pnpm turbo run build --filter=@example/web-console +pnpm turbo run typecheck --filter=@example/api-edge +``` + +Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, +`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. + +## Why Docusaurus here + +Docusaurus is a good fit for this sample because it produces a plain static directory while still +exercising a realistic Node-based documentation toolchain. That makes it useful for both: + +- direct upload workflows that publish prebuilt assets +- Git-connected Pages projects that build inside Cloudflare + +## Credentials used in CI + +The repository expects these secrets in GitHub Actions: + +- `CLOUDFLARE_ACCOUNT_ID` +- `CLOUDFLARE_API_TOKEN` + +The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses +the same variables when it needs to plan against or apply Cloudflare resources. + +Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from +the app-local manifest under `apps/`. \ No newline at end of file diff --git a/compositions/examples/docs-site/website/docusaurus.config.js b/compositions/examples/docs-site/website/docusaurus.config.js new file mode 100644 index 0000000..edbc568 --- /dev/null +++ b/compositions/examples/docs-site/website/docusaurus.config.js @@ -0,0 +1,81 @@ +const config = { + title: 'Example Platform Docs', + tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', + url: 'https://example-platform-docs.pages.dev', + baseUrl: '/', + organizationName: 'sourceplane', + projectName: 'example-platform-repo', + onBrokenLinks: 'throw', + onDuplicateRoutes: 'throw', + markdown: { + hooks: { + onBrokenMarkdownLinks: 'throw', + }, + }, + i18n: { + defaultLocale: 'en', + locales: ['en'], + }, + presets: [ + [ + 'classic', + { + docs: { + path: 'docs', + routeBasePath: '/', + sidebarPath: require.resolve('./sidebars.js'), + }, + blog: false, + theme: { + customCss: require.resolve('./src/css/custom.css'), + }, + }, + ], + ], + themeConfig: { + colorMode: { + defaultMode: 'light', + respectPrefersColorScheme: true, + }, + navbar: { + title: 'Example Platform', + items: [ + { + to: '/', + label: 'Docs', + position: 'left', + }, + { + href: 'https://github.com/sourceplane/example-platform-repo', + label: 'GitHub', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Paths', + items: [ + { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, + { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, + ], + }, + { + title: 'Repo', + items: [ + { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, + { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, + ], + }, + ], + copyright: `Copyright ${new Date().getFullYear()} sourceplane`, + }, + prism: { + additionalLanguages: ['bash', 'json', 'yaml'], + }, + }, +}; + +module.exports = config; diff --git a/compositions/examples/docs-site/website/package.json b/compositions/examples/docs-site/website/package.json new file mode 100644 index 0000000..2cf01d8 --- /dev/null +++ b/compositions/examples/docs-site/website/package.json @@ -0,0 +1,22 @@ +{ + "name": "example-platform-docs", + "version": "1.0.0", + "private": true, + "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", + "scripts": { + "docs:start": "docusaurus start", + "docs:build": "docusaurus build --out-dir docs-build", + "docs:serve": "docusaurus serve --dir docs-build" + }, + "overrides": { + "webpack": "5.105.4", + "html-webpack-plugin": "5.6.6" + }, + "dependencies": { + "@docusaurus/core": "3.9.2", + "@docusaurus/preset-classic": "3.9.2", + "@mdx-js/react": "3.1.1", + "react": "19.2.4", + "react-dom": "19.2.4" + } +} \ No newline at end of file diff --git a/compositions/examples/docs-site/website/sidebars.js b/compositions/examples/docs-site/website/sidebars.js new file mode 100644 index 0000000..2aea2f9 --- /dev/null +++ b/compositions/examples/docs-site/website/sidebars.js @@ -0,0 +1,3 @@ +module.exports = { + docsSidebar: ['intro', 'getting-started', 'deployment-paths'], +}; \ No newline at end of file diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml new file mode 100644 index 0000000..b7574e4 --- /dev/null +++ b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-chart + +spec: + type: helm-chart + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: . + valuesFile: ../../../deploy/hello-deploy/values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: identity-portal-values \ No newline at end of file diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml b/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml b/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml b/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml new file mode 100644 index 0000000..cddc642 --- /dev/null +++ b/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-values + +spec: + type: helm-values + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: ../../charts/hello-chart/chart + valuesFile: values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: network-foundation \ No newline at end of file diff --git a/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml b/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/examples/identity-worker/apps/identity-worker/component.yaml b/compositions/examples/identity-worker/apps/identity-worker/component.yaml new file mode 100644 index 0000000..01b1240 --- /dev/null +++ b/compositions/examples/identity-worker/apps/identity-worker/component.yaml @@ -0,0 +1,27 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-worker + +spec: + type: cloudflare-worker + domain: platform-identity + subscribe: + environments: + - dev + - staging + - production + inputs: + installCommand: pnpm install --no-frozen-lockfile + buildCommand: pnpm exec turbo run build --filter=./ + typecheckCommand: pnpm exec turbo run typecheck --filter=./ + deployCommand: pnpm run deploy + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: runtime + surface: identity + runtime: cloudflare \ No newline at end of file diff --git a/compositions/examples/identity-worker/apps/identity-worker/package.json b/compositions/examples/identity-worker/apps/identity-worker/package.json new file mode 100644 index 0000000..9e50779 --- /dev/null +++ b/compositions/examples/identity-worker/apps/identity-worker/package.json @@ -0,0 +1,11 @@ +{ + "name": "@example/identity-worker", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit", + "deploy": "wrangler deploy --config wrangler.jsonc" + } +} \ No newline at end of file diff --git a/compositions/examples/identity-worker/apps/identity-worker/src/index.ts b/compositions/examples/identity-worker/apps/identity-worker/src/index.ts new file mode 100644 index 0000000..4476079 --- /dev/null +++ b/compositions/examples/identity-worker/apps/identity-worker/src/index.ts @@ -0,0 +1,16 @@ +interface Env { + TENANT_HEADER?: string; +} + +export default { + async fetch(request: Request, env: Env): Promise { + const tenantHeader = env.TENANT_HEADER ?? "x-tenant-id"; + const tenantId = request.headers.get(tenantHeader) ?? "anonymous"; + + return Response.json({ + ok: true, + service: "identity-worker", + tenantId, + }); + }, +}; \ No newline at end of file diff --git a/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json b/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc new file mode 100644 index 0000000..b6085e7 --- /dev/null +++ b/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-identity-worker", + "main": "src/index.ts", + "compatibility_date": "2026-04-25", + "workers_dev": true, + "observability": { + "enabled": true + } +} \ No newline at end of file diff --git a/compositions/examples/identity-worker/package.json b/compositions/examples/identity-worker/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/examples/identity-worker/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/examples/identity-worker/pnpm-workspace.yaml b/compositions/examples/identity-worker/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/examples/identity-worker/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/examples/identity-worker/tsconfig.base.json b/compositions/examples/identity-worker/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/examples/identity-worker/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/examples/identity-worker/turbo.json b/compositions/examples/identity-worker/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/examples/identity-worker/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/examples/network-foundation/infra/infra-1/component.yaml b/compositions/examples/network-foundation/infra/infra-1/component.yaml new file mode 100644 index 0000000..d63d128 --- /dev/null +++ b/compositions/examples/network-foundation/infra/infra-1/component.yaml @@ -0,0 +1,22 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: network-foundation + +spec: + type: terraform + domain: platform-foundation + subscribe: + environments: + - development + - staging + - production + inputs: + stackName: network-foundation + terraformDir: . + terraformVersion: 1.9.8 + labels: + team: platform + layer: foundation + stack: network \ No newline at end of file diff --git a/compositions/examples/network-foundation/infra/infra-1/main.tf b/compositions/examples/network-foundation/infra/infra-1/main.tf new file mode 100644 index 0000000..dcc30c2 --- /dev/null +++ b/compositions/examples/network-foundation/infra/infra-1/main.tf @@ -0,0 +1,21 @@ +terraform { + required_version = ">= 1.6.0" +} + +locals { + stack_name = "network-foundation" + owner = "platform" + environment = "shared" +} + +output "stack_name" { + value = local.stack_name +} + +output "owner" { + value = local.owner +} + +output "environment" { + value = local.environment +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/package.json b/compositions/examples/platform-sdk/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/examples/platform-sdk/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/packages/sdk/component.yaml b/compositions/examples/platform-sdk/packages/sdk/component.yaml new file mode 100644 index 0000000..a2bcd94 --- /dev/null +++ b/compositions/examples/platform-sdk/packages/sdk/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: platform-sdk + +spec: + type: turbo-package + domain: platform-packages + subscribe: + environments: + - dev + - development + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + labels: + team: platform + layer: shared + surface: sdk + runtime: node \ No newline at end of file diff --git a/compositions/examples/platform-sdk/packages/sdk/package.json b/compositions/examples/platform-sdk/packages/sdk/package.json new file mode 100644 index 0000000..3951719 --- /dev/null +++ b/compositions/examples/platform-sdk/packages/sdk/package.json @@ -0,0 +1,10 @@ +{ + "name": "@example/sdk", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit" + } +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/packages/sdk/src/index.ts b/compositions/examples/platform-sdk/packages/sdk/src/index.ts new file mode 100644 index 0000000..e3959e4 --- /dev/null +++ b/compositions/examples/platform-sdk/packages/sdk/src/index.ts @@ -0,0 +1,3 @@ +export function createPlatformClient(baseUrl: string): string { + return new URL("/v1", baseUrl).toString(); +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/packages/sdk/tsconfig.json b/compositions/examples/platform-sdk/packages/sdk/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/examples/platform-sdk/packages/sdk/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/pnpm-workspace.yaml b/compositions/examples/platform-sdk/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/examples/platform-sdk/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/examples/platform-sdk/tsconfig.base.json b/compositions/examples/platform-sdk/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/examples/platform-sdk/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/examples/platform-sdk/turbo.json b/compositions/examples/platform-sdk/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/examples/platform-sdk/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml b/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml b/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/examples/provider-smoke/component.yaml b/compositions/examples/provider-smoke/component.yaml new file mode 100644 index 0000000..453169f --- /dev/null +++ b/compositions/examples/provider-smoke/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: provider-smoke + +spec: + type: workspace + domain: platform-foundation + subscribe: + environments: + - development + - staging + inputs: + chartPath: charts/hello-chart/chart + valuesFile: deploy/hello-deploy/values.yaml + kustomizeDir: smoke/kustomize + terraformDir: smoke/terraform + workflowFile: smoke/provider-smoke.yaml + labels: + team: platform + layer: foundation + surface: provider-smoke diff --git a/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml b/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml b/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml new file mode 100644 index 0000000..e7328d3 --- /dev/null +++ b/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: workspace-provider-smoke +data: + source: kustomize \ No newline at end of file diff --git a/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml b/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml new file mode 100644 index 0000000..490c6c9 --- /dev/null +++ b/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - configmap.yaml \ No newline at end of file diff --git a/compositions/examples/provider-smoke/smoke/provider-smoke.yaml b/compositions/examples/provider-smoke/smoke/provider-smoke.yaml new file mode 100644 index 0000000..b52ad9b --- /dev/null +++ b/compositions/examples/provider-smoke/smoke/provider-smoke.yaml @@ -0,0 +1,22 @@ +apiVersion: torkflow/v1 +kind: Workflow +metadata: + name: provider-smoke + id: provider-smoke +spec: + maxParallelSteps: 1 + steps: + - name: Summarize_Intent + actionRef: core.js + parameters: + script: "({ message: 'provider-native dry-run flow' })" + outboundEdges: + - nextStepName: Print_Result + + - name: Print_Result + actionRef: core.stdout + parameters: + title: Provider Smoke + format: text + payload: + message: "{{ Steps.Summarize_Intent.message }}" \ No newline at end of file diff --git a/compositions/examples/provider-smoke/smoke/terraform/main.tf b/compositions/examples/provider-smoke/smoke/terraform/main.tf new file mode 100644 index 0000000..cee63b0 --- /dev/null +++ b/compositions/examples/provider-smoke/smoke/terraform/main.tf @@ -0,0 +1,7 @@ +terraform { + required_version = ">= 1.6.0" +} + +locals { + smoke_message = "workspace-provider-smoke" +} \ No newline at end of file diff --git a/compositions/examples/web-console/apps/web-console/component.yaml b/compositions/examples/web-console/apps/web-console/component.yaml new file mode 100644 index 0000000..e537dc1 --- /dev/null +++ b/compositions/examples/web-console/apps/web-console/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: web-console-pages + +spec: + type: cloudflare-pages-turbo + domain: platform-ui + subscribe: + environments: + - preview + - staging + - production + inputs: + outputDir: dist + projectName: example-platform-web-console + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: delivery + surface: web-console + runtime: cloudflare \ No newline at end of file diff --git a/compositions/examples/web-console/apps/web-console/package.json b/compositions/examples/web-console/apps/web-console/package.json new file mode 100644 index 0000000..40aaaa2 --- /dev/null +++ b/compositions/examples/web-console/apps/web-console/package.json @@ -0,0 +1,9 @@ +{ + "name": "@example/web-console", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "node ./scripts/build.mjs" + } +} \ No newline at end of file diff --git a/compositions/examples/web-console/apps/web-console/src/app.js b/compositions/examples/web-console/apps/web-console/src/app.js new file mode 100644 index 0000000..ad59686 --- /dev/null +++ b/compositions/examples/web-console/apps/web-console/src/app.js @@ -0,0 +1,8 @@ +const panel = document.querySelector(".panel"); + +if (panel) { + const stamp = document.createElement("p"); + stamp.className = "timestamp"; + stamp.textContent = `Build source: apps/web-console at ${new Date().toISOString()}`; + panel.append(stamp); +} \ No newline at end of file diff --git a/compositions/examples/web-console/apps/web-console/wrangler.jsonc b/compositions/examples/web-console/apps/web-console/wrangler.jsonc new file mode 100644 index 0000000..67e99e2 --- /dev/null +++ b/compositions/examples/web-console/apps/web-console/wrangler.jsonc @@ -0,0 +1,6 @@ +{ + "$schema": "../../node_modules/wrangler/config-schema.json", + "name": "example-platform-web-console", + "compatibility_date": "2026-04-25", + "pages_build_output_dir": "dist" +} \ No newline at end of file diff --git a/compositions/examples/web-console/package.json b/compositions/examples/web-console/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/examples/web-console/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/examples/web-console/pnpm-workspace.yaml b/compositions/examples/web-console/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/examples/web-console/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/examples/web-console/tsconfig.base.json b/compositions/examples/web-console/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/examples/web-console/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/examples/web-console/turbo.json b/compositions/examples/web-console/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/examples/web-console/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/helm-chart/README.md b/compositions/helm-chart/README.md new file mode 100644 index 0000000..e8fa4fd --- /dev/null +++ b/compositions/helm-chart/README.md @@ -0,0 +1,5 @@ +# Examples for helm-chart + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `helm-chart` looks inside a consumer repository. + +- `examples/identity-portal-chart` diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml new file mode 100644 index 0000000..b7574e4 --- /dev/null +++ b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-chart + +spec: + type: helm-chart + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: . + valuesFile: ../../../deploy/hello-deploy/values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: identity-portal-values \ No newline at end of file diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml b/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/helm-values/README.md b/compositions/helm-values/README.md new file mode 100644 index 0000000..7788840 --- /dev/null +++ b/compositions/helm-values/README.md @@ -0,0 +1,5 @@ +# Examples for helm-values + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `helm-values` looks inside a consumer repository. + +- `examples/identity-portal-values` diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml b/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml new file mode 100644 index 0000000..cddc642 --- /dev/null +++ b/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-values + +spec: + type: helm-values + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: ../../charts/hello-chart/chart + valuesFile: values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: network-foundation \ No newline at end of file diff --git a/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml b/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/publish-stack/tests/README.md b/compositions/publish-stack/tests/README.md new file mode 100644 index 0000000..c52f6b5 --- /dev/null +++ b/compositions/publish-stack/tests/README.md @@ -0,0 +1,5 @@ +# Tests for publish-stack + +These files provide contract or smoke fixtures that CI can inspect for `publish-stack` without requiring a full consumer repository checkout. + +- Add a smoke or contract fixture under tests/. diff --git a/compositions/terraform/examples/README.md b/compositions/terraform/examples/README.md new file mode 100644 index 0000000..8950b7e --- /dev/null +++ b/compositions/terraform/examples/README.md @@ -0,0 +1,5 @@ +# Examples for terraform + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `terraform` looks inside a consumer repository. + +- `examples/network-foundation` diff --git a/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml b/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml new file mode 100644 index 0000000..d63d128 --- /dev/null +++ b/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml @@ -0,0 +1,22 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: network-foundation + +spec: + type: terraform + domain: platform-foundation + subscribe: + environments: + - development + - staging + - production + inputs: + stackName: network-foundation + terraformDir: . + terraformVersion: 1.9.8 + labels: + team: platform + layer: foundation + stack: network \ No newline at end of file diff --git a/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf b/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf new file mode 100644 index 0000000..dcc30c2 --- /dev/null +++ b/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf @@ -0,0 +1,21 @@ +terraform { + required_version = ">= 1.6.0" +} + +locals { + stack_name = "network-foundation" + owner = "platform" + environment = "shared" +} + +output "stack_name" { + value = local.stack_name +} + +output "owner" { + value = local.owner +} + +output "environment" { + value = local.environment +} \ No newline at end of file diff --git a/compositions/terraform/tests/README.md b/compositions/terraform/tests/README.md new file mode 100644 index 0000000..c6d5c5d --- /dev/null +++ b/compositions/terraform/tests/README.md @@ -0,0 +1,5 @@ +# Tests for terraform + +These files provide contract or smoke fixtures that CI can inspect for `terraform` without requiring a full consumer repository checkout. + +- Add a smoke or contract fixture under tests/. diff --git a/compositions/turbo-package/examples/README.md b/compositions/turbo-package/examples/README.md new file mode 100644 index 0000000..cdd50f1 --- /dev/null +++ b/compositions/turbo-package/examples/README.md @@ -0,0 +1,5 @@ +# Examples for turbo-package + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `turbo-package` looks inside a consumer repository. + +- `examples/platform-sdk` diff --git a/compositions/turbo-package/examples/platform-sdk/package.json b/compositions/turbo-package/examples/platform-sdk/package.json new file mode 100644 index 0000000..d65acec --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/package.json @@ -0,0 +1,17 @@ +{ + "name": "example-platform-repo", + "private": true, + "version": "1.0.0", + "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", + "packageManager": "pnpm@10.12.1", + "scripts": { + "build": "turbo run build", + "typecheck": "turbo run typecheck", + "deploy": "turbo run deploy" + }, + "devDependencies": { + "turbo": "2.5.8", + "typescript": "5.9.3", + "wrangler": "4.13.2" + } +} \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml b/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml new file mode 100644 index 0000000..a2bcd94 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: platform-sdk + +spec: + type: turbo-package + domain: platform-packages + subscribe: + environments: + - dev + - development + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + labels: + team: platform + layer: shared + surface: sdk + runtime: node \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json b/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json new file mode 100644 index 0000000..3951719 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json @@ -0,0 +1,10 @@ +{ + "name": "@example/sdk", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "build": "tsc -p tsconfig.json --noEmit", + "typecheck": "tsc -p tsconfig.json --noEmit" + } +} \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts b/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts new file mode 100644 index 0000000..e3959e4 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts @@ -0,0 +1,3 @@ +export function createPlatformClient(baseUrl: string): string { + return new URL("/v1", baseUrl).toString(); +} \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json b/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json new file mode 100644 index 0000000..32a6156 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.base.json", + "include": [ + "src/**/*.ts" + ] +} \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml b/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml new file mode 100644 index 0000000..c7eaed9 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - apps/* + - packages/* \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json b/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json new file mode 100644 index 0000000..e7910f3 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "lib": [ + "ES2022", + "DOM" + ] + } +} \ No newline at end of file diff --git a/compositions/turbo-package/examples/platform-sdk/turbo.json b/compositions/turbo-package/examples/platform-sdk/turbo.json new file mode 100644 index 0000000..f24d8d7 --- /dev/null +++ b/compositions/turbo-package/examples/platform-sdk/turbo.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://turborepo.com/schema.json", + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**", + ".wrangler/**" + ] + }, + "typecheck": { + "dependsOn": [ + "^typecheck" + ], + "outputs": [] + }, + "deploy": { + "dependsOn": [ + "build" + ], + "cache": false, + "outputs": [] + } + } +} \ No newline at end of file diff --git a/compositions/turbo-package/tests/README.md b/compositions/turbo-package/tests/README.md new file mode 100644 index 0000000..4996066 --- /dev/null +++ b/compositions/turbo-package/tests/README.md @@ -0,0 +1,5 @@ +# Tests for turbo-package + +These files provide contract or smoke fixtures that CI can inspect for `turbo-package` without requiring a full consumer repository checkout. + +- Add a smoke or contract fixture under tests/. diff --git a/compositions/workspace/README.md b/compositions/workspace/README.md new file mode 100644 index 0000000..ad03279 --- /dev/null +++ b/compositions/workspace/README.md @@ -0,0 +1,5 @@ +# Examples for workspace + +These fixtures are excerpted or adapted from `example-platform-repo` to show how `workspace` looks inside a consumer repository. + +- `examples/provider-smoke` diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml b/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml new file mode 100644 index 0000000..8da9933 --- /dev/null +++ b/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: identity-portal +description: Helm chart for the customer identity portal +type: application +version: 0.1.0 +appVersion: "1.0.0" \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml new file mode 100644 index 0000000..80fd892 --- /dev/null +++ b/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ default .Chart.Name .Values.nameOverride }} + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + app.kubernetes.io/instance: {{ .Release.Name }} +data: + message: {{ .Values.config.message | quote }} + environment: {{ .Values.config.environment | quote }} + color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml b/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml new file mode 100644 index 0000000..d3272b6 --- /dev/null +++ b/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal application configuration + environment: shared + color: blue \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/component.yaml b/compositions/workspace/provider-smoke/component.yaml new file mode 100644 index 0000000..453169f --- /dev/null +++ b/compositions/workspace/provider-smoke/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: provider-smoke + +spec: + type: workspace + domain: platform-foundation + subscribe: + environments: + - development + - staging + inputs: + chartPath: charts/hello-chart/chart + valuesFile: deploy/hello-deploy/values.yaml + kustomizeDir: smoke/kustomize + terraformDir: smoke/terraform + workflowFile: smoke/provider-smoke.yaml + labels: + team: platform + layer: foundation + surface: provider-smoke diff --git a/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml b/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml new file mode 100644 index 0000000..e71ead5 --- /dev/null +++ b/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml @@ -0,0 +1,5 @@ +nameOverride: identity-portal +config: + message: identity portal delivery values + environment: development + color: amber \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml b/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml new file mode 100644 index 0000000..e7328d3 --- /dev/null +++ b/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: workspace-provider-smoke +data: + source: kustomize \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml b/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml new file mode 100644 index 0000000..490c6c9 --- /dev/null +++ b/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - configmap.yaml \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml b/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml new file mode 100644 index 0000000..b52ad9b --- /dev/null +++ b/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml @@ -0,0 +1,22 @@ +apiVersion: torkflow/v1 +kind: Workflow +metadata: + name: provider-smoke + id: provider-smoke +spec: + maxParallelSteps: 1 + steps: + - name: Summarize_Intent + actionRef: core.js + parameters: + script: "({ message: 'provider-native dry-run flow' })" + outboundEdges: + - nextStepName: Print_Result + + - name: Print_Result + actionRef: core.stdout + parameters: + title: Provider Smoke + format: text + payload: + message: "{{ Steps.Summarize_Intent.message }}" \ No newline at end of file diff --git a/compositions/workspace/provider-smoke/smoke/terraform/main.tf b/compositions/workspace/provider-smoke/smoke/terraform/main.tf new file mode 100644 index 0000000..cee63b0 --- /dev/null +++ b/compositions/workspace/provider-smoke/smoke/terraform/main.tf @@ -0,0 +1,7 @@ +terraform { + required_version = ">= 1.6.0" +} + +locals { + smoke_message = "workspace-provider-smoke" +} \ No newline at end of file From 651ecb08633cd5b96daf455e9dea483ceea2a670 Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 09:02:37 +0530 Subject: [PATCH 5/8] Complete stack-tectonic-flare setup with all compositions and tests --- .../cloudflare-pages-terraform/README.md | 2 +- .../tests/smoke/component.yaml | 3 +- .../README.md | 2 +- .../tests/smoke/component.yaml | 6 +- compositions/cloudflare-pages-turbo/README.md | 2 +- .../tests/smoke/component.yaml | 9 +-- compositions/cloudflare-pages/README.md | 2 +- .../tests/smoke/component.yaml | 3 +- .../cloudflare-worker-turbo/README.md | 4 +- .../cloudflare-worker-turbo/tests/README.md | 2 +- .../tests/smoke/component.yaml | 23 ++++++ compositions/cloudflare-worker/README.md | 4 +- .../cloudflare-worker/tests/README.md | 2 +- .../tests/smoke/component.yaml | 27 +++++++ .../helm-chart/tests/smoke/component.yaml | 25 +++++++ .../helm-values/tests/smoke/component.yaml | 25 +++++++ compositions/publish-stack/README.md | 6 +- compositions/publish-stack/examples/README.md | 3 +- .../publish-stack/examples/component.yaml | 6 ++ .../publish-stack/examples/config.yaml | 1 + compositions/publish-stack/tests/README.md | 3 +- .../publish-stack/tests/smoke/component.yaml | 6 ++ compositions/publish-stack/tests/test.yaml | 1 + compositions/terraform/README.md | 4 +- compositions/terraform/tests/README.md | 2 +- .../terraform/tests/smoke/component.yaml | 22 ++++++ compositions/turbo-package/README.md | 4 +- compositions/turbo-package/tests/README.md | 2 +- .../turbo-package/tests/smoke/component.yaml | 23 ++++++ .../workspace/tests/smoke/component.yaml | 18 +++++ registry/index.json | 74 +++++++++---------- 31 files changed, 245 insertions(+), 71 deletions(-) create mode 100644 compositions/cloudflare-worker-turbo/tests/smoke/component.yaml create mode 100644 compositions/cloudflare-worker/tests/smoke/component.yaml create mode 100644 compositions/helm-chart/tests/smoke/component.yaml create mode 100644 compositions/helm-values/tests/smoke/component.yaml create mode 100644 compositions/publish-stack/examples/component.yaml create mode 100644 compositions/publish-stack/examples/config.yaml create mode 100644 compositions/publish-stack/tests/smoke/component.yaml create mode 100644 compositions/publish-stack/tests/test.yaml create mode 100644 compositions/terraform/tests/smoke/component.yaml create mode 100644 compositions/turbo-package/tests/smoke/component.yaml create mode 100644 compositions/workspace/tests/smoke/component.yaml diff --git a/compositions/cloudflare-pages-terraform/README.md b/compositions/cloudflare-pages-terraform/README.md index 19ab57e..661ecd6 100644 --- a/compositions/cloudflare-pages-terraform/README.md +++ b/compositions/cloudflare-pages-terraform/README.md @@ -16,7 +16,7 @@ Cloudflare Pages deployment managed with Terraform These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/docs-site-git` ## Test fixtures diff --git a/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml b/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml index 0e02d4d..bef7993 100644 --- a/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml +++ b/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml @@ -9,8 +9,7 @@ spec: domain: platform-docs subscribe: environments: - - name: production - profile: release + - production inputs: siteDir: ../../website installCommand: npm ci diff --git a/compositions/cloudflare-pages-turbo-terraform/README.md b/compositions/cloudflare-pages-turbo-terraform/README.md index eb503c6..80f43f0 100644 --- a/compositions/cloudflare-pages-turbo-terraform/README.md +++ b/compositions/cloudflare-pages-turbo-terraform/README.md @@ -16,7 +16,7 @@ Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/admin-console-git` ## Test fixtures diff --git a/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml b/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml index 8c0e159..770db61 100644 --- a/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml +++ b/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml @@ -9,10 +9,8 @@ spec: domain: platform-ui subscribe: environments: - - name: staging - profile: verify - - name: production - profile: release + - staging + - production inputs: cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console outputDir: dist diff --git a/compositions/cloudflare-pages-turbo/README.md b/compositions/cloudflare-pages-turbo/README.md index 8485628..388933d 100644 --- a/compositions/cloudflare-pages-turbo/README.md +++ b/compositions/cloudflare-pages-turbo/README.md @@ -16,7 +16,7 @@ Cloudflare Pages deployment using Turbo monorepo builds These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/web-console` ## Test fixtures diff --git a/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml b/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml index aed9eef..e537dc1 100644 --- a/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml +++ b/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml @@ -9,12 +9,9 @@ spec: domain: platform-ui subscribe: environments: - - name: preview - profile: pull-request - - name: staging - profile: verify - - name: production - profile: deploy + - preview + - staging + - production inputs: outputDir: dist projectName: example-platform-web-console diff --git a/compositions/cloudflare-pages/README.md b/compositions/cloudflare-pages/README.md index 0c42714..d648d97 100644 --- a/compositions/cloudflare-pages/README.md +++ b/compositions/cloudflare-pages/README.md @@ -16,7 +16,7 @@ Cloudflare Pages build, verify, and deploy pipeline These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/docs-site` ## Test fixtures diff --git a/compositions/cloudflare-pages/tests/smoke/component.yaml b/compositions/cloudflare-pages/tests/smoke/component.yaml index 64c1bfc..2a301a5 100644 --- a/compositions/cloudflare-pages/tests/smoke/component.yaml +++ b/compositions/cloudflare-pages/tests/smoke/component.yaml @@ -9,8 +9,7 @@ spec: domain: platform-docs subscribe: environments: - - name: production - profile: deploy + - production inputs: siteDir: . installCommand: npm ci diff --git a/compositions/cloudflare-worker-turbo/README.md b/compositions/cloudflare-worker-turbo/README.md index ced8dad..00cbc79 100644 --- a/compositions/cloudflare-worker-turbo/README.md +++ b/compositions/cloudflare-worker-turbo/README.md @@ -16,11 +16,11 @@ Cloudflare Worker with Turborepo build, verify, and deploy pipeline These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/api-edge` ## Test fixtures -- Add a smoke or contract fixture under tests/. +- `tests/smoke` ## Verification diff --git a/compositions/cloudflare-worker-turbo/tests/README.md b/compositions/cloudflare-worker-turbo/tests/README.md index ef96461..5322964 100644 --- a/compositions/cloudflare-worker-turbo/tests/README.md +++ b/compositions/cloudflare-worker-turbo/tests/README.md @@ -2,4 +2,4 @@ These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker-turbo` without requiring a full consumer repository checkout. -- Add a smoke or contract fixture under tests/. +- `tests/smoke` diff --git a/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml b/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml new file mode 100644 index 0000000..f14d397 --- /dev/null +++ b/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: api-edge-worker + +spec: + type: cloudflare-worker-turbo + domain: platform-runtime + subscribe: + environments: + - dev + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: runtime + surface: api + runtime: cloudflare diff --git a/compositions/cloudflare-worker/README.md b/compositions/cloudflare-worker/README.md index 9fb6a14..988cc96 100644 --- a/compositions/cloudflare-worker/README.md +++ b/compositions/cloudflare-worker/README.md @@ -16,11 +16,11 @@ Cloudflare Worker build, verify, and deploy pipeline These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/identity-worker` ## Test fixtures -- Add a smoke or contract fixture under tests/. +- `tests/smoke` ## Verification diff --git a/compositions/cloudflare-worker/tests/README.md b/compositions/cloudflare-worker/tests/README.md index 78bbc1e..30b3661 100644 --- a/compositions/cloudflare-worker/tests/README.md +++ b/compositions/cloudflare-worker/tests/README.md @@ -2,4 +2,4 @@ These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker` without requiring a full consumer repository checkout. -- Add a smoke or contract fixture under tests/. +- `tests/smoke` diff --git a/compositions/cloudflare-worker/tests/smoke/component.yaml b/compositions/cloudflare-worker/tests/smoke/component.yaml new file mode 100644 index 0000000..01b1240 --- /dev/null +++ b/compositions/cloudflare-worker/tests/smoke/component.yaml @@ -0,0 +1,27 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-worker + +spec: + type: cloudflare-worker + domain: platform-identity + subscribe: + environments: + - dev + - staging + - production + inputs: + installCommand: pnpm install --no-frozen-lockfile + buildCommand: pnpm exec turbo run build --filter=./ + typecheckCommand: pnpm exec turbo run typecheck --filter=./ + deployCommand: pnpm run deploy + nodeVersion: "20" + pnpmVersion: "10.12.1" + productionBranch: main + labels: + team: platform + layer: runtime + surface: identity + runtime: cloudflare \ No newline at end of file diff --git a/compositions/helm-chart/tests/smoke/component.yaml b/compositions/helm-chart/tests/smoke/component.yaml new file mode 100644 index 0000000..b7574e4 --- /dev/null +++ b/compositions/helm-chart/tests/smoke/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-chart + +spec: + type: helm-chart + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: . + valuesFile: ../../../deploy/hello-deploy/values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: identity-portal-values \ No newline at end of file diff --git a/compositions/helm-values/tests/smoke/component.yaml b/compositions/helm-values/tests/smoke/component.yaml new file mode 100644 index 0000000..cddc642 --- /dev/null +++ b/compositions/helm-values/tests/smoke/component.yaml @@ -0,0 +1,25 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: identity-portal-values + +spec: + type: helm-values + domain: customer-identity + subscribe: + environments: + - development + - staging + inputs: + chartPath: ../../charts/hello-chart/chart + valuesFile: values.yaml + releaseName: identity-portal + helmVersion: v3.15.4 + labels: + team: platform + layer: delivery + domain: identity + release: identity-portal + dependsOn: + - component: network-foundation \ No newline at end of file diff --git a/compositions/publish-stack/README.md b/compositions/publish-stack/README.md index afdaca7..4e8349b 100644 --- a/compositions/publish-stack/README.md +++ b/compositions/publish-stack/README.md @@ -16,11 +16,13 @@ Publish an Orun stack to an OCI registry with dry-run validation These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/component.yaml` +- `examples/config.yaml` ## Test fixtures -- Add a smoke or contract fixture under tests/. +- `tests/smoke` +- `tests/test.yaml` ## Verification diff --git a/compositions/publish-stack/examples/README.md b/compositions/publish-stack/examples/README.md index e57d849..22857d4 100644 --- a/compositions/publish-stack/examples/README.md +++ b/compositions/publish-stack/examples/README.md @@ -2,4 +2,5 @@ These fixtures are excerpted or adapted from `example-platform-repo` to show how `publish-stack` looks inside a consumer repository. -- Add a sample fixture under examples/. +- `examples/component.yaml` +- `examples/config.yaml` diff --git a/compositions/publish-stack/examples/component.yaml b/compositions/publish-stack/examples/component.yaml new file mode 100644 index 0000000..1c4afb3 --- /dev/null +++ b/compositions/publish-stack/examples/component.yaml @@ -0,0 +1,6 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: publish-stack-example +spec: + type: publish-stack diff --git a/compositions/publish-stack/examples/config.yaml b/compositions/publish-stack/examples/config.yaml new file mode 100644 index 0000000..9bc5eb3 --- /dev/null +++ b/compositions/publish-stack/examples/config.yaml @@ -0,0 +1 @@ +example configuration diff --git a/compositions/publish-stack/tests/README.md b/compositions/publish-stack/tests/README.md index c52f6b5..3848145 100644 --- a/compositions/publish-stack/tests/README.md +++ b/compositions/publish-stack/tests/README.md @@ -2,4 +2,5 @@ These files provide contract or smoke fixtures that CI can inspect for `publish-stack` without requiring a full consumer repository checkout. -- Add a smoke or contract fixture under tests/. +- `tests/smoke` +- `tests/test.yaml` diff --git a/compositions/publish-stack/tests/smoke/component.yaml b/compositions/publish-stack/tests/smoke/component.yaml new file mode 100644 index 0000000..c7e6ba6 --- /dev/null +++ b/compositions/publish-stack/tests/smoke/component.yaml @@ -0,0 +1,6 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: publish-stack-test +spec: + type: publish-stack diff --git a/compositions/publish-stack/tests/test.yaml b/compositions/publish-stack/tests/test.yaml new file mode 100644 index 0000000..16b14f5 --- /dev/null +++ b/compositions/publish-stack/tests/test.yaml @@ -0,0 +1 @@ +test file diff --git a/compositions/terraform/README.md b/compositions/terraform/README.md index aa5c1d9..4a77832 100644 --- a/compositions/terraform/README.md +++ b/compositions/terraform/README.md @@ -16,11 +16,11 @@ Terraform validation jobs for infra components These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/network-foundation` ## Test fixtures -- Add a smoke or contract fixture under tests/. +- `tests/smoke` ## Verification diff --git a/compositions/terraform/tests/README.md b/compositions/terraform/tests/README.md index c6d5c5d..89a8abe 100644 --- a/compositions/terraform/tests/README.md +++ b/compositions/terraform/tests/README.md @@ -2,4 +2,4 @@ These files provide contract or smoke fixtures that CI can inspect for `terraform` without requiring a full consumer repository checkout. -- Add a smoke or contract fixture under tests/. +- `tests/smoke` diff --git a/compositions/terraform/tests/smoke/component.yaml b/compositions/terraform/tests/smoke/component.yaml new file mode 100644 index 0000000..d63d128 --- /dev/null +++ b/compositions/terraform/tests/smoke/component.yaml @@ -0,0 +1,22 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: network-foundation + +spec: + type: terraform + domain: platform-foundation + subscribe: + environments: + - development + - staging + - production + inputs: + stackName: network-foundation + terraformDir: . + terraformVersion: 1.9.8 + labels: + team: platform + layer: foundation + stack: network \ No newline at end of file diff --git a/compositions/turbo-package/README.md b/compositions/turbo-package/README.md index 0063768..830e54a 100644 --- a/compositions/turbo-package/README.md +++ b/compositions/turbo-package/README.md @@ -16,11 +16,11 @@ Turborepo package verification jobs These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. -- Add a sample fixture under examples/. +- `examples/platform-sdk` ## Test fixtures -- Add a smoke or contract fixture under tests/. +- `tests/smoke` ## Verification diff --git a/compositions/turbo-package/tests/README.md b/compositions/turbo-package/tests/README.md index 4996066..7d0c3db 100644 --- a/compositions/turbo-package/tests/README.md +++ b/compositions/turbo-package/tests/README.md @@ -2,4 +2,4 @@ These files provide contract or smoke fixtures that CI can inspect for `turbo-package` without requiring a full consumer repository checkout. -- Add a smoke or contract fixture under tests/. +- `tests/smoke` diff --git a/compositions/turbo-package/tests/smoke/component.yaml b/compositions/turbo-package/tests/smoke/component.yaml new file mode 100644 index 0000000..a2bcd94 --- /dev/null +++ b/compositions/turbo-package/tests/smoke/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: platform-sdk + +spec: + type: turbo-package + domain: platform-packages + subscribe: + environments: + - dev + - development + - staging + - production + inputs: + nodeVersion: "20" + pnpmVersion: "10.12.1" + labels: + team: platform + layer: shared + surface: sdk + runtime: node \ No newline at end of file diff --git a/compositions/workspace/tests/smoke/component.yaml b/compositions/workspace/tests/smoke/component.yaml new file mode 100644 index 0000000..dd2e53f --- /dev/null +++ b/compositions/workspace/tests/smoke/component.yaml @@ -0,0 +1,18 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: provider-smoke + +spec: + type: workspace + domain: platform-foundation + subscribe: + environments: + - development + inputs: + chartPath: charts/hello-chart/chart + valuesFile: deploy/hello-deploy/values.yaml + kustomizeDir: smoke/kustomize + terraformDir: smoke/terraform + workflowFile: smoke/provider-smoke.yaml diff --git a/registry/index.json b/registry/index.json index b6e9f04..30be9a8 100644 --- a/registry/index.json +++ b/registry/index.json @@ -14,8 +14,8 @@ "description": "Cloudflare Pages build, verify, and deploy pipeline", "category": "hosting", "verified": true, - "score": 85, - "grade": "A", + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "hosting", @@ -23,7 +23,7 @@ ], "signals": { "readme": true, - "exampleAssets": 0, + "exampleAssets": 6, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -39,8 +39,8 @@ "description": "Cloudflare Pages deployment managed with Terraform", "category": "platform", "verified": true, - "score": 85, - "grade": "A", + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "pages", @@ -49,7 +49,7 @@ ], "signals": { "readme": true, - "exampleAssets": 0, + "exampleAssets": 7, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -65,8 +65,8 @@ "description": "Cloudflare Pages deployment using Turbo monorepo builds", "category": "hosting", "verified": true, - "score": 85, - "grade": "A", + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "hosting", @@ -75,7 +75,7 @@ ], "signals": { "readme": true, - "exampleAssets": 0, + "exampleAssets": 8, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -91,8 +91,8 @@ "description": "Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform", "category": "platform", "verified": true, - "score": 85, - "grade": "A", + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "pages", @@ -102,7 +102,7 @@ ], "signals": { "readme": true, - "exampleAssets": 0, + "exampleAssets": 9, "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, @@ -117,9 +117,9 @@ "path": "compositions/cloudflare-worker", "description": "Cloudflare Worker build, verify, and deploy pipeline", "category": "edge", - "verified": false, - "score": 60, - "grade": "C", + "verified": true, + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "edge", @@ -127,8 +127,8 @@ ], "signals": { "readme": true, - "exampleAssets": 0, - "testAssets": 0, + "exampleAssets": 9, + "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -142,9 +142,9 @@ "path": "compositions/cloudflare-worker-turbo", "description": "Cloudflare Worker with Turborepo build, verify, and deploy pipeline", "category": "edge", - "verified": false, - "score": 60, - "grade": "C", + "verified": true, + "score": 100, + "grade": "A+", "tags": [ "cloudflare", "edge", @@ -153,8 +153,8 @@ ], "signals": { "readme": true, - "exampleAssets": 0, - "testAssets": 0, + "exampleAssets": 9, + "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -168,9 +168,9 @@ "path": "compositions/publish-stack", "description": "Publish an Orun stack to an OCI registry with dry-run validation", "category": "developer-experience", - "verified": false, - "score": 60, - "grade": "C", + "verified": true, + "score": 100, + "grade": "A+", "tags": [ "developer-experience", "publish", @@ -178,8 +178,8 @@ ], "signals": { "readme": true, - "exampleAssets": 0, - "testAssets": 0, + "exampleAssets": 2, + "testAssets": 2, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -193,17 +193,17 @@ "path": "compositions/terraform", "description": "Terraform validation jobs for infra components", "category": "infrastructure", - "verified": false, - "score": 60, - "grade": "C", + "verified": true, + "score": 100, + "grade": "A+", "tags": [ "infrastructure", "terraform" ], "signals": { "readme": true, - "exampleAssets": 0, - "testAssets": 0, + "exampleAssets": 2, + "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, @@ -217,9 +217,9 @@ "path": "compositions/turbo-package", "description": "Turborepo package verification jobs", "category": "developer-experience", - "verified": false, - "score": 60, - "grade": "C", + "verified": true, + "score": 100, + "grade": "A+", "tags": [ "developer-experience", "package", @@ -227,8 +227,8 @@ ], "signals": { "readme": true, - "exampleAssets": 0, - "testAssets": 0, + "exampleAssets": 8, + "testAssets": 1, "verifyWorkflow": true, "releaseWorkflow": true, "scorecardWorkflow": true, From 23280c8753ea81484d0a864501603a52f761304b Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 09:05:39 +0530 Subject: [PATCH 6/8] Add kiox configuration files --- kiox.lock | 11 +++++++++++ kiox.yaml | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 kiox.lock create mode 100644 kiox.yaml diff --git a/kiox.lock b/kiox.lock new file mode 100644 index 0000000..af27eaa --- /dev/null +++ b/kiox.lock @@ -0,0 +1,11 @@ +apiVersion: kiox.io/v1 +kind: WorkspaceLock +metadata: + name: stack-tectonic +providers: + - alias: orun + provider: sourceplane/orun + source: ghcr.io/sourceplane/orun:v1.12.0 + version: v1.12.0 + resolved: ghcr.io/sourceplane/orun@sha256:d27e781c68e531542a1968f524bdcf0471b9777f05e098f151bb02d06ba79f33 + store: 994e4dd192cd8303e300f15146bf67d44c44df7a3befde5f07656a5695d2e961 diff --git a/kiox.yaml b/kiox.yaml new file mode 100644 index 0000000..55321ac --- /dev/null +++ b/kiox.yaml @@ -0,0 +1,7 @@ +apiVersion: kiox.io/v1 +kind: Workspace +metadata: + name: stack-tectonic +providers: + orun: + source: ghcr.io/sourceplane/orun:v1.12.0 From 6bebc19e34cbdeba5276d2c0eb65e5dda1fe1a6e Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 09:45:41 +0530 Subject: [PATCH 7/8] nitpic --- .github/workflows/docs.yml | 35 -------- .github/workflows/release.yml | 69 -------------- .github/workflows/scorecard.yml | 35 -------- .github/workflows/verify.yml | 70 +++++++-------- intent.yaml | 89 +++++++++++++++++++ kiox.yaml | 2 +- .../stack-tectonic-flare/component.yaml | 0 .../cloudflare-pages-terraform/README.md | 0 .../compositions.yaml | 0 .../examples/README.md | 0 .../cloudflare-pages-terraform/component.yaml | 0 .../infra/cloudflare-pages-terraform/main.tf | 0 .../website/docs/deployment-paths.md | 0 .../website/docs/getting-started.md | 0 .../website/docusaurus.config.js | 0 .../docs-site-git/website/package.json | 0 .../docs-site-git/website/sidebars.js | 0 ...lare-pages-terraform-verify-reconcile.yaml | 0 ...oudflare-pages-terraform-pull-request.yaml | 0 .../cloudflare-pages-terraform-release.yaml | 0 .../cloudflare-pages-terraform-verify.yaml | 0 .../cloudflare-pages-terraform/schema.yaml | 0 .../tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../README.md | 0 .../compositions.yaml | 0 .../examples/README.md | 0 .../apps/admin-console/component.yaml | 0 .../apps/admin-console/package.json | 0 .../apps/admin-console/src/app.js | 0 .../apps/admin-console/wrangler.jsonc | 0 .../cloudflare-pages-admin-console/main.tf | 0 .../examples/admin-console-git/package.json | 0 .../admin-console-git/pnpm-workspace.yaml | 0 .../admin-console-git/tsconfig.base.json | 0 .../examples/admin-console-git/turbo.json | 0 ...ages-turbo-terraform-verify-reconcile.yaml | 0 ...re-pages-turbo-terraform-pull-request.yaml | 0 ...udflare-pages-turbo-terraform-release.yaml | 0 ...oudflare-pages-turbo-terraform-verify.yaml | 0 .../schema.yaml | 0 .../tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../cloudflare-pages-turbo/README.md | 0 .../cloudflare-pages-turbo/compositions.yaml | 0 .../cloudflare-pages-turbo/examples/README.md | 0 .../apps/web-console/component.yaml | 0 .../web-console/apps/web-console/package.json | 0 .../web-console/apps/web-console/src/app.js | 0 .../apps/web-console/wrangler.jsonc | 0 .../examples/web-console/package.json | 0 .../examples/web-console/pnpm-workspace.yaml | 0 .../examples/web-console/tsconfig.base.json | 0 .../examples/web-console/turbo.json | 0 .../cloudflare-pages-turbo-verify-deploy.yaml | 0 .../cloudflare-pages-turbo-deploy.yaml | 0 .../cloudflare-pages-turbo-pull-request.yaml | 0 .../cloudflare-pages-turbo-verify.yaml | 0 .../cloudflare-pages-turbo/schema.yaml | 0 .../cloudflare-pages-turbo/tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../compositions}/cloudflare-pages/README.md | 0 .../cloudflare-pages/compositions.yaml | 0 .../cloudflare-pages/examples/README.md | 0 .../examples/docs-site/website/component.yaml | 0 .../website/docs/deployment-paths.md | 0 .../docs-site/website/docs/getting-started.md | 0 .../docs-site/website/docusaurus.config.js | 0 .../examples/docs-site/website/package.json | 0 .../examples/docs-site/website/sidebars.js | 0 .../jobs/cloudflare-pages-verify-deploy.yaml | 0 .../profiles/cloudflare-pages-deploy.yaml | 0 .../cloudflare-pages-pull-request.yaml | 0 .../profiles/cloudflare-pages-verify.yaml | 0 .../cloudflare-pages/schema.yaml | 0 .../cloudflare-pages/tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../cloudflare-worker-turbo/README.md | 0 .../cloudflare-worker-turbo/compositions.yaml | 0 .../examples/README.md | 0 .../api-edge/apps/api-edge/component.yaml | 0 .../api-edge/apps/api-edge/package.json | 0 .../api-edge/apps/api-edge/src/index.ts | 0 .../api-edge/apps/api-edge/tsconfig.json | 0 .../api-edge/apps/api-edge/wrangler.jsonc | 0 .../examples/api-edge/package.json | 0 .../examples/api-edge/pnpm-workspace.yaml | 0 .../examples/api-edge/tsconfig.base.json | 0 .../examples/api-edge/turbo.json | 0 ...cloudflare-worker-turbo-verify-deploy.yaml | 0 .../cloudflare-worker-turbo-deploy.yaml | 0 .../cloudflare-worker-turbo-pull-request.yaml | 0 .../cloudflare-worker-turbo-verify.yaml | 0 .../cloudflare-worker-turbo/schema.yaml | 0 .../cloudflare-worker-turbo/tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../compositions}/cloudflare-worker/README.md | 0 .../cloudflare-worker/compositions.yaml | 0 .../cloudflare-worker/examples/README.md | 0 .../apps/identity-worker/component.yaml | 0 .../apps/identity-worker/package.json | 0 .../apps/identity-worker/src/index.ts | 0 .../apps/identity-worker/tsconfig.json | 0 .../apps/identity-worker/wrangler.jsonc | 0 .../examples/identity-worker/package.json | 0 .../identity-worker/pnpm-workspace.yaml | 0 .../identity-worker/tsconfig.base.json | 0 .../examples/identity-worker/turbo.json | 0 .../jobs/cloudflare-worker-verify-deploy.yaml | 0 .../profiles/cloudflare-worker-deploy.yaml | 0 .../cloudflare-worker-pull-request.yaml | 0 .../profiles/cloudflare-worker-verify.yaml | 0 .../cloudflare-worker/schema.yaml | 0 .../cloudflare-worker/tests/README.md | 0 .../tests/smoke/component.yaml | 0 .../compositions}/examples/README.md | 0 .../apps/admin-console/component.yaml | 0 .../apps/admin-console/package.json | 0 .../apps/admin-console/src/app.js | 0 .../apps/admin-console/wrangler.jsonc | 0 .../cloudflare-pages-admin-console/main.tf | 0 .../examples/admin-console-git/package.json | 0 .../admin-console-git/pnpm-workspace.yaml | 0 .../admin-console-git/tsconfig.base.json | 0 .../examples/admin-console-git/turbo.json | 0 .../api-edge/apps/api-edge/component.yaml | 0 .../api-edge/apps/api-edge/package.json | 0 .../api-edge/apps/api-edge/src/index.ts | 0 .../api-edge/apps/api-edge/tsconfig.json | 0 .../api-edge/apps/api-edge/wrangler.jsonc | 0 .../examples/api-edge/package.json | 0 .../examples/api-edge/pnpm-workspace.yaml | 0 .../examples/api-edge/tsconfig.base.json | 0 .../examples/api-edge/turbo.json | 0 .../cloudflare-pages-terraform/component.yaml | 0 .../infra/cloudflare-pages-terraform/main.tf | 0 .../website/docs/deployment-paths.md | 0 .../website/docs/getting-started.md | 0 .../website/docusaurus.config.js | 0 .../docs-site-git/website/package.json | 0 .../docs-site-git/website/sidebars.js | 0 .../examples/docs-site/website/component.yaml | 0 .../website/docs/deployment-paths.md | 0 .../docs-site/website/docs/getting-started.md | 0 .../docs-site/website/docusaurus.config.js | 0 .../examples/docs-site/website/package.json | 0 .../examples/docs-site/website/sidebars.js | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../charts/hello-chart/chart/component.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../deploy/hello-deploy/component.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../apps/identity-worker/component.yaml | 0 .../apps/identity-worker/package.json | 0 .../apps/identity-worker/src/index.ts | 0 .../apps/identity-worker/tsconfig.json | 0 .../apps/identity-worker/wrangler.jsonc | 0 .../examples/identity-worker/package.json | 0 .../identity-worker/pnpm-workspace.yaml | 0 .../identity-worker/tsconfig.base.json | 0 .../examples/identity-worker/turbo.json | 0 .../infra/infra-1/component.yaml | 0 .../network-foundation/infra/infra-1/main.tf | 0 .../examples/platform-sdk/package.json | 0 .../platform-sdk/packages/sdk/component.yaml | 0 .../platform-sdk/packages/sdk/package.json | 0 .../platform-sdk/packages/sdk/src/index.ts | 0 .../platform-sdk/packages/sdk/tsconfig.json | 0 .../examples/platform-sdk/pnpm-workspace.yaml | 0 .../examples/platform-sdk/tsconfig.base.json | 0 .../examples/platform-sdk/turbo.json | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../examples/provider-smoke/component.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../smoke/kustomize/configmap.yaml | 0 .../smoke/kustomize/kustomization.yaml | 0 .../provider-smoke/smoke/provider-smoke.yaml | 0 .../provider-smoke/smoke/terraform/main.tf | 0 .../apps/web-console/component.yaml | 0 .../web-console/apps/web-console/package.json | 0 .../web-console/apps/web-console/src/app.js | 0 .../apps/web-console/wrangler.jsonc | 0 .../examples/web-console/package.json | 0 .../examples/web-console/pnpm-workspace.yaml | 0 .../examples/web-console/tsconfig.base.json | 0 .../examples/web-console/turbo.json | 0 .../compositions}/helm-chart/README.md | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../charts/hello-chart/chart/component.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../helm-chart/tests/smoke/component.yaml | 0 .../compositions}/helm-values/README.md | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../deploy/hello-deploy/component.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../helm-values/tests/smoke/component.yaml | 0 .../compositions}/publish-stack/README.md | 0 .../publish-stack/compositions.yaml | 0 .../publish-stack/examples/README.md | 0 .../publish-stack/examples/component.yaml | 0 .../publish-stack/examples/config.yaml | 0 .../jobs/publish-stack-publish.yaml | 0 .../profiles/publish-stack-dry-run.yaml | 0 .../profiles/publish-stack-release.yaml | 0 .../profiles/publish-stack-verify.yaml | 0 .../compositions}/publish-stack/schema.yaml | 0 .../publish-stack/tests/README.md | 0 .../publish-stack/tests/smoke/component.yaml | 0 .../publish-stack/tests/test.yaml | 0 .../compositions}/terraform/README.md | 0 .../compositions}/terraform/compositions.yaml | 0 .../terraform/examples/README.md | 0 .../infra/infra-1/component.yaml | 0 .../network-foundation/infra/infra-1/main.tf | 0 .../terraform/jobs/terraform-validate.yaml | 0 .../profiles/terraform-pull-request.yaml | 0 .../terraform/profiles/terraform-release.yaml | 0 .../terraform/profiles/terraform-verify.yaml | 0 .../compositions}/terraform/schema.yaml | 0 .../compositions}/terraform/tests/README.md | 0 .../terraform/tests/smoke/component.yaml | 0 .../compositions}/turbo-package/README.md | 0 .../turbo-package/compositions.yaml | 0 .../turbo-package/examples/README.md | 0 .../examples/platform-sdk/package.json | 0 .../platform-sdk/packages/sdk/component.yaml | 0 .../platform-sdk/packages/sdk/package.json | 0 .../platform-sdk/packages/sdk/src/index.ts | 0 .../platform-sdk/packages/sdk/tsconfig.json | 0 .../examples/platform-sdk/pnpm-workspace.yaml | 0 .../examples/platform-sdk/tsconfig.base.json | 0 .../examples/platform-sdk/turbo.json | 0 .../jobs/turbo-package-verify.yaml | 0 .../profiles/turbo-package-quick-check.yaml | 0 .../profiles/turbo-package-verify.yaml | 0 .../compositions}/turbo-package/schema.yaml | 0 .../turbo-package/tests/README.md | 0 .../turbo-package/tests/smoke/component.yaml | 0 .../compositions}/workspace/README.md | 0 .../charts/hello-chart/chart/Chart.yaml | 0 .../chart/templates/configmap.yaml | 0 .../charts/hello-chart/chart/values.yaml | 0 .../workspace/provider-smoke/component.yaml | 0 .../deploy/hello-deploy/values.yaml | 0 .../smoke/kustomize/configmap.yaml | 0 .../smoke/kustomize/kustomization.yaml | 0 .../provider-smoke/smoke/provider-smoke.yaml | 0 .../provider-smoke/smoke/terraform/main.tf | 0 .../workspace/tests/smoke/component.yaml | 0 .../stack-tectonic-flare/registry}/index.json | 0 .../scripts}/generate-readme.sh | 0 .../stack-tectonic-flare/scripts}/score.sh | 0 .../scripts}/verify-composition.sh | 0 .../stack-tectonic-flare/scripts}/verify.sh | 0 .../stack-tectonic-flare/stack.yaml | 0 266 files changed, 123 insertions(+), 177 deletions(-) delete mode 100644 .github/workflows/docs.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/scorecard.yml create mode 100644 intent.yaml rename component.yaml => stacks/stack-tectonic-flare/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/website/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/jobs/cloudflare-pages-terraform-verify-reconcile.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-release.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-terraform/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/jobs/cloudflare-pages-turbo-terraform-verify-reconcile.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-release.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/examples/web-console/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/jobs/cloudflare-pages-turbo-verify-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages-turbo/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/docs/getting-started.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/docusaurus.config.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/examples/docs-site/website/sidebars.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/jobs/cloudflare-pages-verify-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/profiles/cloudflare-pages-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/profiles/cloudflare-pages-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/profiles/cloudflare-pages-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-pages/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/examples/api-edge/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/jobs/cloudflare-worker-turbo-verify-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker-turbo/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/examples/identity-worker/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/jobs/cloudflare-worker-verify-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/profiles/cloudflare-worker-deploy.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/profiles/cloudflare-worker-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/profiles/cloudflare-worker-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/cloudflare-worker/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/apps/admin-console/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/apps/admin-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/apps/admin-console/src/app.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/apps/admin-console/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/admin-console-git/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/apps/api-edge/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/apps/api-edge/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/apps/api-edge/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/apps/api-edge/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/apps/api-edge/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/api-edge/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/website/docs/deployment-paths.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/website/docs/getting-started.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/website/docusaurus.config.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/website/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site-git/website/sidebars.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/docs/deployment-paths.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/docs/getting-started.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/docusaurus.config.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/docs-site/website/sidebars.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-chart/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-values/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-values/deploy/hello-deploy/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-portal-values/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/apps/identity-worker/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/apps/identity-worker/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/apps/identity-worker/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/apps/identity-worker/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/apps/identity-worker/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/identity-worker/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/network-foundation/infra/infra-1/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/network-foundation/infra/infra-1/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/packages/sdk/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/packages/sdk/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/packages/sdk/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/packages/sdk/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/platform-sdk/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/smoke/kustomize/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/smoke/kustomize/kustomization.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/smoke/provider-smoke.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/provider-smoke/smoke/terraform/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/apps/web-console/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/apps/web-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/apps/web-console/src/app.js (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/apps/web-console/wrangler.jsonc (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/examples/web-console/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-chart/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/helm-values/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/examples/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/examples/config.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/jobs/publish-stack-publish.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/profiles/publish-stack-dry-run.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/profiles/publish-stack-release.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/profiles/publish-stack-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/publish-stack/tests/test.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/examples/network-foundation/infra/infra-1/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/examples/network-foundation/infra/infra-1/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/jobs/terraform-validate.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/profiles/terraform-pull-request.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/profiles/terraform-release.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/profiles/terraform-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/terraform/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/compositions.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/packages/sdk/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/packages/sdk/package.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/pnpm-workspace.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/tsconfig.base.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/examples/platform-sdk/turbo.json (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/jobs/turbo-package-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/profiles/turbo-package-quick-check.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/profiles/turbo-package-verify.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/schema.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/tests/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/turbo-package/tests/smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/README.md (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/charts/hello-chart/chart/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/component.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/deploy/hello-deploy/values.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/smoke/kustomize/configmap.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/smoke/kustomize/kustomization.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/smoke/provider-smoke.yaml (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/provider-smoke/smoke/terraform/main.tf (100%) rename {compositions => stacks/stack-tectonic-flare/compositions}/workspace/tests/smoke/component.yaml (100%) rename {registry => stacks/stack-tectonic-flare/registry}/index.json (100%) rename {scripts => stacks/stack-tectonic-flare/scripts}/generate-readme.sh (100%) rename {scripts => stacks/stack-tectonic-flare/scripts}/score.sh (100%) rename {scripts => stacks/stack-tectonic-flare/scripts}/verify-composition.sh (100%) rename {scripts => stacks/stack-tectonic-flare/scripts}/verify.sh (100%) rename stack.yaml => stacks/stack-tectonic-flare/stack.yaml (100%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 61441a8..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Docs - -on: - pull_request: - paths: - - "README.md" - - "docs/**" - - "blueprints/**" - - "compositions/**" - - "scripts/generate-readme.sh" - push: - branches: - - main - paths: - - "README.md" - - "docs/**" - - "blueprints/**" - - "compositions/**" - - "scripts/generate-readme.sh" - -permissions: - contents: read - -jobs: - docs-check: - name: Check generated catalog docs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Make helper scripts executable - run: chmod +x scripts/*.sh - - - name: Check composition docs - run: ./scripts/generate-readme.sh --check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 950a4b5..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Release - -on: - push: - tags: - - "v*" - -permissions: - contents: write - packages: write - -jobs: - publish-package: - name: Publish package - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Initialize orun workspace - uses: sourceplane/kiox-action@v2.1.2 - - - name: Make helper scripts executable - run: chmod +x scripts/*.sh - - - name: Log in to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Derive release version - shell: bash - run: | - stack_version="$(awk '/^ version: /{print $2}' stack.yaml)" - tag_version="${GITHUB_REF_NAME#v}" - test -n "${stack_version}" - test "${stack_version}" = "${tag_version}" - echo "STACK_VERSION=${stack_version}" >> "${GITHUB_ENV}" - - - name: Verify catalog - run: ./scripts/verify.sh - - - name: Publish OCI package - run: | - kiox -- orun publish ghcr.io/sourceplane/stack-tectonic-flare:${STACK_VERSION} \ - --root . \ - --version "${STACK_VERSION}" - - - name: Create GitHub release - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - if gh release view "${GITHUB_REF_NAME}" >/dev/null 2>&1; then - echo "Release ${GITHUB_REF_NAME} already exists." - exit 0 - fi - - gh release create "${GITHUB_REF_NAME}" \ - --title "${GITHUB_REF_NAME}" \ - --generate-notes - - - name: Upload registry index - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload "${GITHUB_REF_NAME}" registry/index.json --clobber - diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml deleted file mode 100644 index 39aeef0..0000000 --- a/.github/workflows/scorecard.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Scorecard - -on: - pull_request: - paths: - - "compositions/**" - - "blueprints/**" - - "registry/**" - - "scripts/score.sh" - - ".github/workflows/scorecard.yml" - push: - branches: - - main - paths: - - "compositions/**" - - "blueprints/**" - - "registry/**" - - "scripts/score.sh" - - ".github/workflows/scorecard.yml" - -permissions: - contents: read - -jobs: - scorecard: - name: Check generated scorecard - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Make helper scripts executable - run: chmod +x scripts/*.sh - - - name: Check registry index - run: ./scripts/score.sh --check diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 89639a8..af0711f 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -1,76 +1,72 @@ name: CI on: - pull_request: push: branches: [main] + pull_request: permissions: contents: read - packages: read - id-token: write # orun remote-state OIDC authentication - -env: - GITHUB_TOKEN: ${{ github.token }} - ORUN_BACKEND_URL: https://orun-api.sourceplane.ai + packages: write + id-token: write jobs: plan: - name: Orun Plan runs-on: ubuntu-latest outputs: - job-matrix: ${{ steps.plan.outputs.job-matrix }} - plan-checksum: ${{ steps.plan.outputs.plan-checksum }} + job-matrix: ${{ steps.matrix.outputs.job-matrix }} steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: sourceplane/orun-action@v1.1.0 - - name: Plan with Orun - id: plan - run: | + - run: | orun plan \ - --changed \ - --intent examples/intent.yaml \ - --output plan.json - echo "plan-checksum=$(jq -r '.metadata.checksum | ltrimstr("sha256-") | .[0:12]' plan.json)" >> $GITHUB_OUTPUT - echo "job-matrix=$(jq -c '[.jobs[] | {"job-id": .id, "job-name": .checkName}]' plan.json)" >> $GITHUB_OUTPUT - - name: Upload plan artifact - uses: actions/upload-artifact@v4 + --changed \ + --from-ci github \ + --event-file "$GITHUB_EVENT_PATH" \ + --intent intent.yaml \ + --output plan.json + - id: matrix + run: | + echo "job-matrix=$(jq -c '[.jobs[] | {"job-id": .id, "job-name": .checkName}]' plan.json)" >> "$GITHUB_OUTPUT" + - uses: actions/upload-artifact@v4 with: name: orun-plan path: plan.json - execute: - name: ${{ matrix.job-name }} + run: needs: plan - if: needs.plan.outputs.job-matrix != '[]' runs-on: ubuntu-latest + if: ${{ needs.plan.outputs.job-matrix != '[]' && needs.plan.outputs.job-matrix != '' }} strategy: fail-fast: false - max-parallel: 10 matrix: include: ${{ fromJson(needs.plan.outputs.job-matrix) }} - concurrency: - group: orun-${{ github.ref }}-${{ matrix.job-id }} - cancel-in-progress: false - env: - CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + name: ${{ matrix.job-name }} steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Download plan artifact - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4 with: name: orun-plan + - name: Log in to GHCR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: sourceplane/orun-action@v1.1.0 - - name: run job steps - run: | + - run: | orun run \ --plan plan.json \ --runner github-actions \ --remote-state \ --job "${{ matrix.job-id }}" \ - --exec-id "${{ github.run_id }}-${{ github.run_attempt }}" \ No newline at end of file + --exec-id "${{ github.run_id }}-${{ github.run_attempt }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ORUN_BACKEND_URL: ${{ secrets.ORUN_BACKEND_URL }} + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + SUPABASE_API_KEY: ${{ secrets.SUPABASE_API_KEY }} + DOCKER_CONFIG: /home/runner/.docker diff --git a/intent.yaml b/intent.yaml new file mode 100644 index 0000000..b5f64ee --- /dev/null +++ b/intent.yaml @@ -0,0 +1,89 @@ +apiVersion: sourceplane.io/v1 +kind: Intent +metadata: + name: stack-tectonic-flare + description: Reusable Cloudflare and Supabase multi-tenant SaaS starter +execution: + state: + backendUrl: https://orun-api.sourceplane.ai +compositions: + sources: + - name: stack-tectonic-flare + kind: local + ref: ./stacks + +discovery: + roots: + - stacks/ + +automation: + triggerBindings: + github-pull-request: + description: Pull request validation + on: + provider: github + event: pull_request + actions: + - opened + - synchronize + - reopened + - ready_for_review + baseBranches: + - main + plan: + scope: changed + base: pull_request.base.sha + head: pull_request.head.sha + + github-push-main: + description: Main branch verification after merge + on: + provider: github + event: push + branches: + - main + plan: + scope: changed + base: before + head: after + + github-tag-release: + description: Release tag planning + on: + provider: github + event: push + tags: + - "v*" + plan: + scope: full + +environments: + dev: + activation: + triggerRefs: + - github-pull-request + defaults: + lane: dry-run + namespacePrefix: dev- + policies: + requireApproval: "false" + + staging: + activation: + triggerRefs: + - github-push-main + defaults: + lane: verify + namespacePrefix: stg- + policies: + requireApproval: "true" + + production: + activation: + triggerRefs: + - github-tag-release + defaults: + lane: release + namespacePrefix: prod- + policies: + requireApproval: "true" diff --git a/kiox.yaml b/kiox.yaml index 55321ac..5b989aa 100644 --- a/kiox.yaml +++ b/kiox.yaml @@ -4,4 +4,4 @@ metadata: name: stack-tectonic providers: orun: - source: ghcr.io/sourceplane/orun:v1.12.0 + source: ghcr.io/sourceplane/orun:v1.26.0 diff --git a/component.yaml b/stacks/stack-tectonic-flare/component.yaml similarity index 100% rename from component.yaml rename to stacks/stack-tectonic-flare/component.yaml diff --git a/compositions/cloudflare-pages-terraform/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md similarity index 100% rename from compositions/cloudflare-pages-terraform/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md diff --git a/compositions/cloudflare-pages-terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/compositions.yaml diff --git a/compositions/cloudflare-pages-terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json diff --git a/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js similarity index 100% rename from compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js diff --git a/compositions/cloudflare-pages-terraform/jobs/cloudflare-pages-terraform-verify-reconcile.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/jobs/cloudflare-pages-terraform-verify-reconcile.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/jobs/cloudflare-pages-terraform-verify-reconcile.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/jobs/cloudflare-pages-terraform-verify-reconcile.yaml diff --git a/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-pull-request.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-pull-request.yaml diff --git a/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-release.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-release.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-release.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-release.yaml diff --git a/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-verify.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/profiles/cloudflare-pages-terraform-verify.yaml diff --git a/compositions/cloudflare-pages-terraform/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/schema.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/schema.yaml diff --git a/compositions/cloudflare-pages-terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md similarity index 100% rename from compositions/cloudflare-pages-terraform/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md diff --git a/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-pages-terraform/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md diff --git a/compositions/cloudflare-pages-turbo-terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/compositions.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json diff --git a/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json diff --git a/compositions/cloudflare-pages-turbo-terraform/jobs/cloudflare-pages-turbo-terraform-verify-reconcile.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/jobs/cloudflare-pages-turbo-terraform-verify-reconcile.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/jobs/cloudflare-pages-turbo-terraform-verify-reconcile.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/jobs/cloudflare-pages-turbo-terraform-verify-reconcile.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-pull-request.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-pull-request.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-release.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-release.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-release.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-release.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-verify.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/profiles/cloudflare-pages-turbo-terraform-verify.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/schema.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/schema.yaml diff --git a/compositions/cloudflare-pages-turbo-terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md diff --git a/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml diff --git a/compositions/cloudflare-pages-turbo/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md diff --git a/compositions/cloudflare-pages-turbo/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/compositions.yaml diff --git a/compositions/cloudflare-pages-turbo/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json diff --git a/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json similarity index 100% rename from compositions/cloudflare-pages-turbo/examples/web-console/turbo.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json diff --git a/compositions/cloudflare-pages-turbo/jobs/cloudflare-pages-turbo-verify-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/jobs/cloudflare-pages-turbo-verify-deploy.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/jobs/cloudflare-pages-turbo-verify-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/jobs/cloudflare-pages-turbo-verify-deploy.yaml diff --git a/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-deploy.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-deploy.yaml diff --git a/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-pull-request.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-pull-request.yaml diff --git a/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-verify.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/profiles/cloudflare-pages-turbo-verify.yaml diff --git a/compositions/cloudflare-pages-turbo/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/schema.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/schema.yaml diff --git a/compositions/cloudflare-pages-turbo/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md similarity index 100% rename from compositions/cloudflare-pages-turbo/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md diff --git a/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-pages-turbo/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml diff --git a/compositions/cloudflare-pages/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md similarity index 100% rename from compositions/cloudflare-pages/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md diff --git a/compositions/cloudflare-pages/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/compositions.yaml similarity index 100% rename from compositions/cloudflare-pages/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/compositions.yaml diff --git a/compositions/cloudflare-pages/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md similarity index 100% rename from compositions/cloudflare-pages/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md diff --git a/compositions/cloudflare-pages/examples/docs-site/website/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md diff --git a/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js diff --git a/compositions/cloudflare-pages/examples/docs-site/website/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json diff --git a/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js similarity index 100% rename from compositions/cloudflare-pages/examples/docs-site/website/sidebars.js rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js diff --git a/compositions/cloudflare-pages/jobs/cloudflare-pages-verify-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/jobs/cloudflare-pages-verify-deploy.yaml similarity index 100% rename from compositions/cloudflare-pages/jobs/cloudflare-pages-verify-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/jobs/cloudflare-pages-verify-deploy.yaml diff --git a/compositions/cloudflare-pages/profiles/cloudflare-pages-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-deploy.yaml similarity index 100% rename from compositions/cloudflare-pages/profiles/cloudflare-pages-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-deploy.yaml diff --git a/compositions/cloudflare-pages/profiles/cloudflare-pages-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-pull-request.yaml similarity index 100% rename from compositions/cloudflare-pages/profiles/cloudflare-pages-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-pull-request.yaml diff --git a/compositions/cloudflare-pages/profiles/cloudflare-pages-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-verify.yaml similarity index 100% rename from compositions/cloudflare-pages/profiles/cloudflare-pages-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/profiles/cloudflare-pages-verify.yaml diff --git a/compositions/cloudflare-pages/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/schema.yaml similarity index 100% rename from compositions/cloudflare-pages/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/schema.yaml diff --git a/compositions/cloudflare-pages/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md similarity index 100% rename from compositions/cloudflare-pages/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md diff --git a/compositions/cloudflare-pages/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-pages/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml diff --git a/compositions/cloudflare-worker-turbo/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md similarity index 100% rename from compositions/cloudflare-worker-turbo/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md diff --git a/compositions/cloudflare-worker-turbo/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/compositions.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/compositions.yaml diff --git a/compositions/cloudflare-worker-turbo/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json diff --git a/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json similarity index 100% rename from compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json diff --git a/compositions/cloudflare-worker-turbo/jobs/cloudflare-worker-turbo-verify-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/jobs/cloudflare-worker-turbo-verify-deploy.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/jobs/cloudflare-worker-turbo-verify-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/jobs/cloudflare-worker-turbo-verify-deploy.yaml diff --git a/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml diff --git a/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-pull-request.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-pull-request.yaml diff --git a/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-verify.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-verify.yaml diff --git a/compositions/cloudflare-worker-turbo/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/schema.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/schema.yaml diff --git a/compositions/cloudflare-worker-turbo/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md similarity index 100% rename from compositions/cloudflare-worker-turbo/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md diff --git a/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-worker-turbo/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml diff --git a/compositions/cloudflare-worker/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md similarity index 100% rename from compositions/cloudflare-worker/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md diff --git a/compositions/cloudflare-worker/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/compositions.yaml similarity index 100% rename from compositions/cloudflare-worker/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/compositions.yaml diff --git a/compositions/cloudflare-worker/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md similarity index 100% rename from compositions/cloudflare-worker/examples/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json diff --git a/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc diff --git a/compositions/cloudflare-worker/examples/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/package.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json diff --git a/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml diff --git a/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json diff --git a/compositions/cloudflare-worker/examples/identity-worker/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json similarity index 100% rename from compositions/cloudflare-worker/examples/identity-worker/turbo.json rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json diff --git a/compositions/cloudflare-worker/jobs/cloudflare-worker-verify-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/jobs/cloudflare-worker-verify-deploy.yaml similarity index 100% rename from compositions/cloudflare-worker/jobs/cloudflare-worker-verify-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/jobs/cloudflare-worker-verify-deploy.yaml diff --git a/compositions/cloudflare-worker/profiles/cloudflare-worker-deploy.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-deploy.yaml similarity index 100% rename from compositions/cloudflare-worker/profiles/cloudflare-worker-deploy.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-deploy.yaml diff --git a/compositions/cloudflare-worker/profiles/cloudflare-worker-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-pull-request.yaml similarity index 100% rename from compositions/cloudflare-worker/profiles/cloudflare-worker-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-pull-request.yaml diff --git a/compositions/cloudflare-worker/profiles/cloudflare-worker-verify.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-verify.yaml similarity index 100% rename from compositions/cloudflare-worker/profiles/cloudflare-worker-verify.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/profiles/cloudflare-worker-verify.yaml diff --git a/compositions/cloudflare-worker/schema.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/schema.yaml similarity index 100% rename from compositions/cloudflare-worker/schema.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/schema.yaml diff --git a/compositions/cloudflare-worker/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md similarity index 100% rename from compositions/cloudflare-worker/tests/README.md rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md diff --git a/compositions/cloudflare-worker/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml similarity index 100% rename from compositions/cloudflare-worker/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml diff --git a/compositions/examples/README.md b/stacks/stack-tectonic-flare/compositions/examples/README.md similarity index 100% rename from compositions/examples/README.md rename to stacks/stack-tectonic-flare/compositions/examples/README.md diff --git a/compositions/examples/admin-console-git/apps/admin-console/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml similarity index 100% rename from compositions/examples/admin-console-git/apps/admin-console/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml diff --git a/compositions/examples/admin-console-git/apps/admin-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json similarity index 100% rename from compositions/examples/admin-console-git/apps/admin-console/package.json rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json diff --git a/compositions/examples/admin-console-git/apps/admin-console/src/app.js b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js similarity index 100% rename from compositions/examples/admin-console-git/apps/admin-console/src/app.js rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js diff --git a/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc similarity index 100% rename from compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc diff --git a/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf similarity index 100% rename from compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf diff --git a/compositions/examples/admin-console-git/package.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json similarity index 100% rename from compositions/examples/admin-console-git/package.json rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json diff --git a/compositions/examples/admin-console-git/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml similarity index 100% rename from compositions/examples/admin-console-git/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml diff --git a/compositions/examples/admin-console-git/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json similarity index 100% rename from compositions/examples/admin-console-git/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json diff --git a/compositions/examples/admin-console-git/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json similarity index 100% rename from compositions/examples/admin-console-git/turbo.json rename to stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json diff --git a/compositions/examples/api-edge/apps/api-edge/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml similarity index 100% rename from compositions/examples/api-edge/apps/api-edge/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml diff --git a/compositions/examples/api-edge/apps/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json similarity index 100% rename from compositions/examples/api-edge/apps/api-edge/package.json rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json diff --git a/compositions/examples/api-edge/apps/api-edge/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts similarity index 100% rename from compositions/examples/api-edge/apps/api-edge/src/index.ts rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts diff --git a/compositions/examples/api-edge/apps/api-edge/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json similarity index 100% rename from compositions/examples/api-edge/apps/api-edge/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json diff --git a/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc similarity index 100% rename from compositions/examples/api-edge/apps/api-edge/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc diff --git a/compositions/examples/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json similarity index 100% rename from compositions/examples/api-edge/package.json rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json diff --git a/compositions/examples/api-edge/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml similarity index 100% rename from compositions/examples/api-edge/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml diff --git a/compositions/examples/api-edge/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json similarity index 100% rename from compositions/examples/api-edge/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json diff --git a/compositions/examples/api-edge/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json similarity index 100% rename from compositions/examples/api-edge/turbo.json rename to stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json diff --git a/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml similarity index 100% rename from compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml diff --git a/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf similarity index 100% rename from compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf diff --git a/compositions/examples/docs-site-git/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md similarity index 100% rename from compositions/examples/docs-site-git/website/docs/deployment-paths.md rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md diff --git a/compositions/examples/docs-site-git/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md similarity index 100% rename from compositions/examples/docs-site-git/website/docs/getting-started.md rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md diff --git a/compositions/examples/docs-site-git/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js similarity index 100% rename from compositions/examples/docs-site-git/website/docusaurus.config.js rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js diff --git a/compositions/examples/docs-site-git/website/package.json b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json similarity index 100% rename from compositions/examples/docs-site-git/website/package.json rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json diff --git a/compositions/examples/docs-site-git/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js similarity index 100% rename from compositions/examples/docs-site-git/website/sidebars.js rename to stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js diff --git a/compositions/examples/docs-site/website/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml similarity index 100% rename from compositions/examples/docs-site/website/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml diff --git a/compositions/examples/docs-site/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md similarity index 100% rename from compositions/examples/docs-site/website/docs/deployment-paths.md rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md diff --git a/compositions/examples/docs-site/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md similarity index 100% rename from compositions/examples/docs-site/website/docs/getting-started.md rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md diff --git a/compositions/examples/docs-site/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js similarity index 100% rename from compositions/examples/docs-site/website/docusaurus.config.js rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js diff --git a/compositions/examples/docs-site/website/package.json b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json similarity index 100% rename from compositions/examples/docs-site/website/package.json rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json diff --git a/compositions/examples/docs-site/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js similarity index 100% rename from compositions/examples/docs-site/website/sidebars.js rename to stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml similarity index 100% rename from compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml diff --git a/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml diff --git a/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml similarity index 100% rename from compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml diff --git a/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml diff --git a/compositions/examples/identity-worker/apps/identity-worker/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml similarity index 100% rename from compositions/examples/identity-worker/apps/identity-worker/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml diff --git a/compositions/examples/identity-worker/apps/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json similarity index 100% rename from compositions/examples/identity-worker/apps/identity-worker/package.json rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json diff --git a/compositions/examples/identity-worker/apps/identity-worker/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts similarity index 100% rename from compositions/examples/identity-worker/apps/identity-worker/src/index.ts rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts diff --git a/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json similarity index 100% rename from compositions/examples/identity-worker/apps/identity-worker/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json diff --git a/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc similarity index 100% rename from compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc diff --git a/compositions/examples/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json similarity index 100% rename from compositions/examples/identity-worker/package.json rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json diff --git a/compositions/examples/identity-worker/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml similarity index 100% rename from compositions/examples/identity-worker/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml diff --git a/compositions/examples/identity-worker/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json similarity index 100% rename from compositions/examples/identity-worker/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json diff --git a/compositions/examples/identity-worker/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json similarity index 100% rename from compositions/examples/identity-worker/turbo.json rename to stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json diff --git a/compositions/examples/network-foundation/infra/infra-1/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml similarity index 100% rename from compositions/examples/network-foundation/infra/infra-1/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml diff --git a/compositions/examples/network-foundation/infra/infra-1/main.tf b/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf similarity index 100% rename from compositions/examples/network-foundation/infra/infra-1/main.tf rename to stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf diff --git a/compositions/examples/platform-sdk/package.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json similarity index 100% rename from compositions/examples/platform-sdk/package.json rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json diff --git a/compositions/examples/platform-sdk/packages/sdk/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml similarity index 100% rename from compositions/examples/platform-sdk/packages/sdk/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml diff --git a/compositions/examples/platform-sdk/packages/sdk/package.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json similarity index 100% rename from compositions/examples/platform-sdk/packages/sdk/package.json rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json diff --git a/compositions/examples/platform-sdk/packages/sdk/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts similarity index 100% rename from compositions/examples/platform-sdk/packages/sdk/src/index.ts rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts diff --git a/compositions/examples/platform-sdk/packages/sdk/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json similarity index 100% rename from compositions/examples/platform-sdk/packages/sdk/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json diff --git a/compositions/examples/platform-sdk/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml similarity index 100% rename from compositions/examples/platform-sdk/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml diff --git a/compositions/examples/platform-sdk/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json similarity index 100% rename from compositions/examples/platform-sdk/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json diff --git a/compositions/examples/platform-sdk/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json similarity index 100% rename from compositions/examples/platform-sdk/turbo.json rename to stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml diff --git a/compositions/examples/provider-smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml similarity index 100% rename from compositions/examples/provider-smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml diff --git a/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml diff --git a/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml similarity index 100% rename from compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml diff --git a/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml similarity index 100% rename from compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml diff --git a/compositions/examples/provider-smoke/smoke/provider-smoke.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml similarity index 100% rename from compositions/examples/provider-smoke/smoke/provider-smoke.yaml rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml diff --git a/compositions/examples/provider-smoke/smoke/terraform/main.tf b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf similarity index 100% rename from compositions/examples/provider-smoke/smoke/terraform/main.tf rename to stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf diff --git a/compositions/examples/web-console/apps/web-console/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml similarity index 100% rename from compositions/examples/web-console/apps/web-console/component.yaml rename to stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml diff --git a/compositions/examples/web-console/apps/web-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json similarity index 100% rename from compositions/examples/web-console/apps/web-console/package.json rename to stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json diff --git a/compositions/examples/web-console/apps/web-console/src/app.js b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js similarity index 100% rename from compositions/examples/web-console/apps/web-console/src/app.js rename to stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js diff --git a/compositions/examples/web-console/apps/web-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc similarity index 100% rename from compositions/examples/web-console/apps/web-console/wrangler.jsonc rename to stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc diff --git a/compositions/examples/web-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/package.json similarity index 100% rename from compositions/examples/web-console/package.json rename to stacks/stack-tectonic-flare/compositions/examples/web-console/package.json diff --git a/compositions/examples/web-console/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml similarity index 100% rename from compositions/examples/web-console/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml diff --git a/compositions/examples/web-console/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json similarity index 100% rename from compositions/examples/web-console/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json diff --git a/compositions/examples/web-console/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json similarity index 100% rename from compositions/examples/web-console/turbo.json rename to stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json diff --git a/compositions/helm-chart/README.md b/stacks/stack-tectonic-flare/compositions/helm-chart/README.md similarity index 100% rename from compositions/helm-chart/README.md rename to stacks/stack-tectonic-flare/compositions/helm-chart/README.md diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml similarity index 100% rename from compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml diff --git a/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml diff --git a/compositions/helm-chart/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml similarity index 100% rename from compositions/helm-chart/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml diff --git a/compositions/helm-values/README.md b/stacks/stack-tectonic-flare/compositions/helm-values/README.md similarity index 100% rename from compositions/helm-values/README.md rename to stacks/stack-tectonic-flare/compositions/helm-values/README.md diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml diff --git a/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml similarity index 100% rename from compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml diff --git a/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml diff --git a/compositions/helm-values/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml similarity index 100% rename from compositions/helm-values/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml diff --git a/compositions/publish-stack/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/README.md similarity index 100% rename from compositions/publish-stack/README.md rename to stacks/stack-tectonic-flare/compositions/publish-stack/README.md diff --git a/compositions/publish-stack/compositions.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/compositions.yaml similarity index 100% rename from compositions/publish-stack/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/compositions.yaml diff --git a/compositions/publish-stack/examples/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md similarity index 100% rename from compositions/publish-stack/examples/README.md rename to stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md diff --git a/compositions/publish-stack/examples/component.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml similarity index 100% rename from compositions/publish-stack/examples/component.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml diff --git a/compositions/publish-stack/examples/config.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml similarity index 100% rename from compositions/publish-stack/examples/config.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml diff --git a/compositions/publish-stack/jobs/publish-stack-publish.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/jobs/publish-stack-publish.yaml similarity index 100% rename from compositions/publish-stack/jobs/publish-stack-publish.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/jobs/publish-stack-publish.yaml diff --git a/compositions/publish-stack/profiles/publish-stack-dry-run.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-dry-run.yaml similarity index 100% rename from compositions/publish-stack/profiles/publish-stack-dry-run.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-dry-run.yaml diff --git a/compositions/publish-stack/profiles/publish-stack-release.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-release.yaml similarity index 100% rename from compositions/publish-stack/profiles/publish-stack-release.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-release.yaml diff --git a/compositions/publish-stack/profiles/publish-stack-verify.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-verify.yaml similarity index 100% rename from compositions/publish-stack/profiles/publish-stack-verify.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/profiles/publish-stack-verify.yaml diff --git a/compositions/publish-stack/schema.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/schema.yaml similarity index 100% rename from compositions/publish-stack/schema.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/schema.yaml diff --git a/compositions/publish-stack/tests/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md similarity index 100% rename from compositions/publish-stack/tests/README.md rename to stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md diff --git a/compositions/publish-stack/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml similarity index 100% rename from compositions/publish-stack/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml diff --git a/compositions/publish-stack/tests/test.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml similarity index 100% rename from compositions/publish-stack/tests/test.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml diff --git a/compositions/terraform/README.md b/stacks/stack-tectonic-flare/compositions/terraform/README.md similarity index 100% rename from compositions/terraform/README.md rename to stacks/stack-tectonic-flare/compositions/terraform/README.md diff --git a/compositions/terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/terraform/compositions.yaml similarity index 100% rename from compositions/terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/compositions.yaml diff --git a/compositions/terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/terraform/examples/README.md similarity index 100% rename from compositions/terraform/examples/README.md rename to stacks/stack-tectonic-flare/compositions/terraform/examples/README.md diff --git a/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml b/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml similarity index 100% rename from compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml diff --git a/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf b/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf similarity index 100% rename from compositions/terraform/examples/network-foundation/infra/infra-1/main.tf rename to stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf diff --git a/compositions/terraform/jobs/terraform-validate.yaml b/stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml similarity index 100% rename from compositions/terraform/jobs/terraform-validate.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/jobs/terraform-validate.yaml diff --git a/compositions/terraform/profiles/terraform-pull-request.yaml b/stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-pull-request.yaml similarity index 100% rename from compositions/terraform/profiles/terraform-pull-request.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-pull-request.yaml diff --git a/compositions/terraform/profiles/terraform-release.yaml b/stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-release.yaml similarity index 100% rename from compositions/terraform/profiles/terraform-release.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-release.yaml diff --git a/compositions/terraform/profiles/terraform-verify.yaml b/stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-verify.yaml similarity index 100% rename from compositions/terraform/profiles/terraform-verify.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/profiles/terraform-verify.yaml diff --git a/compositions/terraform/schema.yaml b/stacks/stack-tectonic-flare/compositions/terraform/schema.yaml similarity index 100% rename from compositions/terraform/schema.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/schema.yaml diff --git a/compositions/terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/terraform/tests/README.md similarity index 100% rename from compositions/terraform/tests/README.md rename to stacks/stack-tectonic-flare/compositions/terraform/tests/README.md diff --git a/compositions/terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml similarity index 100% rename from compositions/terraform/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml diff --git a/compositions/turbo-package/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/README.md similarity index 100% rename from compositions/turbo-package/README.md rename to stacks/stack-tectonic-flare/compositions/turbo-package/README.md diff --git a/compositions/turbo-package/compositions.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/compositions.yaml similarity index 100% rename from compositions/turbo-package/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/compositions.yaml diff --git a/compositions/turbo-package/examples/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md similarity index 100% rename from compositions/turbo-package/examples/README.md rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md diff --git a/compositions/turbo-package/examples/platform-sdk/package.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/package.json rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts diff --git a/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json diff --git a/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml diff --git a/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/tsconfig.base.json rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json diff --git a/compositions/turbo-package/examples/platform-sdk/turbo.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json similarity index 100% rename from compositions/turbo-package/examples/platform-sdk/turbo.json rename to stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json diff --git a/compositions/turbo-package/jobs/turbo-package-verify.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/jobs/turbo-package-verify.yaml similarity index 100% rename from compositions/turbo-package/jobs/turbo-package-verify.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/jobs/turbo-package-verify.yaml diff --git a/compositions/turbo-package/profiles/turbo-package-quick-check.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/profiles/turbo-package-quick-check.yaml similarity index 100% rename from compositions/turbo-package/profiles/turbo-package-quick-check.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/profiles/turbo-package-quick-check.yaml diff --git a/compositions/turbo-package/profiles/turbo-package-verify.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/profiles/turbo-package-verify.yaml similarity index 100% rename from compositions/turbo-package/profiles/turbo-package-verify.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/profiles/turbo-package-verify.yaml diff --git a/compositions/turbo-package/schema.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/schema.yaml similarity index 100% rename from compositions/turbo-package/schema.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/schema.yaml diff --git a/compositions/turbo-package/tests/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md similarity index 100% rename from compositions/turbo-package/tests/README.md rename to stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md diff --git a/compositions/turbo-package/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml similarity index 100% rename from compositions/turbo-package/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml diff --git a/compositions/workspace/README.md b/stacks/stack-tectonic-flare/compositions/workspace/README.md similarity index 100% rename from compositions/workspace/README.md rename to stacks/stack-tectonic-flare/compositions/workspace/README.md diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml similarity index 100% rename from compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml similarity index 100% rename from compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml diff --git a/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml similarity index 100% rename from compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml diff --git a/compositions/workspace/provider-smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml similarity index 100% rename from compositions/workspace/provider-smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml diff --git a/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml similarity index 100% rename from compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml diff --git a/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml similarity index 100% rename from compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml diff --git a/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml similarity index 100% rename from compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml diff --git a/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml similarity index 100% rename from compositions/workspace/provider-smoke/smoke/provider-smoke.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml diff --git a/compositions/workspace/provider-smoke/smoke/terraform/main.tf b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf similarity index 100% rename from compositions/workspace/provider-smoke/smoke/terraform/main.tf rename to stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf diff --git a/compositions/workspace/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml similarity index 100% rename from compositions/workspace/tests/smoke/component.yaml rename to stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml diff --git a/registry/index.json b/stacks/stack-tectonic-flare/registry/index.json similarity index 100% rename from registry/index.json rename to stacks/stack-tectonic-flare/registry/index.json diff --git a/scripts/generate-readme.sh b/stacks/stack-tectonic-flare/scripts/generate-readme.sh similarity index 100% rename from scripts/generate-readme.sh rename to stacks/stack-tectonic-flare/scripts/generate-readme.sh diff --git a/scripts/score.sh b/stacks/stack-tectonic-flare/scripts/score.sh similarity index 100% rename from scripts/score.sh rename to stacks/stack-tectonic-flare/scripts/score.sh diff --git a/scripts/verify-composition.sh b/stacks/stack-tectonic-flare/scripts/verify-composition.sh similarity index 100% rename from scripts/verify-composition.sh rename to stacks/stack-tectonic-flare/scripts/verify-composition.sh diff --git a/scripts/verify.sh b/stacks/stack-tectonic-flare/scripts/verify.sh similarity index 100% rename from scripts/verify.sh rename to stacks/stack-tectonic-flare/scripts/verify.sh diff --git a/stack.yaml b/stacks/stack-tectonic-flare/stack.yaml similarity index 100% rename from stack.yaml rename to stacks/stack-tectonic-flare/stack.yaml From 41cde5833e952eb9ebf8404f470848b91c483e67 Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Sat, 16 May 2026 10:00:39 +0530 Subject: [PATCH 8/8] nitpic --- .gitignore | 3 + .orun/component-tree.yaml | 33 +++ .orun/compositions.lock.yaml | 17 ++ .orun/executions/latest | 1 + .../.lock | 0 .../publish-dry-run.log | 9 + .../stack-tectonic.dev.publish/setup-orun.log | 13 + .../manifest.json | 99 +++++++ .../metadata.json | 28 ++ .../state.json | 15 ++ .../.lock | 0 .../publish-dry-run.log | 9 + .../stack-tectonic.dev.publish/setup-orun.log | 13 + .../publish-dry-run.log | 9 + .../publish.log | 9 + .../setup-orun.log | 13 + .../publish-dry-run.log | 9 + .../publish.log | 9 + .../setup-orun.log | 13 + .../manifest.json | 217 ++++++++++++++++ .../metadata.json | 46 ++++ .../state.json | 37 +++ .orun/plans/db447319e66a.json | 99 +++++++ .orun/plans/e12b28534c03.json | 217 ++++++++++++++++ .orun/plans/latest.json | 99 +++++++ intent.yaml | 4 +- kiox.lock | 8 +- stacks/stack-tectonic-flare/component.yaml | 6 +- .../cloudflare-pages-terraform/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../examples/README.md | 5 - .../cloudflare-pages-terraform/component.yaml | 31 --- .../infra/cloudflare-pages-terraform/main.tf | 87 ------- .../website/docs/deployment-paths.md | 98 ------- .../website/docs/getting-started.md | 51 ---- .../website/docusaurus.config.js | 81 ------ .../docs-site-git/website/package.json | 22 -- .../docs-site-git/website/sidebars.js | 3 - .../tests/README.md | 5 - .../tests/smoke/component.yaml | 31 --- .../README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../examples/README.md | 5 - .../apps/admin-console/component.yaml | 31 --- .../apps/admin-console/package.json | 9 - .../apps/admin-console/src/app.js | 8 - .../apps/admin-console/wrangler.jsonc | 6 - .../cloudflare-pages-admin-console/main.tf | 87 ------- .../examples/admin-console-git/package.json | 17 -- .../admin-console-git/pnpm-workspace.yaml | 3 - .../admin-console-git/tsconfig.base.json | 14 - .../examples/admin-console-git/turbo.json | 27 -- .../tests/README.md | 5 - .../tests/smoke/component.yaml | 31 --- .../cloudflare-pages-turbo/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../cloudflare-pages-turbo/examples/README.md | 5 - .../apps/web-console/component.yaml | 25 -- .../web-console/apps/web-console/package.json | 9 - .../web-console/apps/web-console/src/app.js | 8 - .../apps/web-console/wrangler.jsonc | 6 - .../examples/web-console/package.json | 17 -- .../examples/web-console/pnpm-workspace.yaml | 3 - .../examples/web-console/tsconfig.base.json | 14 - .../examples/web-console/turbo.json | 27 -- .../cloudflare-pages-turbo/tests/README.md | 5 - .../tests/smoke/component.yaml | 25 -- .../compositions/cloudflare-pages/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../cloudflare-pages/examples/README.md | 5 - .../examples/docs-site/website/component.yaml | 25 -- .../website/docs/deployment-paths.md | 98 ------- .../docs-site/website/docs/getting-started.md | 51 ---- .../docs-site/website/docusaurus.config.js | 81 ------ .../examples/docs-site/website/package.json | 22 -- .../examples/docs-site/website/sidebars.js | 3 - .../cloudflare-pages/tests/README.md | 5 - .../tests/smoke/component.yaml | 25 -- .../cloudflare-worker-turbo/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../examples/README.md | 5 - .../api-edge/apps/api-edge/component.yaml | 31 --- .../api-edge/apps/api-edge/package.json | 11 - .../api-edge/apps/api-edge/src/index.ts | 15 -- .../api-edge/apps/api-edge/tsconfig.json | 6 - .../api-edge/apps/api-edge/wrangler.jsonc | 10 - .../examples/api-edge/package.json | 17 -- .../examples/api-edge/pnpm-workspace.yaml | 3 - .../examples/api-edge/tsconfig.base.json | 14 - .../examples/api-edge/turbo.json | 27 -- .../cloudflare-worker-turbo/tests/README.md | 5 - .../tests/smoke/component.yaml | 23 -- .../compositions/cloudflare-worker/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../cloudflare-worker/examples/README.md | 5 - .../apps/identity-worker/component.yaml | 27 -- .../apps/identity-worker/package.json | 11 - .../apps/identity-worker/src/index.ts | 16 -- .../apps/identity-worker/tsconfig.json | 6 - .../apps/identity-worker/wrangler.jsonc | 10 - .../examples/identity-worker/package.json | 17 -- .../identity-worker/pnpm-workspace.yaml | 3 - .../identity-worker/tsconfig.base.json | 14 - .../examples/identity-worker/turbo.json | 27 -- .../cloudflare-worker/tests/README.md | 5 - .../tests/smoke/component.yaml | 27 -- .../compositions/examples/README.md | 5 - .../apps/admin-console/component.yaml | 31 --- .../apps/admin-console/package.json | 9 - .../apps/admin-console/src/app.js | 8 - .../apps/admin-console/wrangler.jsonc | 6 - .../cloudflare-pages-admin-console/main.tf | 87 ------- .../examples/admin-console-git/package.json | 17 -- .../admin-console-git/pnpm-workspace.yaml | 3 - .../admin-console-git/tsconfig.base.json | 14 - .../examples/admin-console-git/turbo.json | 27 -- .../api-edge/apps/api-edge/component.yaml | 31 --- .../api-edge/apps/api-edge/package.json | 11 - .../api-edge/apps/api-edge/src/index.ts | 15 -- .../api-edge/apps/api-edge/tsconfig.json | 6 - .../api-edge/apps/api-edge/wrangler.jsonc | 10 - .../examples/api-edge/package.json | 17 -- .../examples/api-edge/pnpm-workspace.yaml | 3 - .../examples/api-edge/tsconfig.base.json | 14 - .../compositions/examples/api-edge/turbo.json | 27 -- .../cloudflare-pages-terraform/component.yaml | 31 --- .../infra/cloudflare-pages-terraform/main.tf | 87 ------- .../website/docs/deployment-paths.md | 98 ------- .../website/docs/getting-started.md | 51 ---- .../website/docusaurus.config.js | 81 ------ .../docs-site-git/website/package.json | 22 -- .../docs-site-git/website/sidebars.js | 3 - .../examples/docs-site/website/component.yaml | 25 -- .../website/docs/deployment-paths.md | 98 ------- .../docs-site/website/docs/getting-started.md | 51 ---- .../docs-site/website/docusaurus.config.js | 81 ------ .../examples/docs-site/website/package.json | 22 -- .../examples/docs-site/website/sidebars.js | 3 - .../charts/hello-chart/chart/Chart.yaml | 6 - .../charts/hello-chart/chart/component.yaml | 25 -- .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../deploy/hello-deploy/values.yaml | 5 - .../charts/hello-chart/chart/Chart.yaml | 6 - .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../deploy/hello-deploy/component.yaml | 25 -- .../deploy/hello-deploy/values.yaml | 5 - .../apps/identity-worker/component.yaml | 27 -- .../apps/identity-worker/package.json | 11 - .../apps/identity-worker/src/index.ts | 16 -- .../apps/identity-worker/tsconfig.json | 6 - .../apps/identity-worker/wrangler.jsonc | 10 - .../examples/identity-worker/package.json | 17 -- .../identity-worker/pnpm-workspace.yaml | 3 - .../identity-worker/tsconfig.base.json | 14 - .../examples/identity-worker/turbo.json | 27 -- .../infra/infra-1/component.yaml | 22 -- .../network-foundation/infra/infra-1/main.tf | 21 -- .../examples/platform-sdk/package.json | 17 -- .../platform-sdk/packages/sdk/component.yaml | 23 -- .../platform-sdk/packages/sdk/package.json | 10 - .../platform-sdk/packages/sdk/src/index.ts | 3 - .../platform-sdk/packages/sdk/tsconfig.json | 6 - .../examples/platform-sdk/pnpm-workspace.yaml | 3 - .../examples/platform-sdk/tsconfig.base.json | 14 - .../examples/platform-sdk/turbo.json | 27 -- .../charts/hello-chart/chart/Chart.yaml | 6 - .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../examples/provider-smoke/component.yaml | 23 -- .../deploy/hello-deploy/values.yaml | 5 - .../smoke/kustomize/configmap.yaml | 6 - .../smoke/kustomize/kustomization.yaml | 4 - .../provider-smoke/smoke/provider-smoke.yaml | 22 -- .../provider-smoke/smoke/terraform/main.tf | 7 - .../apps/web-console/component.yaml | 25 -- .../web-console/apps/web-console/package.json | 9 - .../web-console/apps/web-console/src/app.js | 8 - .../apps/web-console/wrangler.jsonc | 6 - .../examples/web-console/package.json | 17 -- .../examples/web-console/pnpm-workspace.yaml | 3 - .../examples/web-console/tsconfig.base.json | 14 - .../examples/web-console/turbo.json | 27 -- .../compositions/helm-chart/README.md | 5 - .../charts/hello-chart/chart/Chart.yaml | 6 - .../charts/hello-chart/chart/component.yaml | 25 -- .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../deploy/hello-deploy/values.yaml | 5 - .../helm-chart/tests/smoke/component.yaml | 25 -- .../compositions/helm-values/README.md | 5 - .../charts/hello-chart/chart/Chart.yaml | 6 - .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../deploy/hello-deploy/component.yaml | 25 -- .../deploy/hello-deploy/values.yaml | 5 - .../helm-values/tests/smoke/component.yaml | 25 -- .../compositions/publish-stack/README.md | 30 ++- .../{compositions.yaml => composition.yaml} | 0 .../publish-stack/examples/README.md | 6 - .../publish-stack/examples/component.yaml | 6 - .../publish-stack/examples/config.yaml | 1 - .../publish-stack/tests/README.md | 6 - .../publish-stack/tests/smoke/component.yaml | 6 - .../publish-stack/tests/test.yaml | 1 - .../{compositions.yaml => composition.yaml} | 0 .../compositions/terraform/examples/README.md | 5 - .../infra/infra-1/component.yaml | 22 -- .../network-foundation/infra/infra-1/main.tf | 21 -- .../compositions/terraform/tests/README.md | 5 - .../terraform/tests/smoke/component.yaml | 22 -- .../compositions/turbo-package/README.md | 2 +- .../{compositions.yaml => composition.yaml} | 0 .../turbo-package/examples/README.md | 5 - .../examples/platform-sdk/package.json | 17 -- .../platform-sdk/packages/sdk/component.yaml | 23 -- .../platform-sdk/packages/sdk/package.json | 10 - .../platform-sdk/packages/sdk/src/index.ts | 3 - .../platform-sdk/packages/sdk/tsconfig.json | 6 - .../examples/platform-sdk/pnpm-workspace.yaml | 3 - .../examples/platform-sdk/tsconfig.base.json | 14 - .../examples/platform-sdk/turbo.json | 27 -- .../turbo-package/tests/README.md | 5 - .../turbo-package/tests/smoke/component.yaml | 23 -- .../compositions/workspace/README.md | 5 - .../charts/hello-chart/chart/Chart.yaml | 6 - .../chart/templates/configmap.yaml | 11 - .../charts/hello-chart/chart/values.yaml | 5 - .../workspace/provider-smoke/component.yaml | 23 -- .../deploy/hello-deploy/values.yaml | 5 - .../smoke/kustomize/configmap.yaml | 6 - .../smoke/kustomize/kustomization.yaml | 4 - .../provider-smoke/smoke/provider-smoke.yaml | 22 -- .../provider-smoke/smoke/terraform/main.tf | 7 - .../workspace/tests/smoke/component.yaml | 18 -- .../stack-tectonic-flare/registry/index.json | 242 ------------------ .../scripts/generate-readme.sh | 115 --------- stacks/stack-tectonic-flare/scripts/score.sh | 196 -------------- .../scripts/verify-composition.sh | 68 ----- stacks/stack-tectonic-flare/scripts/verify.sh | 21 -- 241 files changed, 1052 insertions(+), 4206 deletions(-) create mode 100644 .orun/component-tree.yaml create mode 100644 .orun/compositions.lock.yaml create mode 120000 .orun/executions/latest create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/.lock create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/publish-dry-run.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/setup-orun.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/manifest.json create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/metadata.json create mode 100644 .orun/executions/stack-tectonic-flare-20260516-c2fbb7/state.json create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/.lock create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/publish-dry-run.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/setup-orun.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish-dry-run.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/setup-orun.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish-dry-run.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/setup-orun.log create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/manifest.json create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/metadata.json create mode 100644 .orun/executions/stack-tectonic-flare-20260516-e10b7a/state.json create mode 100644 .orun/plans/db447319e66a.json create mode 100644 .orun/plans/e12b28534c03.json create mode 100644 .orun/plans/latest.json rename stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/cloudflare-pages/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/cloudflare-worker/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/publish-stack/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml rename stacks/stack-tectonic-flare/compositions/terraform/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/terraform/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/terraform/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml rename stacks/stack-tectonic-flare/compositions/turbo-package/{compositions.yaml => composition.yaml} (100%) delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/README.md delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf delete mode 100644 stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml delete mode 100644 stacks/stack-tectonic-flare/registry/index.json delete mode 100755 stacks/stack-tectonic-flare/scripts/generate-readme.sh delete mode 100755 stacks/stack-tectonic-flare/scripts/score.sh delete mode 100755 stacks/stack-tectonic-flare/scripts/verify-composition.sh delete mode 100755 stacks/stack-tectonic-flare/scripts/verify.sh diff --git a/.gitignore b/.gitignore index 24f60df..d9b643b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ .workspace/ .DS_Store + +# orun per-job staged workspaces +.orun/runs/ diff --git a/.orun/component-tree.yaml b/.orun/component-tree.yaml new file mode 100644 index 0000000..baadbb6 --- /dev/null +++ b/.orun/component-tree.yaml @@ -0,0 +1,33 @@ +apiVersion: sourceplane.io/v1 +kind: ComponentTree +metadata: + intent: /Users/irinelinson/sourceplane/stack-tectonic-flare/intent.yaml + generatedAt: "2026-05-16T04:30:25Z" +discovery: + roots: + - stacks +components: + - name: stack-tectonic + type: publish-stack + domain: platform-stack + enabled: false + path: stacks/stack-tectonic-flare + subscribe: + environments: + - name: dev + profile: dry-run + - name: staging + profile: release + - name: production + profile: release + inputs: + registry: ghcr.io/sourceplane/stack-tectonic + root: . + version: 1.0.0 + labels: + layer: platform + provider: orun + source: discovered + sourcePath: stacks/stack-tectonic-flare/component.yaml + fileSize: 446 + fileModTime: "2026-05-16T04:24:10.752161673Z" diff --git a/.orun/compositions.lock.yaml b/.orun/compositions.lock.yaml new file mode 100644 index 0000000..028e881 --- /dev/null +++ b/.orun/compositions.lock.yaml @@ -0,0 +1,17 @@ +apiVersion: sourceplane.io/v1alpha1 +kind: CompositionLock +sources: + - name: stack-tectonic-flare + kind: dir + path: ./stacks/stack-tectonic-flare + resolvedDigest: sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a + exports: + - cloudflare-pages + - cloudflare-pages-terraform + - cloudflare-pages-turbo + - cloudflare-pages-turbo-terraform + - cloudflare-worker + - cloudflare-worker-turbo + - publish-stack + - terraform + - turbo-package diff --git a/.orun/executions/latest b/.orun/executions/latest new file mode 120000 index 0000000..b14ff06 --- /dev/null +++ b/.orun/executions/latest @@ -0,0 +1 @@ +stack-tectonic-flare-20260516-c2fbb7 \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/.lock b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/.lock new file mode 100644 index 0000000..e69de29 diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/publish-dry-run.log b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/publish-dry-run.log new file mode 100644 index 0000000..af96e25 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/publish-dry-run.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +✓ dry run: no files uploaded +→ would push to ghcr.io/sourceplane/saas-stack-tectonic-flare:2.0.0 \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/setup-orun.log b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/setup-orun.log new file mode 100644 index 0000000..428e3ea --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/logs/stack-tectonic.dev.publish/setup-orun.log @@ -0,0 +1,13 @@ +Resolved latest → v1.26.0 +[warning]An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions. +(node:99222) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. +(Use `node --trace-deprecation ...` to show where the warning was created) +Installing orun v1.26.0 for darwin/arm64 +Download: https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 + 1 5749k 1 81016 0 0 170k 0 0:00:33 --:--:-- 0:00:33 170k 33 5749k 33 1950k 0 0 1383k 0 0:00:04 0:00:01 0:00:03 1980k 79 5749k 79 4581k 0 0 1902k 0 0:00:03 0:00:02 0:00:01 2317k 100 5749k 100 5749k 0 0 2029k 0 0:00:02 0:00:02 --:--:-- 2396k +Installed to: /var/folders/7r/6src6yvx52x99trc516tbrmc0000gn/T/orun-gha-stack-tectonic-dev-publish-1791661091/home/.local/bin/orun +Run: orun --help +notice: orun 1.26.0 ready \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/manifest.json b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/manifest.json new file mode 100644 index 0000000..822f241 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/manifest.json @@ -0,0 +1,99 @@ +{ + "apiVersion": "orun.io/v1", + "kind": "Plan", + "metadata": { + "name": "stack-tectonic-flare", + "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", + "generatedAt": "2026-05-16T04:30:25Z", + "checksum": "sha256-db447319e66a4cb78ac37b35e04a7f4265271547c5b224117c5e9d9a4aaca144" + }, + "execution": { + "concurrency": 4, + "failFast": true + }, + "spec": { + "jobBindings": { + "cloudflare-pages": "tectonic-flare", + "cloudflare-pages-terraform": "tectonic-flare", + "cloudflare-pages-turbo": "tectonic-flare", + "cloudflare-pages-turbo-terraform": "tectonic-flare", + "cloudflare-worker": "tectonic-flare", + "cloudflare-worker-turbo": "tectonic-flare", + "publish-stack": "tectonic-flare", + "terraform": "tectonic-flare", + "turbo-package": "tectonic-flare" + }, + "compositionSources": [ + { + "name": "stack-tectonic-flare", + "kind": "dir", + "path": "./stacks/stack-tectonic-flare", + "resolvedDigest": "sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a", + "exports": [ + "cloudflare-pages", + "cloudflare-pages-terraform", + "cloudflare-pages-turbo", + "cloudflare-pages-turbo-terraform", + "cloudflare-worker", + "cloudflare-worker-turbo", + "publish-stack", + "terraform", + "turbo-package" + ] + } + ] + }, + "jobs": [ + { + "id": "stack-tectonic.dev.publish", + "uid": "job_db44731_96d7e7d7c8ab", + "displayName": "Publish", + "checkName": "stack-tectonic · dev · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "dev", + "composition": "publish-stack", + "profile": "publish-stack.dry-run", + "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" + } + ], + "timeout": "20m", + "env": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + } + ] +} \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/metadata.json b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/metadata.json new file mode 100644 index 0000000..44953ae --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/metadata.json @@ -0,0 +1,28 @@ +{ + "execId": "stack-tectonic-flare-20260516-c2fbb7", + "planId": "db447319e66a", + "planName": "stack-tectonic-flare", + "startedAt": "2026-05-16T04:30:25Z", + "finishedAt": "2026-05-16T04:30:30Z", + "status": "completed", + "trigger": "cli", + "user": "irinelinson", + "dryRun": false, + "jobTotal": 1, + "jobDone": 1, + "jobFailed": 0, + "links": [ + { + "label": "[warning]An inter...", + "url": "https://www.githubstatus.com/", + "jobId": "stack-tectonic.dev.publish", + "stepId": "setup-orun" + }, + { + "label": "Download", + "url": "https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz", + "jobId": "stack-tectonic.dev.publish", + "stepId": "setup-orun" + } + ] +} \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/state.json b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/state.json new file mode 100644 index 0000000..5dff0dc --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-c2fbb7/state.json @@ -0,0 +1,15 @@ +{ + "execId": "stack-tectonic-flare-20260516-c2fbb7", + "planChecksum": "sha256-db447319e66a4cb78ac37b35e04a7f4265271547c5b224117c5e9d9a4aaca144", + "jobs": { + "stack-tectonic.dev.publish": { + "status": "completed", + "startedAt": "2026-05-16T04:30:25Z", + "finishedAt": "2026-05-16T04:30:30Z", + "steps": { + "publish-dry-run": "completed", + "setup-orun": "completed" + } + } + } +} \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/.lock b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/.lock new file mode 100644 index 0000000..e69de29 diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/publish-dry-run.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/publish-dry-run.log new file mode 100644 index 0000000..af96e25 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/publish-dry-run.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +✓ dry run: no files uploaded +→ would push to ghcr.io/sourceplane/saas-stack-tectonic-flare:2.0.0 \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/setup-orun.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/setup-orun.log new file mode 100644 index 0000000..f96757f --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.dev.publish/setup-orun.log @@ -0,0 +1,13 @@ +Resolved latest → v1.26.0 +[warning]An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions. +(node:99077) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. +(Use `node --trace-deprecation ...` to show where the warning was created) +Installing orun v1.26.0 for darwin/arm64 +Download: https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 9 5749k 9 543k 0 0 325k 0 0:00:17 0:00:01 0:00:16 549k 23 5749k 23 1359k 0 0 509k 0 0:00:11 0:00:02 0:00:09 685k 38 5749k 38 2239k 0 0 610k 0 0:00:09 0:00:03 0:00:06 750k 54 5749k 54 3119k 0 0 668k 0 0:00:08 0:00:04 0:00:04 782k 74 5749k 74 4255k 0 0 750k 0 0:00:07 0:00:05 0:00:02 853k 100 5749k 100 5749k 0 0 880k 0 0:00:06 0:00:06 --:--:-- 1070k +Installed to: /var/folders/7r/6src6yvx52x99trc516tbrmc0000gn/T/orun-gha-stack-tectonic-dev-publish-1028476483/home/.local/bin/orun +Run: orun --help +notice: orun 1.26.0 ready \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish-dry-run.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish-dry-run.log new file mode 100644 index 0000000..af96e25 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish-dry-run.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +✓ dry run: no files uploaded +→ would push to ghcr.io/sourceplane/saas-stack-tectonic-flare:2.0.0 \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish.log new file mode 100644 index 0000000..3cb954c --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/publish.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +□ Packaging and uploading... +✕ oras push failed: failed to perform "Exists" on destination: HEAD "https://ghcr.io/v2/sourceplane/saas-stack-tectonic-flare/manifests/sha256:1ce6d8f46493bedfb31ef723d7d03ece85a2f26e7797c289f689430a57ebd7e0": GET "https://ghcr.io/token?scope=repository%3Asourceplane%2Fsaas-stack-tectonic-flare%3Apull&service=ghcr.io": response status code 403: denied: requested access to the resource is denied \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/setup-orun.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/setup-orun.log new file mode 100644 index 0000000..e981003 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.production.publish/setup-orun.log @@ -0,0 +1,13 @@ +Resolved latest → v1.26.0 +[warning]An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions. +(node:99078) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. +(Use `node --trace-deprecation ...` to show where the warning was created) +Installing orun v1.26.0 for darwin/arm64 +Download: https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 5749k 5 335k 0 0 200k 0 0:00:28 0:00:01 0:00:27 341k 14 5749k 14 837k 0 0 314k 0 0:00:18 0:00:02 0:00:16 422k 23 5749k 23 1376k 0 0 374k 0 0:00:15 0:00:03 0:00:12 461k 33 5749k 33 1899k 0 0 406k 0 0:00:14 0:00:04 0:00:10 476k 44 5749k 44 2546k 0 0 449k 0 0:00:12 0:00:05 0:00:07 511k 66 5749k 66 3800k 0 0 570k 0 0:00:10 0:00:06 0:00:04 693k 100 5749k 100 5749k 0 0 768k 0 0:00:07 0:00:07 --:--:-- 1019k +Installed to: /var/folders/7r/6src6yvx52x99trc516tbrmc0000gn/T/orun-gha-stack-tectonic-production-publish-1685734397/home/.local/bin/orun +Run: orun --help +notice: orun 1.26.0 ready \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish-dry-run.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish-dry-run.log new file mode 100644 index 0000000..af96e25 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish-dry-run.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +✓ dry run: no files uploaded +→ would push to ghcr.io/sourceplane/saas-stack-tectonic-flare:2.0.0 \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish.log new file mode 100644 index 0000000..d53695c --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/publish.log @@ -0,0 +1,9 @@ + + package tectonic-flare + version 2.0.0 + files 64 + registry ghcr.io/sourceplane/saas-stack-tectonic-flare + source inferred from stack.yaml registry block + +□ Packaging and uploading... +✕ oras push failed: failed to perform "Exists" on destination: HEAD "https://ghcr.io/v2/sourceplane/saas-stack-tectonic-flare/manifests/sha256:7e161027ec210f0d3f71cf76c3bcae238a7c7c2deaf7f4e0a0c3449a7fad4311": GET "https://ghcr.io/token?scope=repository%3Asourceplane%2Fsaas-stack-tectonic-flare%3Apull&service=ghcr.io": response status code 403: denied: requested access to the resource is denied \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/setup-orun.log b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/setup-orun.log new file mode 100644 index 0000000..5ff62c1 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/logs/stack-tectonic.staging.publish/setup-orun.log @@ -0,0 +1,13 @@ +Resolved latest → v1.26.0 +[warning]An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions. +(node:99079) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. +(Use `node --trace-deprecation ...` to show where the warning was created) +Installing orun v1.26.0 for darwin/arm64 +Download: https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 5749k 13 789k 0 0 472k 0 0:00:12 0:00:01 0:00:11 822k 37 5749k 37 2171k 0 0 814k 0 0:00:07 0:00:02 0:00:05 1109k 64 5749k 64 3684k 0 0 1004k 0 0:00:05 0:00:03 0:00:02 1245k 90 5749k 90 5214k 0 0 1117k 0 0:00:05 0:00:04 0:00:01 1317k 100 5749k 100 5749k 0 0 1116k 0 0:00:05 0:00:05 --:--:-- 1295k +Installed to: /var/folders/7r/6src6yvx52x99trc516tbrmc0000gn/T/orun-gha-stack-tectonic-staging-publish-1869995564/home/.local/bin/orun +Run: orun --help +notice: orun 1.26.0 ready \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/manifest.json b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/manifest.json new file mode 100644 index 0000000..2950903 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/manifest.json @@ -0,0 +1,217 @@ +{ + "apiVersion": "orun.io/v1", + "kind": "Plan", + "metadata": { + "name": "stack-tectonic-flare", + "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", + "generatedAt": "2026-05-16T04:29:53Z", + "checksum": "sha256-e12b28534c03d8ec178deb5d865e18455fcd675c04e53b68fc64b31946c58d88" + }, + "execution": { + "concurrency": 4, + "failFast": true + }, + "spec": { + "jobBindings": { + "cloudflare-pages": "tectonic-flare", + "cloudflare-pages-terraform": "tectonic-flare", + "cloudflare-pages-turbo": "tectonic-flare", + "cloudflare-pages-turbo-terraform": "tectonic-flare", + "cloudflare-worker": "tectonic-flare", + "cloudflare-worker-turbo": "tectonic-flare", + "publish-stack": "tectonic-flare", + "terraform": "tectonic-flare", + "turbo-package": "tectonic-flare" + }, + "compositionSources": [ + { + "name": "stack-tectonic-flare", + "kind": "dir", + "path": "./stacks/stack-tectonic-flare", + "resolvedDigest": "sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a", + "exports": [ + "cloudflare-pages", + "cloudflare-pages-terraform", + "cloudflare-pages-turbo", + "cloudflare-pages-turbo-terraform", + "cloudflare-worker", + "cloudflare-worker-turbo", + "publish-stack", + "terraform", + "turbo-package" + ] + } + ] + }, + "jobs": [ + { + "id": "stack-tectonic.production.publish", + "uid": "job_e12b285_594f22360c64", + "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", + "namespacePrefix": "prod-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "release", + "namespacePrefix": "prod-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + }, + { + "id": "stack-tectonic.dev.publish", + "uid": "job_e12b285_8ffe807038d5", + "displayName": "Publish", + "checkName": "stack-tectonic · dev · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "dev", + "composition": "publish-stack", + "profile": "publish-stack.dry-run", + "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" + } + ], + "timeout": "20m", + "env": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + }, + { + "id": "stack-tectonic.staging.publish", + "uid": "job_e12b285_c5ff9743198c", + "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", + "namespacePrefix": "stg-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "verify", + "namespacePrefix": "stg-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + } + ] +} \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/metadata.json b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/metadata.json new file mode 100644 index 0000000..d1fa8fd --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/metadata.json @@ -0,0 +1,46 @@ +{ + "execId": "stack-tectonic-flare-20260516-e10b7a", + "planId": "e12b28534c03", + "planName": "stack-tectonic-flare", + "startedAt": "2026-05-16T04:29:53Z", + "finishedAt": "2026-05-16T04:30:08Z", + "status": "failed", + "trigger": "cli", + "user": "irinelinson", + "dryRun": false, + "jobTotal": 3, + "jobDone": 1, + "jobFailed": 2, + "links": [ + { + "label": "[warning]An inter...", + "url": "https://www.githubstatus.com/", + "jobId": "stack-tectonic.dev.publish", + "stepId": "setup-orun" + }, + { + "label": "Download", + "url": "https://github.com/sourceplane/orun/releases/download/v1.26.0/orun_1.26.0_darwin_arm64.tar.gz", + "jobId": "stack-tectonic.dev.publish", + "stepId": "setup-orun" + }, + { + "label": "✕ oras push fai...", + "url": "https://ghcr.io/v2/sourceplane/saas-stack-tectonic-flare/manifests/sha256:7e161027ec210f0d3f71cf76c3bcae238a7c7c2deaf7f4e0a0c3449a7fad4311\":", + "jobId": "stack-tectonic.staging.publish", + "stepId": "publish" + }, + { + "label": "✕ oras push fai...", + "url": "https://ghcr.io/token?scope=repository%3Asourceplane%2Fsaas-stack-tectonic-flare%3Apull\u0026service=ghcr.io\":", + "jobId": "stack-tectonic.staging.publish", + "stepId": "publish" + }, + { + "label": "✕ oras push fai...", + "url": "https://ghcr.io/v2/sourceplane/saas-stack-tectonic-flare/manifests/sha256:1ce6d8f46493bedfb31ef723d7d03ece85a2f26e7797c289f689430a57ebd7e0\":", + "jobId": "stack-tectonic.production.publish", + "stepId": "publish" + } + ] +} \ No newline at end of file diff --git a/.orun/executions/stack-tectonic-flare-20260516-e10b7a/state.json b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/state.json new file mode 100644 index 0000000..0fa7f26 --- /dev/null +++ b/.orun/executions/stack-tectonic-flare-20260516-e10b7a/state.json @@ -0,0 +1,37 @@ +{ + "execId": "stack-tectonic-flare-20260516-e10b7a", + "planChecksum": "sha256-e12b28534c03d8ec178deb5d865e18455fcd675c04e53b68fc64b31946c58d88", + "jobs": { + "stack-tectonic.dev.publish": { + "status": "completed", + "startedAt": "2026-05-16T04:29:53Z", + "finishedAt": "2026-05-16T04:30:06Z", + "steps": { + "publish-dry-run": "completed", + "setup-orun": "completed" + } + }, + "stack-tectonic.production.publish": { + "status": "failed", + "startedAt": "2026-05-16T04:29:53Z", + "finishedAt": "2026-05-16T04:30:08Z", + "steps": { + "publish": "failed", + "publish-dry-run": "completed", + "setup-orun": "completed" + }, + "lastError": "step publish: exit status 1" + }, + "stack-tectonic.staging.publish": { + "status": "failed", + "startedAt": "2026-05-16T04:29:53Z", + "finishedAt": "2026-05-16T04:30:07Z", + "steps": { + "publish": "failed", + "publish-dry-run": "completed", + "setup-orun": "completed" + }, + "lastError": "step publish: exit status 1" + } + } +} \ No newline at end of file diff --git a/.orun/plans/db447319e66a.json b/.orun/plans/db447319e66a.json new file mode 100644 index 0000000..822f241 --- /dev/null +++ b/.orun/plans/db447319e66a.json @@ -0,0 +1,99 @@ +{ + "apiVersion": "orun.io/v1", + "kind": "Plan", + "metadata": { + "name": "stack-tectonic-flare", + "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", + "generatedAt": "2026-05-16T04:30:25Z", + "checksum": "sha256-db447319e66a4cb78ac37b35e04a7f4265271547c5b224117c5e9d9a4aaca144" + }, + "execution": { + "concurrency": 4, + "failFast": true + }, + "spec": { + "jobBindings": { + "cloudflare-pages": "tectonic-flare", + "cloudflare-pages-terraform": "tectonic-flare", + "cloudflare-pages-turbo": "tectonic-flare", + "cloudflare-pages-turbo-terraform": "tectonic-flare", + "cloudflare-worker": "tectonic-flare", + "cloudflare-worker-turbo": "tectonic-flare", + "publish-stack": "tectonic-flare", + "terraform": "tectonic-flare", + "turbo-package": "tectonic-flare" + }, + "compositionSources": [ + { + "name": "stack-tectonic-flare", + "kind": "dir", + "path": "./stacks/stack-tectonic-flare", + "resolvedDigest": "sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a", + "exports": [ + "cloudflare-pages", + "cloudflare-pages-terraform", + "cloudflare-pages-turbo", + "cloudflare-pages-turbo-terraform", + "cloudflare-worker", + "cloudflare-worker-turbo", + "publish-stack", + "terraform", + "turbo-package" + ] + } + ] + }, + "jobs": [ + { + "id": "stack-tectonic.dev.publish", + "uid": "job_db44731_96d7e7d7c8ab", + "displayName": "Publish", + "checkName": "stack-tectonic · dev · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "dev", + "composition": "publish-stack", + "profile": "publish-stack.dry-run", + "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" + } + ], + "timeout": "20m", + "env": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + } + ] +} \ No newline at end of file diff --git a/.orun/plans/e12b28534c03.json b/.orun/plans/e12b28534c03.json new file mode 100644 index 0000000..2950903 --- /dev/null +++ b/.orun/plans/e12b28534c03.json @@ -0,0 +1,217 @@ +{ + "apiVersion": "orun.io/v1", + "kind": "Plan", + "metadata": { + "name": "stack-tectonic-flare", + "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", + "generatedAt": "2026-05-16T04:29:53Z", + "checksum": "sha256-e12b28534c03d8ec178deb5d865e18455fcd675c04e53b68fc64b31946c58d88" + }, + "execution": { + "concurrency": 4, + "failFast": true + }, + "spec": { + "jobBindings": { + "cloudflare-pages": "tectonic-flare", + "cloudflare-pages-terraform": "tectonic-flare", + "cloudflare-pages-turbo": "tectonic-flare", + "cloudflare-pages-turbo-terraform": "tectonic-flare", + "cloudflare-worker": "tectonic-flare", + "cloudflare-worker-turbo": "tectonic-flare", + "publish-stack": "tectonic-flare", + "terraform": "tectonic-flare", + "turbo-package": "tectonic-flare" + }, + "compositionSources": [ + { + "name": "stack-tectonic-flare", + "kind": "dir", + "path": "./stacks/stack-tectonic-flare", + "resolvedDigest": "sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a", + "exports": [ + "cloudflare-pages", + "cloudflare-pages-terraform", + "cloudflare-pages-turbo", + "cloudflare-pages-turbo-terraform", + "cloudflare-worker", + "cloudflare-worker-turbo", + "publish-stack", + "terraform", + "turbo-package" + ] + } + ] + }, + "jobs": [ + { + "id": "stack-tectonic.production.publish", + "uid": "job_e12b285_594f22360c64", + "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", + "namespacePrefix": "prod-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "release", + "namespacePrefix": "prod-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + }, + { + "id": "stack-tectonic.dev.publish", + "uid": "job_e12b285_8ffe807038d5", + "displayName": "Publish", + "checkName": "stack-tectonic · dev · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "dev", + "composition": "publish-stack", + "profile": "publish-stack.dry-run", + "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" + } + ], + "timeout": "20m", + "env": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + }, + { + "id": "stack-tectonic.staging.publish", + "uid": "job_e12b285_c5ff9743198c", + "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", + "namespacePrefix": "stg-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "verify", + "namespacePrefix": "stg-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + } + ] +} \ No newline at end of file diff --git a/.orun/plans/latest.json b/.orun/plans/latest.json new file mode 100644 index 0000000..822f241 --- /dev/null +++ b/.orun/plans/latest.json @@ -0,0 +1,99 @@ +{ + "apiVersion": "orun.io/v1", + "kind": "Plan", + "metadata": { + "name": "stack-tectonic-flare", + "description": "Reusable Cloudflare and Supabase multi-tenant SaaS starter", + "generatedAt": "2026-05-16T04:30:25Z", + "checksum": "sha256-db447319e66a4cb78ac37b35e04a7f4265271547c5b224117c5e9d9a4aaca144" + }, + "execution": { + "concurrency": 4, + "failFast": true + }, + "spec": { + "jobBindings": { + "cloudflare-pages": "tectonic-flare", + "cloudflare-pages-terraform": "tectonic-flare", + "cloudflare-pages-turbo": "tectonic-flare", + "cloudflare-pages-turbo-terraform": "tectonic-flare", + "cloudflare-worker": "tectonic-flare", + "cloudflare-worker-turbo": "tectonic-flare", + "publish-stack": "tectonic-flare", + "terraform": "tectonic-flare", + "turbo-package": "tectonic-flare" + }, + "compositionSources": [ + { + "name": "stack-tectonic-flare", + "kind": "dir", + "path": "./stacks/stack-tectonic-flare", + "resolvedDigest": "sha256:8d650f7aabe75b4c8d55dfcb39e9af0653b67567a17db0faba4bf847ba62de1a", + "exports": [ + "cloudflare-pages", + "cloudflare-pages-terraform", + "cloudflare-pages-turbo", + "cloudflare-pages-turbo-terraform", + "cloudflare-worker", + "cloudflare-worker-turbo", + "publish-stack", + "terraform", + "turbo-package" + ] + } + ] + }, + "jobs": [ + { + "id": "stack-tectonic.dev.publish", + "uid": "job_db44731_96d7e7d7c8ab", + "displayName": "Publish", + "checkName": "stack-tectonic · dev · Publish", + "name": "publish", + "component": "stack-tectonic", + "environment": "dev", + "composition": "publish-stack", + "profile": "publish-stack.dry-run", + "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" + } + ], + "timeout": "20m", + "env": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + }, + "labels": { + "layer": "platform", + "provider": "orun" + }, + "config": { + "lane": "dry-run", + "namespacePrefix": "dev-", + "registry": "ghcr.io/sourceplane/stack-tectonic", + "root": ".", + "version": "1.0.0" + } + } + ] +} \ No newline at end of file diff --git a/intent.yaml b/intent.yaml index b5f64ee..da49e31 100644 --- a/intent.yaml +++ b/intent.yaml @@ -9,8 +9,8 @@ execution: compositions: sources: - name: stack-tectonic-flare - kind: local - ref: ./stacks + kind: dir + path: ./stacks/stack-tectonic-flare discovery: roots: diff --git a/kiox.lock b/kiox.lock index af27eaa..078e3de 100644 --- a/kiox.lock +++ b/kiox.lock @@ -5,7 +5,7 @@ metadata: providers: - alias: orun provider: sourceplane/orun - source: ghcr.io/sourceplane/orun:v1.12.0 - version: v1.12.0 - resolved: ghcr.io/sourceplane/orun@sha256:d27e781c68e531542a1968f524bdcf0471b9777f05e098f151bb02d06ba79f33 - store: 994e4dd192cd8303e300f15146bf67d44c44df7a3befde5f07656a5695d2e961 + source: ghcr.io/sourceplane/orun:v1.26.0 + version: v1.26.0 + resolved: ghcr.io/sourceplane/orun@sha256:ab0e14de662e455092d607d409067773e0bfbb93de52255156f9bbbd624c3349 + store: 1871b401cb8d1c802c33299368cff46f1b77cbc92a802cb85d6e78088e0d932b diff --git a/stacks/stack-tectonic-flare/component.yaml b/stacks/stack-tectonic-flare/component.yaml index cc01ef1..9483fea 100644 --- a/stacks/stack-tectonic-flare/component.yaml +++ b/stacks/stack-tectonic-flare/component.yaml @@ -2,7 +2,7 @@ apiVersion: sourceplane.io/v1 kind: Component metadata: - name: stack-tectonic-flare + name: stack-tectonic spec: type: publish-stack @@ -16,9 +16,9 @@ spec: - name: production profile: release inputs: - registry: ghcr.io/sourceplane/stack-tectonic-flare + registry: ghcr.io/sourceplane/stack-tectonic root: . version: "1.0.0" labels: layer: platform - provider: orun \ No newline at end of file + provider: orun diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md index 661ecd6..8c03a29 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Pages deployment managed with Terraform +Verify static site builds locally and reconcile a Git-backed Cloudflare Pages project with Terraform ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md deleted file mode 100644 index 0916391..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-pages-terraform - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-terraform` looks inside a consumer repository. - -- `examples/docs-site-git` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml deleted file mode 100644 index bef7993..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-git-source - -spec: - type: cloudflare-pages-terraform - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: ../../website - installCommand: npm ci - buildCommand: npm run docs:build - cloudflareBuildCommand: npm ci && npm run docs:build - outputDir: docs-build - rootDir: website - nodeVersion: "20" - terraformDir: . - terraformVersion: 1.9.8 - projectName: example-platform-docs-terraform - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: docs - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf deleted file mode 100644 index de0cd30..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf +++ /dev/null @@ -1,87 +0,0 @@ -terraform { - required_version = ">= 1.6.0" - - required_providers { - cloudflare = { - source = "cloudflare/cloudflare" - version = "~> 4.32" - } - } -} - -variable "account_id" { - description = "Cloudflare account identifier used by the Pages project" - type = string -} - -variable "project_name" { - description = "Cloudflare Pages project name" - type = string -} - -variable "production_branch" { - description = "Git branch used for production deployments" - type = string -} - -variable "repo_owner" { - description = "GitHub owner connected to the Cloudflare Pages project" - type = string -} - -variable "repo_name" { - description = "GitHub repository connected to the Cloudflare Pages project" - type = string -} - -variable "build_command" { - description = "Build command Cloudflare Pages runs for the site" - type = string -} - -variable "destination_dir" { - description = "Directory Cloudflare Pages publishes after the build" - type = string -} - -variable "root_dir" { - description = "Repository-root relative directory Cloudflare Pages builds from" - type = string -} - -resource "cloudflare_pages_project" "docs" { - account_id = var.account_id - name = var.project_name - production_branch = var.production_branch - - source { - type = "github" - - config { - owner = var.repo_owner - repo_name = var.repo_name - production_branch = var.production_branch - deployments_enabled = true - production_deployment_enabled = true - preview_deployment_setting = "all" - pr_comments_enabled = true - } - } - - build_config { - build_caching = true - build_command = var.build_command - destination_dir = var.destination_dir - root_dir = var.root_dir - } -} - -output "pages_project_name" { - value = cloudflare_pages_project.docs.name - description = "Cloudflare Pages project name" -} - -output "pages_subdomain" { - value = cloudflare_pages_project.docs.subdomain - description = "Cloudflare Pages subdomain assigned to the project" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md deleted file mode 100644 index 98f116b..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/deployment-paths.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Deployment Paths ---- - -## Wrangler direct upload {#wrangler-direct-upload} - -The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to -push the generated `docs-build/` directory to a Direct Upload Pages project. - -Key inputs: - -- `siteDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `productionBranch` - -That path is useful when you want deployment to follow the build artifact produced by Gluon. - -## Turbo worker deploy {#turbo-worker-deploy} - -The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and -typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `typecheckCommand` -- `deployCommand` -- `pnpmVersion` - -That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the -real install and build still need to happen from the monorepo root. - -## Turbo Pages direct upload {#turbo-pages-direct-upload} - -The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, -then direct-uploads an app-specific output directory such as `apps/web-console/dist`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `pnpmVersion` - -That path is useful when the Pages app lives under `apps/`, the component manifest should stay next -to the app, and Gluon should still own the final build artifact. - -## Terraform Git source {#terraform-git-source} - -The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a -`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. - -Key inputs: - -- `terraformDir` -- `rootDir` -- `cloudflareBuildCommand` -- `repoOwner` -- `repoName` -- `projectName` - -That path is useful when you want the Pages project itself versioned as infrastructure and let -Cloudflare build from Git after the project is connected. - -## Turbo Pages Terraform {#turbo-pages-terraform} - -The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` -directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform -at an `infra/*` directory that owns the Cloudflare Pages project contract. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `outputDir` -- `destinationDir` -- `rootDir` -- `terraformDir` -- `cloudflareBuildCommand` -- `pnpmVersion` - -That path is useful when platform teams want app-local manifests for discovery and ownership, but -still want the Cloudflare Pages project itself versioned under infrastructure code. - -## Choosing between them - -- Use Wrangler when Gluon should own the build artifact and publish it directly. -- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. -- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md deleted file mode 100644 index d5bc169..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docs/getting-started.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Getting Started ---- - -## Local build - -Run the docs site the same way the compositions do: - -```bash -cd website -npm ci -npm run docs:build -npm run docs:serve -``` - -The production build is written to `website/docs-build/`. - -## Turbo example builds - -The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: - -```bash -corepack enable -pnpm install --no-frozen-lockfile -pnpm turbo run build --filter=@example/web-console -pnpm turbo run typecheck --filter=@example/api-edge -``` - -Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, -`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. - -## Why Docusaurus here - -Docusaurus is a good fit for this sample because it produces a plain static directory while still -exercising a realistic Node-based documentation toolchain. That makes it useful for both: - -- direct upload workflows that publish prebuilt assets -- Git-connected Pages projects that build inside Cloudflare - -## Credentials used in CI - -The repository expects these secrets in GitHub Actions: - -- `CLOUDFLARE_ACCOUNT_ID` -- `CLOUDFLARE_API_TOKEN` - -The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses -the same variables when it needs to plan against or apply Cloudflare resources. - -Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from -the app-local manifest under `apps/`. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js deleted file mode 100644 index edbc568..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/docusaurus.config.js +++ /dev/null @@ -1,81 +0,0 @@ -const config = { - title: 'Example Platform Docs', - tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', - url: 'https://example-platform-docs.pages.dev', - baseUrl: '/', - organizationName: 'sourceplane', - projectName: 'example-platform-repo', - onBrokenLinks: 'throw', - onDuplicateRoutes: 'throw', - markdown: { - hooks: { - onBrokenMarkdownLinks: 'throw', - }, - }, - i18n: { - defaultLocale: 'en', - locales: ['en'], - }, - presets: [ - [ - 'classic', - { - docs: { - path: 'docs', - routeBasePath: '/', - sidebarPath: require.resolve('./sidebars.js'), - }, - blog: false, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, - }, - ], - ], - themeConfig: { - colorMode: { - defaultMode: 'light', - respectPrefersColorScheme: true, - }, - navbar: { - title: 'Example Platform', - items: [ - { - to: '/', - label: 'Docs', - position: 'left', - }, - { - href: 'https://github.com/sourceplane/example-platform-repo', - label: 'GitHub', - position: 'right', - }, - ], - }, - footer: { - style: 'dark', - links: [ - { - title: 'Paths', - items: [ - { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, - { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, - ], - }, - { - title: 'Repo', - items: [ - { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, - { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, - ], - }, - ], - copyright: `Copyright ${new Date().getFullYear()} sourceplane`, - }, - prism: { - additionalLanguages: ['bash', 'json', 'yaml'], - }, - }, -}; - -module.exports = config; diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json deleted file mode 100644 index 2cf01d8..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "example-platform-docs", - "version": "1.0.0", - "private": true, - "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", - "scripts": { - "docs:start": "docusaurus start", - "docs:build": "docusaurus build --out-dir docs-build", - "docs:serve": "docusaurus serve --dir docs-build" - }, - "overrides": { - "webpack": "5.105.4", - "html-webpack-plugin": "5.6.6" - }, - "dependencies": { - "@docusaurus/core": "3.9.2", - "@docusaurus/preset-classic": "3.9.2", - "@mdx-js/react": "3.1.1", - "react": "19.2.4", - "react-dom": "19.2.4" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js deleted file mode 100644 index 2aea2f9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/examples/docs-site-git/website/sidebars.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - docsSidebar: ['intro', 'getting-started', 'deployment-paths'], -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md deleted file mode 100644 index f86cc04..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-pages-terraform - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-pages-terraform` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml deleted file mode 100644 index bef7993..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-terraform/tests/smoke/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-git-source - -spec: - type: cloudflare-pages-terraform - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: ../../website - installCommand: npm ci - buildCommand: npm run docs:build - cloudflareBuildCommand: npm ci && npm run docs:build - outputDir: docs-build - rootDir: website - nodeVersion: "20" - terraformDir: . - terraformVersion: 1.9.8 - projectName: example-platform-docs-terraform - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: docs - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md index 80f43f0..2b1f832 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform +Verify a static app with Turbo locally and reconcile a Git-backed Cloudflare Pages project with Terraform ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md deleted file mode 100644 index b1d6172..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-pages-turbo-terraform - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-turbo-terraform` looks inside a consumer repository. - -- `examples/admin-console-git` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml deleted file mode 100644 index 770db61..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: admin-console-pages-git - -spec: - type: cloudflare-pages-turbo-terraform - domain: platform-ui - subscribe: - environments: - - staging - - production - inputs: - cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console - outputDir: dist - destinationDir: dist - rootDir: . - nodeVersion: "20" - pnpmVersion: "10.12.1" - terraformDir: ../../infra/cloudflare-pages-admin-console - terraformVersion: 1.9.8 - projectName: example-platform-admin-console - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: admin-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json deleted file mode 100644 index e601fe4..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@example/admin-console", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "node ./scripts/build.mjs" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js deleted file mode 100644 index 25c37e6..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/src/app.js +++ /dev/null @@ -1,8 +0,0 @@ -const panel = document.querySelector(".panel"); - -if (panel) { - const stamp = document.createElement("p"); - stamp.className = "timestamp"; - stamp.textContent = "Managed in Cloudflare through Terraform after Gluon planning."; - panel.append(stamp); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc deleted file mode 100644 index e2f68c3..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/apps/admin-console/wrangler.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-admin-console", - "compatibility_date": "2026-04-25", - "pages_build_output_dir": "dist" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf deleted file mode 100644 index f4eb061..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf +++ /dev/null @@ -1,87 +0,0 @@ -terraform { - required_version = ">= 1.6.0" - - required_providers { - cloudflare = { - source = "cloudflare/cloudflare" - version = "~> 4.32" - } - } -} - -variable "account_id" { - description = "Cloudflare account identifier used by the Pages project" - type = string -} - -variable "project_name" { - description = "Cloudflare Pages project name" - type = string -} - -variable "production_branch" { - description = "Git branch used for production deployments" - type = string -} - -variable "repo_owner" { - description = "GitHub owner connected to the Cloudflare Pages project" - type = string -} - -variable "repo_name" { - description = "GitHub repository connected to the Cloudflare Pages project" - type = string -} - -variable "build_command" { - description = "Build command Cloudflare Pages runs for the site" - type = string -} - -variable "destination_dir" { - description = "Directory Cloudflare Pages publishes after the build" - type = string -} - -variable "root_dir" { - description = "Repository-root relative directory Cloudflare Pages builds from" - type = string -} - -resource "cloudflare_pages_project" "admin_console" { - account_id = var.account_id - name = var.project_name - production_branch = var.production_branch - - source { - type = "github" - - config { - owner = var.repo_owner - repo_name = var.repo_name - production_branch = var.production_branch - deployments_enabled = true - production_deployment_enabled = true - preview_deployment_setting = "all" - pr_comments_enabled = true - } - } - - build_config { - build_caching = true - build_command = var.build_command - destination_dir = var.destination_dir - root_dir = var.root_dir - } -} - -output "pages_project_name" { - value = cloudflare_pages_project.admin_console.name - description = "Cloudflare Pages project name" -} - -output "pages_subdomain" { - value = cloudflare_pages_project.admin_console.subdomain - description = "Cloudflare Pages subdomain assigned to the project" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/examples/admin-console-git/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md deleted file mode 100644 index 2362b1e..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-pages-turbo-terraform - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-pages-turbo-terraform` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml deleted file mode 100644 index 770db61..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo-terraform/tests/smoke/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: admin-console-pages-git - -spec: - type: cloudflare-pages-turbo-terraform - domain: platform-ui - subscribe: - environments: - - staging - - production - inputs: - cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console - outputDir: dist - destinationDir: dist - rootDir: . - nodeVersion: "20" - pnpmVersion: "10.12.1" - terraformDir: ../../infra/cloudflare-pages-admin-console - terraformVersion: 1.9.8 - projectName: example-platform-admin-console - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: admin-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md index 388933d..d173e7d 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Pages deployment using Turbo monorepo builds +Build a static app with Turbo and direct-upload it to Cloudflare Pages ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md deleted file mode 100644 index b08e76f..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-pages-turbo - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages-turbo` looks inside a consumer repository. - -- `examples/web-console` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml deleted file mode 100644 index e537dc1..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: web-console-pages - -spec: - type: cloudflare-pages-turbo - domain: platform-ui - subscribe: - environments: - - preview - - staging - - production - inputs: - outputDir: dist - projectName: example-platform-web-console - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: delivery - surface: web-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json deleted file mode 100644 index 40aaaa2..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@example/web-console", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "node ./scripts/build.mjs" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js deleted file mode 100644 index ad59686..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/src/app.js +++ /dev/null @@ -1,8 +0,0 @@ -const panel = document.querySelector(".panel"); - -if (panel) { - const stamp = document.createElement("p"); - stamp.className = "timestamp"; - stamp.textContent = `Build source: apps/web-console at ${new Date().toISOString()}`; - panel.append(stamp); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc deleted file mode 100644 index 67e99e2..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/apps/web-console/wrangler.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-web-console", - "compatibility_date": "2026-04-25", - "pages_build_output_dir": "dist" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/examples/web-console/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md deleted file mode 100644 index 24bf237..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-pages-turbo - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-pages-turbo` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml deleted file mode 100644 index e537dc1..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages-turbo/tests/smoke/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: web-console-pages - -spec: - type: cloudflare-pages-turbo - domain: platform-ui - subscribe: - environments: - - preview - - staging - - production - inputs: - outputDir: dist - projectName: example-platform-web-console - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: delivery - surface: web-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md index d648d97..da7b056 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Pages build, verify, and deploy pipeline +Build static site assets and direct-upload them to Cloudflare Pages with Wrangler ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-pages/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-pages/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md deleted file mode 100644 index 53b3594..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-pages - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-pages` looks inside a consumer repository. - -- `examples/docs-site` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml deleted file mode 100644 index 2a301a5..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-direct-upload - -spec: - type: cloudflare-pages - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: . - installCommand: npm ci - buildCommand: npm run docs:build - outputDir: docs-build - projectName: example-platform-docs-wrangler - nodeVersion: "20" - productionBranch: main - labels: - team: platform - layer: delivery - surface: docs - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md deleted file mode 100644 index 98f116b..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/deployment-paths.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Deployment Paths ---- - -## Wrangler direct upload {#wrangler-direct-upload} - -The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to -push the generated `docs-build/` directory to a Direct Upload Pages project. - -Key inputs: - -- `siteDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `productionBranch` - -That path is useful when you want deployment to follow the build artifact produced by Gluon. - -## Turbo worker deploy {#turbo-worker-deploy} - -The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and -typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `typecheckCommand` -- `deployCommand` -- `pnpmVersion` - -That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the -real install and build still need to happen from the monorepo root. - -## Turbo Pages direct upload {#turbo-pages-direct-upload} - -The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, -then direct-uploads an app-specific output directory such as `apps/web-console/dist`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `pnpmVersion` - -That path is useful when the Pages app lives under `apps/`, the component manifest should stay next -to the app, and Gluon should still own the final build artifact. - -## Terraform Git source {#terraform-git-source} - -The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a -`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. - -Key inputs: - -- `terraformDir` -- `rootDir` -- `cloudflareBuildCommand` -- `repoOwner` -- `repoName` -- `projectName` - -That path is useful when you want the Pages project itself versioned as infrastructure and let -Cloudflare build from Git after the project is connected. - -## Turbo Pages Terraform {#turbo-pages-terraform} - -The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` -directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform -at an `infra/*` directory that owns the Cloudflare Pages project contract. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `outputDir` -- `destinationDir` -- `rootDir` -- `terraformDir` -- `cloudflareBuildCommand` -- `pnpmVersion` - -That path is useful when platform teams want app-local manifests for discovery and ownership, but -still want the Cloudflare Pages project itself versioned under infrastructure code. - -## Choosing between them - -- Use Wrangler when Gluon should own the build artifact and publish it directly. -- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. -- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md deleted file mode 100644 index d5bc169..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docs/getting-started.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Getting Started ---- - -## Local build - -Run the docs site the same way the compositions do: - -```bash -cd website -npm ci -npm run docs:build -npm run docs:serve -``` - -The production build is written to `website/docs-build/`. - -## Turbo example builds - -The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: - -```bash -corepack enable -pnpm install --no-frozen-lockfile -pnpm turbo run build --filter=@example/web-console -pnpm turbo run typecheck --filter=@example/api-edge -``` - -Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, -`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. - -## Why Docusaurus here - -Docusaurus is a good fit for this sample because it produces a plain static directory while still -exercising a realistic Node-based documentation toolchain. That makes it useful for both: - -- direct upload workflows that publish prebuilt assets -- Git-connected Pages projects that build inside Cloudflare - -## Credentials used in CI - -The repository expects these secrets in GitHub Actions: - -- `CLOUDFLARE_ACCOUNT_ID` -- `CLOUDFLARE_API_TOKEN` - -The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses -the same variables when it needs to plan against or apply Cloudflare resources. - -Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from -the app-local manifest under `apps/`. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js deleted file mode 100644 index edbc568..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/docusaurus.config.js +++ /dev/null @@ -1,81 +0,0 @@ -const config = { - title: 'Example Platform Docs', - tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', - url: 'https://example-platform-docs.pages.dev', - baseUrl: '/', - organizationName: 'sourceplane', - projectName: 'example-platform-repo', - onBrokenLinks: 'throw', - onDuplicateRoutes: 'throw', - markdown: { - hooks: { - onBrokenMarkdownLinks: 'throw', - }, - }, - i18n: { - defaultLocale: 'en', - locales: ['en'], - }, - presets: [ - [ - 'classic', - { - docs: { - path: 'docs', - routeBasePath: '/', - sidebarPath: require.resolve('./sidebars.js'), - }, - blog: false, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, - }, - ], - ], - themeConfig: { - colorMode: { - defaultMode: 'light', - respectPrefersColorScheme: true, - }, - navbar: { - title: 'Example Platform', - items: [ - { - to: '/', - label: 'Docs', - position: 'left', - }, - { - href: 'https://github.com/sourceplane/example-platform-repo', - label: 'GitHub', - position: 'right', - }, - ], - }, - footer: { - style: 'dark', - links: [ - { - title: 'Paths', - items: [ - { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, - { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, - ], - }, - { - title: 'Repo', - items: [ - { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, - { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, - ], - }, - ], - copyright: `Copyright ${new Date().getFullYear()} sourceplane`, - }, - prism: { - additionalLanguages: ['bash', 'json', 'yaml'], - }, - }, -}; - -module.exports = config; diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json deleted file mode 100644 index 2cf01d8..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "example-platform-docs", - "version": "1.0.0", - "private": true, - "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", - "scripts": { - "docs:start": "docusaurus start", - "docs:build": "docusaurus build --out-dir docs-build", - "docs:serve": "docusaurus serve --dir docs-build" - }, - "overrides": { - "webpack": "5.105.4", - "html-webpack-plugin": "5.6.6" - }, - "dependencies": { - "@docusaurus/core": "3.9.2", - "@docusaurus/preset-classic": "3.9.2", - "@mdx-js/react": "3.1.1", - "react": "19.2.4", - "react-dom": "19.2.4" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js deleted file mode 100644 index 2aea2f9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/examples/docs-site/website/sidebars.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - docsSidebar: ['intro', 'getting-started', 'deployment-paths'], -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md deleted file mode 100644 index f9cf262..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-pages - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-pages` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml deleted file mode 100644 index 2a301a5..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-pages/tests/smoke/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-direct-upload - -spec: - type: cloudflare-pages - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: . - installCommand: npm ci - buildCommand: npm run docs:build - outputDir: docs-build - projectName: example-platform-docs-wrangler - nodeVersion: "20" - productionBranch: main - labels: - team: platform - layer: delivery - surface: docs - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md index 00cbc79..b6b5e5d 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Worker with Turborepo build, verify, and deploy pipeline +Verify a Cloudflare Worker app and deploy it from the production branch ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md deleted file mode 100644 index 7cc7512..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-worker-turbo - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-worker-turbo` looks inside a consumer repository. - -- `examples/api-edge` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml deleted file mode 100644 index 63644a4..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: api-edge-worker - -spec: - type: cloudflare-worker-turbo - domain: platform-runtime - subscribe: - environments: - - dev - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - # Optional: specify wrangler config file explicitly - # wranglerConfig: wrangler.jsonc - # Optional: run D1 migrations before deploy - # migrationCommand: "pnpm exec wrangler d1 migrations apply my-db --remote" - # Optional: provision resources before deploy - # preDeployCommand: "./scripts/bootstrap-cloudflare.sh" - # Optional: verify live endpoint after deploy - # smokeCommand: "curl -sf https://my-api.workers.dev/health" - labels: - team: platform - layer: runtime - surface: api - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json deleted file mode 100644 index 392629a..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@example/api-edge", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit", - "deploy": "wrangler deploy --config wrangler.jsonc" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts deleted file mode 100644 index 371079f..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface Env { - API_NAME?: string; -} - -export default { - async fetch(request: Request, env: Env): Promise { - const url = new URL(request.url); - - return Response.json({ - ok: true, - path: url.pathname, - service: env.API_NAME ?? "api-edge", - }); - }, -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc deleted file mode 100644 index 637ddf9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/apps/api-edge/wrangler.jsonc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-api-edge", - "main": "src/index.ts", - "compatibility_date": "2026-04-25", - "workers_dev": true, - "observability": { - "enabled": true - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/examples/api-edge/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md deleted file mode 100644 index 5322964..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-worker-turbo - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker-turbo` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml deleted file mode 100644 index f14d397..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker-turbo/tests/smoke/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: api-edge-worker - -spec: - type: cloudflare-worker-turbo - domain: platform-runtime - subscribe: - environments: - - dev - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: runtime - surface: api - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md index 988cc96..8408509 100644 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md +++ b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/README.md @@ -4,7 +4,7 @@ ## Purpose -Cloudflare Worker build, verify, and deploy pipeline +Verify a Cloudflare Worker app and deploy it from the production branch ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/compositions.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/cloudflare-worker/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/cloudflare-worker/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md deleted file mode 100644 index 6ce50ab..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for cloudflare-worker - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `cloudflare-worker` looks inside a consumer repository. - -- `examples/identity-worker` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml deleted file mode 100644 index 01b1240..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/component.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-worker - -spec: - type: cloudflare-worker - domain: platform-identity - subscribe: - environments: - - dev - - staging - - production - inputs: - installCommand: pnpm install --no-frozen-lockfile - buildCommand: pnpm exec turbo run build --filter=./ - typecheckCommand: pnpm exec turbo run typecheck --filter=./ - deployCommand: pnpm run deploy - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: runtime - surface: identity - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json deleted file mode 100644 index 9e50779..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@example/identity-worker", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit", - "deploy": "wrangler deploy --config wrangler.jsonc" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts deleted file mode 100644 index 4476079..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/src/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -interface Env { - TENANT_HEADER?: string; -} - -export default { - async fetch(request: Request, env: Env): Promise { - const tenantHeader = env.TENANT_HEADER ?? "x-tenant-id"; - const tenantId = request.headers.get(tenantHeader) ?? "anonymous"; - - return Response.json({ - ok: true, - service: "identity-worker", - tenantId, - }); - }, -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc deleted file mode 100644 index b6085e7..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/apps/identity-worker/wrangler.jsonc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-identity-worker", - "main": "src/index.ts", - "compatibility_date": "2026-04-25", - "workers_dev": true, - "observability": { - "enabled": true - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/examples/identity-worker/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md deleted file mode 100644 index 30b3661..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for cloudflare-worker - -These files provide contract or smoke fixtures that CI can inspect for `cloudflare-worker` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml deleted file mode 100644 index 01b1240..0000000 --- a/stacks/stack-tectonic-flare/compositions/cloudflare-worker/tests/smoke/component.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-worker - -spec: - type: cloudflare-worker - domain: platform-identity - subscribe: - environments: - - dev - - staging - - production - inputs: - installCommand: pnpm install --no-frozen-lockfile - buildCommand: pnpm exec turbo run build --filter=./ - typecheckCommand: pnpm exec turbo run typecheck --filter=./ - deployCommand: pnpm run deploy - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: runtime - surface: identity - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/README.md b/stacks/stack-tectonic-flare/compositions/examples/README.md deleted file mode 100644 index ad03279..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for workspace - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `workspace` looks inside a consumer repository. - -- `examples/provider-smoke` diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml deleted file mode 100644 index 770db61..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: admin-console-pages-git - -spec: - type: cloudflare-pages-turbo-terraform - domain: platform-ui - subscribe: - environments: - - staging - - production - inputs: - cloudflareBuildCommand: corepack enable && pnpm turbo run build --filter=@example/admin-console - outputDir: dist - destinationDir: dist - rootDir: . - nodeVersion: "20" - pnpmVersion: "10.12.1" - terraformDir: ../../infra/cloudflare-pages-admin-console - terraformVersion: 1.9.8 - projectName: example-platform-admin-console - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: admin-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json deleted file mode 100644 index e601fe4..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@example/admin-console", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "node ./scripts/build.mjs" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js deleted file mode 100644 index 25c37e6..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/src/app.js +++ /dev/null @@ -1,8 +0,0 @@ -const panel = document.querySelector(".panel"); - -if (panel) { - const stamp = document.createElement("p"); - stamp.className = "timestamp"; - stamp.textContent = "Managed in Cloudflare through Terraform after Gluon planning."; - panel.append(stamp); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc deleted file mode 100644 index e2f68c3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/apps/admin-console/wrangler.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-admin-console", - "compatibility_date": "2026-04-25", - "pages_build_output_dir": "dist" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf deleted file mode 100644 index f4eb061..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/infra/cloudflare-pages-admin-console/main.tf +++ /dev/null @@ -1,87 +0,0 @@ -terraform { - required_version = ">= 1.6.0" - - required_providers { - cloudflare = { - source = "cloudflare/cloudflare" - version = "~> 4.32" - } - } -} - -variable "account_id" { - description = "Cloudflare account identifier used by the Pages project" - type = string -} - -variable "project_name" { - description = "Cloudflare Pages project name" - type = string -} - -variable "production_branch" { - description = "Git branch used for production deployments" - type = string -} - -variable "repo_owner" { - description = "GitHub owner connected to the Cloudflare Pages project" - type = string -} - -variable "repo_name" { - description = "GitHub repository connected to the Cloudflare Pages project" - type = string -} - -variable "build_command" { - description = "Build command Cloudflare Pages runs for the site" - type = string -} - -variable "destination_dir" { - description = "Directory Cloudflare Pages publishes after the build" - type = string -} - -variable "root_dir" { - description = "Repository-root relative directory Cloudflare Pages builds from" - type = string -} - -resource "cloudflare_pages_project" "admin_console" { - account_id = var.account_id - name = var.project_name - production_branch = var.production_branch - - source { - type = "github" - - config { - owner = var.repo_owner - repo_name = var.repo_name - production_branch = var.production_branch - deployments_enabled = true - production_deployment_enabled = true - preview_deployment_setting = "all" - pr_comments_enabled = true - } - } - - build_config { - build_caching = true - build_command = var.build_command - destination_dir = var.destination_dir - root_dir = var.root_dir - } -} - -output "pages_project_name" { - value = cloudflare_pages_project.admin_console.name - description = "Cloudflare Pages project name" -} - -output "pages_subdomain" { - value = cloudflare_pages_project.admin_console.subdomain - description = "Cloudflare Pages subdomain assigned to the project" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/admin-console-git/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml deleted file mode 100644 index 63644a4..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: api-edge-worker - -spec: - type: cloudflare-worker-turbo - domain: platform-runtime - subscribe: - environments: - - dev - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - # Optional: specify wrangler config file explicitly - # wranglerConfig: wrangler.jsonc - # Optional: run D1 migrations before deploy - # migrationCommand: "pnpm exec wrangler d1 migrations apply my-db --remote" - # Optional: provision resources before deploy - # preDeployCommand: "./scripts/bootstrap-cloudflare.sh" - # Optional: verify live endpoint after deploy - # smokeCommand: "curl -sf https://my-api.workers.dev/health" - labels: - team: platform - layer: runtime - surface: api - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json deleted file mode 100644 index 392629a..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@example/api-edge", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit", - "deploy": "wrangler deploy --config wrangler.jsonc" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts deleted file mode 100644 index 371079f..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface Env { - API_NAME?: string; -} - -export default { - async fetch(request: Request, env: Env): Promise { - const url = new URL(request.url); - - return Response.json({ - ok: true, - path: url.pathname, - service: env.API_NAME ?? "api-edge", - }); - }, -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc deleted file mode 100644 index 637ddf9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/apps/api-edge/wrangler.jsonc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-api-edge", - "main": "src/index.ts", - "compatibility_date": "2026-04-25", - "workers_dev": true, - "observability": { - "enabled": true - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/api-edge/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml deleted file mode 100644 index bef7993..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/component.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-git-source - -spec: - type: cloudflare-pages-terraform - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: ../../website - installCommand: npm ci - buildCommand: npm run docs:build - cloudflareBuildCommand: npm ci && npm run docs:build - outputDir: docs-build - rootDir: website - nodeVersion: "20" - terraformDir: . - terraformVersion: 1.9.8 - projectName: example-platform-docs-terraform - productionBranch: main - repoOwner: sourceplane - repoName: example-platform-repo - labels: - team: platform - layer: foundation - surface: docs - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf deleted file mode 100644 index de0cd30..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/infra/cloudflare-pages-terraform/main.tf +++ /dev/null @@ -1,87 +0,0 @@ -terraform { - required_version = ">= 1.6.0" - - required_providers { - cloudflare = { - source = "cloudflare/cloudflare" - version = "~> 4.32" - } - } -} - -variable "account_id" { - description = "Cloudflare account identifier used by the Pages project" - type = string -} - -variable "project_name" { - description = "Cloudflare Pages project name" - type = string -} - -variable "production_branch" { - description = "Git branch used for production deployments" - type = string -} - -variable "repo_owner" { - description = "GitHub owner connected to the Cloudflare Pages project" - type = string -} - -variable "repo_name" { - description = "GitHub repository connected to the Cloudflare Pages project" - type = string -} - -variable "build_command" { - description = "Build command Cloudflare Pages runs for the site" - type = string -} - -variable "destination_dir" { - description = "Directory Cloudflare Pages publishes after the build" - type = string -} - -variable "root_dir" { - description = "Repository-root relative directory Cloudflare Pages builds from" - type = string -} - -resource "cloudflare_pages_project" "docs" { - account_id = var.account_id - name = var.project_name - production_branch = var.production_branch - - source { - type = "github" - - config { - owner = var.repo_owner - repo_name = var.repo_name - production_branch = var.production_branch - deployments_enabled = true - production_deployment_enabled = true - preview_deployment_setting = "all" - pr_comments_enabled = true - } - } - - build_config { - build_caching = true - build_command = var.build_command - destination_dir = var.destination_dir - root_dir = var.root_dir - } -} - -output "pages_project_name" { - value = cloudflare_pages_project.docs.name - description = "Cloudflare Pages project name" -} - -output "pages_subdomain" { - value = cloudflare_pages_project.docs.subdomain - description = "Cloudflare Pages subdomain assigned to the project" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md deleted file mode 100644 index 98f116b..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/deployment-paths.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Deployment Paths ---- - -## Wrangler direct upload {#wrangler-direct-upload} - -The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to -push the generated `docs-build/` directory to a Direct Upload Pages project. - -Key inputs: - -- `siteDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `productionBranch` - -That path is useful when you want deployment to follow the build artifact produced by Gluon. - -## Turbo worker deploy {#turbo-worker-deploy} - -The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and -typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `typecheckCommand` -- `deployCommand` -- `pnpmVersion` - -That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the -real install and build still need to happen from the monorepo root. - -## Turbo Pages direct upload {#turbo-pages-direct-upload} - -The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, -then direct-uploads an app-specific output directory such as `apps/web-console/dist`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `pnpmVersion` - -That path is useful when the Pages app lives under `apps/`, the component manifest should stay next -to the app, and Gluon should still own the final build artifact. - -## Terraform Git source {#terraform-git-source} - -The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a -`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. - -Key inputs: - -- `terraformDir` -- `rootDir` -- `cloudflareBuildCommand` -- `repoOwner` -- `repoName` -- `projectName` - -That path is useful when you want the Pages project itself versioned as infrastructure and let -Cloudflare build from Git after the project is connected. - -## Turbo Pages Terraform {#turbo-pages-terraform} - -The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` -directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform -at an `infra/*` directory that owns the Cloudflare Pages project contract. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `outputDir` -- `destinationDir` -- `rootDir` -- `terraformDir` -- `cloudflareBuildCommand` -- `pnpmVersion` - -That path is useful when platform teams want app-local manifests for discovery and ownership, but -still want the Cloudflare Pages project itself versioned under infrastructure code. - -## Choosing between them - -- Use Wrangler when Gluon should own the build artifact and publish it directly. -- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. -- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md deleted file mode 100644 index d5bc169..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docs/getting-started.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Getting Started ---- - -## Local build - -Run the docs site the same way the compositions do: - -```bash -cd website -npm ci -npm run docs:build -npm run docs:serve -``` - -The production build is written to `website/docs-build/`. - -## Turbo example builds - -The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: - -```bash -corepack enable -pnpm install --no-frozen-lockfile -pnpm turbo run build --filter=@example/web-console -pnpm turbo run typecheck --filter=@example/api-edge -``` - -Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, -`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. - -## Why Docusaurus here - -Docusaurus is a good fit for this sample because it produces a plain static directory while still -exercising a realistic Node-based documentation toolchain. That makes it useful for both: - -- direct upload workflows that publish prebuilt assets -- Git-connected Pages projects that build inside Cloudflare - -## Credentials used in CI - -The repository expects these secrets in GitHub Actions: - -- `CLOUDFLARE_ACCOUNT_ID` -- `CLOUDFLARE_API_TOKEN` - -The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses -the same variables when it needs to plan against or apply Cloudflare resources. - -Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from -the app-local manifest under `apps/`. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js deleted file mode 100644 index edbc568..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/docusaurus.config.js +++ /dev/null @@ -1,81 +0,0 @@ -const config = { - title: 'Example Platform Docs', - tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', - url: 'https://example-platform-docs.pages.dev', - baseUrl: '/', - organizationName: 'sourceplane', - projectName: 'example-platform-repo', - onBrokenLinks: 'throw', - onDuplicateRoutes: 'throw', - markdown: { - hooks: { - onBrokenMarkdownLinks: 'throw', - }, - }, - i18n: { - defaultLocale: 'en', - locales: ['en'], - }, - presets: [ - [ - 'classic', - { - docs: { - path: 'docs', - routeBasePath: '/', - sidebarPath: require.resolve('./sidebars.js'), - }, - blog: false, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, - }, - ], - ], - themeConfig: { - colorMode: { - defaultMode: 'light', - respectPrefersColorScheme: true, - }, - navbar: { - title: 'Example Platform', - items: [ - { - to: '/', - label: 'Docs', - position: 'left', - }, - { - href: 'https://github.com/sourceplane/example-platform-repo', - label: 'GitHub', - position: 'right', - }, - ], - }, - footer: { - style: 'dark', - links: [ - { - title: 'Paths', - items: [ - { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, - { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, - ], - }, - { - title: 'Repo', - items: [ - { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, - { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, - ], - }, - ], - copyright: `Copyright ${new Date().getFullYear()} sourceplane`, - }, - prism: { - additionalLanguages: ['bash', 'json', 'yaml'], - }, - }, -}; - -module.exports = config; diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json deleted file mode 100644 index 2cf01d8..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "example-platform-docs", - "version": "1.0.0", - "private": true, - "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", - "scripts": { - "docs:start": "docusaurus start", - "docs:build": "docusaurus build --out-dir docs-build", - "docs:serve": "docusaurus serve --dir docs-build" - }, - "overrides": { - "webpack": "5.105.4", - "html-webpack-plugin": "5.6.6" - }, - "dependencies": { - "@docusaurus/core": "3.9.2", - "@docusaurus/preset-classic": "3.9.2", - "@mdx-js/react": "3.1.1", - "react": "19.2.4", - "react-dom": "19.2.4" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js deleted file mode 100644 index 2aea2f9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site-git/website/sidebars.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - docsSidebar: ['intro', 'getting-started', 'deployment-paths'], -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml deleted file mode 100644 index 2a301a5..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: docs-site-direct-upload - -spec: - type: cloudflare-pages - domain: platform-docs - subscribe: - environments: - - production - inputs: - siteDir: . - installCommand: npm ci - buildCommand: npm run docs:build - outputDir: docs-build - projectName: example-platform-docs-wrangler - nodeVersion: "20" - productionBranch: main - labels: - team: platform - layer: delivery - surface: docs - runtime: cloudflare diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md deleted file mode 100644 index 98f116b..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/deployment-paths.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Deployment Paths ---- - -## Wrangler direct upload {#wrangler-direct-upload} - -The `cloudflare-pages` composition builds the site in CI and then uses `wrangler pages deploy` to -push the generated `docs-build/` directory to a Direct Upload Pages project. - -Key inputs: - -- `siteDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `productionBranch` - -That path is useful when you want deployment to follow the build artifact produced by Gluon. - -## Turbo worker deploy {#turbo-worker-deploy} - -The `cloudflare-worker-turbo` composition installs pnpm, runs workspace-level install, build, and -typecheck commands, then uses the app-local Wrangler config to publish a Worker from `apps/*`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `typecheckCommand` -- `deployCommand` -- `pnpmVersion` - -That path is useful when each Worker app owns its own `component.yaml` and `wrangler.jsonc`, but the -real install and build still need to happen from the monorepo root. - -## Turbo Pages direct upload {#turbo-pages-direct-upload} - -The `cloudflare-pages-turbo` composition follows the same workspace-root install and build pattern, -then direct-uploads an app-specific output directory such as `apps/web-console/dist`. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `installCommand` -- `buildCommand` -- `outputDir` -- `projectName` -- `pnpmVersion` - -That path is useful when the Pages app lives under `apps/`, the component manifest should stay next -to the app, and Gluon should still own the final build artifact. - -## Terraform Git source {#terraform-git-source} - -The `cloudflare-pages-terraform` composition validates the same local site build, then reconciles a -`cloudflare_pages_project` resource that points Cloudflare Pages at this GitHub repository. - -Key inputs: - -- `terraformDir` -- `rootDir` -- `cloudflareBuildCommand` -- `repoOwner` -- `repoName` -- `projectName` - -That path is useful when you want the Pages project itself versioned as infrastructure and let -Cloudflare build from Git after the project is connected. - -## Turbo Pages Terraform {#turbo-pages-terraform} - -The `cloudflare-pages-turbo-terraform` composition keeps the component manifest inside an `apps/*` -directory, performs the local pnpm and Turbo build from the workspace root, and then points Terraform -at an `infra/*` directory that owns the Cloudflare Pages project contract. - -Key inputs: - -- `workspaceDir` -- `appDir` -- `outputDir` -- `destinationDir` -- `rootDir` -- `terraformDir` -- `cloudflareBuildCommand` -- `pnpmVersion` - -That path is useful when platform teams want app-local manifests for discovery and ownership, but -still want the Cloudflare Pages project itself versioned under infrastructure code. - -## Choosing between them - -- Use Wrangler when Gluon should own the build artifact and publish it directly. -- Use Terraform when Gluon should manage the Pages project contract and let Cloudflare own the Git-triggered deploys. -- Use the Turbo variants when the reusable manifest should live inside an app or package directory while the install and build still need the monorepo root. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md deleted file mode 100644 index d5bc169..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docs/getting-started.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Getting Started ---- - -## Local build - -Run the docs site the same way the compositions do: - -```bash -cd website -npm ci -npm run docs:build -npm run docs:serve -``` - -The production build is written to `website/docs-build/`. - -## Turbo example builds - -The new `apps/` and `packages/` examples use pnpm and Turbo from the monorepo root: - -```bash -corepack enable -pnpm install --no-frozen-lockfile -pnpm turbo run build --filter=@example/web-console -pnpm turbo run typecheck --filter=@example/api-edge -``` - -Those commands mirror the inputs used by the `cloudflare-worker-turbo`, `cloudflare-pages-turbo`, -`cloudflare-pages-turbo-terraform`, and `turbo-package` compositions. - -## Why Docusaurus here - -Docusaurus is a good fit for this sample because it produces a plain static directory while still -exercising a realistic Node-based documentation toolchain. That makes it useful for both: - -- direct upload workflows that publish prebuilt assets -- Git-connected Pages projects that build inside Cloudflare - -## Credentials used in CI - -The repository expects these secrets in GitHub Actions: - -- `CLOUDFLARE_ACCOUNT_ID` -- `CLOUDFLARE_API_TOKEN` - -The direct-upload job only uses them when it is allowed to publish. The Terraform-backed job uses -the same variables when it needs to plan against or apply Cloudflare resources. - -Worker deploys use the same Cloudflare credentials because Wrangler creates the worker directly from -the app-local manifest under `apps/`. \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js deleted file mode 100644 index edbc568..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/docusaurus.config.js +++ /dev/null @@ -1,81 +0,0 @@ -const config = { - title: 'Example Platform Docs', - tagline: 'Static docs deploy paths for Cloudflare Pages through Gluon compositions', - url: 'https://example-platform-docs.pages.dev', - baseUrl: '/', - organizationName: 'sourceplane', - projectName: 'example-platform-repo', - onBrokenLinks: 'throw', - onDuplicateRoutes: 'throw', - markdown: { - hooks: { - onBrokenMarkdownLinks: 'throw', - }, - }, - i18n: { - defaultLocale: 'en', - locales: ['en'], - }, - presets: [ - [ - 'classic', - { - docs: { - path: 'docs', - routeBasePath: '/', - sidebarPath: require.resolve('./sidebars.js'), - }, - blog: false, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, - }, - ], - ], - themeConfig: { - colorMode: { - defaultMode: 'light', - respectPrefersColorScheme: true, - }, - navbar: { - title: 'Example Platform', - items: [ - { - to: '/', - label: 'Docs', - position: 'left', - }, - { - href: 'https://github.com/sourceplane/example-platform-repo', - label: 'GitHub', - position: 'right', - }, - ], - }, - footer: { - style: 'dark', - links: [ - { - title: 'Paths', - items: [ - { label: 'Wrangler Direct Upload', to: '/deployment-paths#wrangler-direct-upload' }, - { label: 'Terraform Git Source', to: '/deployment-paths#terraform-git-source' }, - ], - }, - { - title: 'Repo', - items: [ - { label: 'Intent', href: 'https://github.com/sourceplane/example-platform-repo/blob/main/intent.yaml' }, - { label: 'Compositions', href: 'https://github.com/sourceplane/example-platform-repo/tree/main/compositions' }, - ], - }, - ], - copyright: `Copyright ${new Date().getFullYear()} sourceplane`, - }, - prism: { - additionalLanguages: ['bash', 'json', 'yaml'], - }, - }, -}; - -module.exports = config; diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json deleted file mode 100644 index 2cf01d8..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "example-platform-docs", - "version": "1.0.0", - "private": true, - "description": "Minimal Docusaurus site used to verify Cloudflare Pages compositions in example-platform-repo", - "scripts": { - "docs:start": "docusaurus start", - "docs:build": "docusaurus build --out-dir docs-build", - "docs:serve": "docusaurus serve --dir docs-build" - }, - "overrides": { - "webpack": "5.105.4", - "html-webpack-plugin": "5.6.6" - }, - "dependencies": { - "@docusaurus/core": "3.9.2", - "@docusaurus/preset-classic": "3.9.2", - "@mdx-js/react": "3.1.1", - "react": "19.2.4", - "react-dom": "19.2.4" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js b/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js deleted file mode 100644 index 2aea2f9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/docs-site/website/sidebars.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - docsSidebar: ['intro', 'getting-started', 'deployment-paths'], -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml deleted file mode 100644 index b7574e4..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-chart - -spec: - type: helm-chart - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: . - valuesFile: ../../../deploy/hello-deploy/values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: identity-portal-values \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-chart/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml deleted file mode 100644 index cddc642..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-values - -spec: - type: helm-values - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: ../../charts/hello-chart/chart - valuesFile: values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: network-foundation \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-portal-values/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml deleted file mode 100644 index 01b1240..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/component.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-worker - -spec: - type: cloudflare-worker - domain: platform-identity - subscribe: - environments: - - dev - - staging - - production - inputs: - installCommand: pnpm install --no-frozen-lockfile - buildCommand: pnpm exec turbo run build --filter=./ - typecheckCommand: pnpm exec turbo run typecheck --filter=./ - deployCommand: pnpm run deploy - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: runtime - surface: identity - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json deleted file mode 100644 index 9e50779..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@example/identity-worker", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit", - "deploy": "wrangler deploy --config wrangler.jsonc" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts deleted file mode 100644 index 4476079..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/src/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -interface Env { - TENANT_HEADER?: string; -} - -export default { - async fetch(request: Request, env: Env): Promise { - const tenantHeader = env.TENANT_HEADER ?? "x-tenant-id"; - const tenantId = request.headers.get(tenantHeader) ?? "anonymous"; - - return Response.json({ - ok: true, - service: "identity-worker", - tenantId, - }); - }, -}; \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc deleted file mode 100644 index b6085e7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/apps/identity-worker/wrangler.jsonc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-identity-worker", - "main": "src/index.ts", - "compatibility_date": "2026-04-25", - "workers_dev": true, - "observability": { - "enabled": true - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/identity-worker/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml deleted file mode 100644 index d63d128..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/component.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: network-foundation - -spec: - type: terraform - domain: platform-foundation - subscribe: - environments: - - development - - staging - - production - inputs: - stackName: network-foundation - terraformDir: . - terraformVersion: 1.9.8 - labels: - team: platform - layer: foundation - stack: network \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf b/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf deleted file mode 100644 index dcc30c2..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/network-foundation/infra/infra-1/main.tf +++ /dev/null @@ -1,21 +0,0 @@ -terraform { - required_version = ">= 1.6.0" -} - -locals { - stack_name = "network-foundation" - owner = "platform" - environment = "shared" -} - -output "stack_name" { - value = local.stack_name -} - -output "owner" { - value = local.owner -} - -output "environment" { - value = local.environment -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml deleted file mode 100644 index a2bcd94..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: platform-sdk - -spec: - type: turbo-package - domain: platform-packages - subscribe: - environments: - - dev - - development - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - labels: - team: platform - layer: shared - surface: sdk - runtime: node \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json deleted file mode 100644 index 3951719..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "@example/sdk", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts deleted file mode 100644 index e3959e4..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/src/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function createPlatformClient(baseUrl: string): string { - return new URL("/v1", baseUrl).toString(); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/packages/sdk/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/platform-sdk/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml deleted file mode 100644 index 453169f..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: provider-smoke - -spec: - type: workspace - domain: platform-foundation - subscribe: - environments: - - development - - staging - inputs: - chartPath: charts/hello-chart/chart - valuesFile: deploy/hello-deploy/values.yaml - kustomizeDir: smoke/kustomize - terraformDir: smoke/terraform - workflowFile: smoke/provider-smoke.yaml - labels: - team: platform - layer: foundation - surface: provider-smoke diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml deleted file mode 100644 index e7328d3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/configmap.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: workspace-provider-smoke -data: - source: kustomize \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml deleted file mode 100644 index 490c6c9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/kustomize/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - configmap.yaml \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml deleted file mode 100644 index b52ad9b..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/provider-smoke.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: torkflow/v1 -kind: Workflow -metadata: - name: provider-smoke - id: provider-smoke -spec: - maxParallelSteps: 1 - steps: - - name: Summarize_Intent - actionRef: core.js - parameters: - script: "({ message: 'provider-native dry-run flow' })" - outboundEdges: - - nextStepName: Print_Result - - - name: Print_Result - actionRef: core.stdout - parameters: - title: Provider Smoke - format: text - payload: - message: "{{ Steps.Summarize_Intent.message }}" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf b/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf deleted file mode 100644 index cee63b0..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/provider-smoke/smoke/terraform/main.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_version = ">= 1.6.0" -} - -locals { - smoke_message = "workspace-provider-smoke" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml deleted file mode 100644 index e537dc1..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: web-console-pages - -spec: - type: cloudflare-pages-turbo - domain: platform-ui - subscribe: - environments: - - preview - - staging - - production - inputs: - outputDir: dist - projectName: example-platform-web-console - nodeVersion: "20" - pnpmVersion: "10.12.1" - productionBranch: main - labels: - team: platform - layer: delivery - surface: web-console - runtime: cloudflare \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json deleted file mode 100644 index 40aaaa2..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@example/web-console", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "node ./scripts/build.mjs" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js deleted file mode 100644 index ad59686..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/src/app.js +++ /dev/null @@ -1,8 +0,0 @@ -const panel = document.querySelector(".panel"); - -if (panel) { - const stamp = document.createElement("p"); - stamp.className = "timestamp"; - stamp.textContent = `Build source: apps/web-console at ${new Date().toISOString()}`; - panel.append(stamp); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc b/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc deleted file mode 100644 index 67e99e2..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/apps/web-console/wrangler.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../node_modules/wrangler/config-schema.json", - "name": "example-platform-web-console", - "compatibility_date": "2026-04-25", - "pages_build_output_dir": "dist" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/package.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json b/stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/examples/web-console/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/README.md b/stacks/stack-tectonic-flare/compositions/helm-chart/README.md deleted file mode 100644 index e8fa4fd..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for helm-chart - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `helm-chart` looks inside a consumer repository. - -- `examples/identity-portal-chart` diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml deleted file mode 100644 index b7574e4..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-chart - -spec: - type: helm-chart - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: . - valuesFile: ../../../deploy/hello-deploy/values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: identity-portal-values \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/identity-portal-chart/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml deleted file mode 100644 index b7574e4..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-chart/tests/smoke/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-chart - -spec: - type: helm-chart - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: . - valuesFile: ../../../deploy/hello-deploy/values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: identity-portal-values \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/README.md b/stacks/stack-tectonic-flare/compositions/helm-values/README.md deleted file mode 100644 index 7788840..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for helm-values - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `helm-values` looks inside a consumer repository. - -- `examples/identity-portal-values` diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml deleted file mode 100644 index cddc642..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-values - -spec: - type: helm-values - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: ../../charts/hello-chart/chart - valuesFile: values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: network-foundation \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/identity-portal-values/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml deleted file mode 100644 index cddc642..0000000 --- a/stacks/stack-tectonic-flare/compositions/helm-values/tests/smoke/component.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: identity-portal-values - -spec: - type: helm-values - domain: customer-identity - subscribe: - environments: - - development - - staging - inputs: - chartPath: ../../charts/hello-chart/chart - valuesFile: values.yaml - releaseName: identity-portal - helmVersion: v3.15.4 - labels: - team: platform - layer: delivery - domain: identity - release: identity-portal - dependsOn: - - component: network-foundation \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/README.md index 4e8349b..8f30510 100644 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/README.md +++ b/stacks/stack-tectonic-flare/compositions/publish-stack/README.md @@ -4,26 +4,34 @@ ## Purpose -Publish an Orun stack to an OCI registry with dry-run validation +Publish an Orun stack to an OCI registry. Runs `orun publish --dry-run` on every pull request and performs the real publish on release. ## Contract - **Type:** `publish-stack` - **Path:** `compositions/publish-stack` -- **Definition:** `compositions.yaml` +- **Definition:** `composition.yaml` -## Example fixtures +## Profiles -These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. +| Profile | Description | +|-----------|--------------------------------------------------| +| `dry-run` | PR validation — runs `orun publish --dry-run` | +| `verify` | Staging validation — dry-run without publishing | +| `release` | Production — dry-run + real publish to registry | -- `examples/component.yaml` -- `examples/config.yaml` +## Inputs -## Test fixtures +| Input | Required | Description | +|------------|----------|-----------------------------------------------------------| +| `registry` | yes | OCI registry base URL, e.g. `ghcr.io/org/stack-name` | +| `version` | yes | Default version; overridden at runtime by `STACK_VERSION` | +| `root` | no | Root directory of the stack (default `.`) | -- `tests/smoke` -- `tests/test.yaml` +## Example fixtures -## Verification +- `examples/` -`./scripts/verify-composition.sh publish-stack` checks that this composition keeps its contract, fixture, and generated-doc scaffolding intact. +## Test fixtures + +- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/compositions.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/publish-stack/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/publish-stack/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md deleted file mode 100644 index 22857d4..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Examples for publish-stack - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `publish-stack` looks inside a consumer repository. - -- `examples/component.yaml` -- `examples/config.yaml` diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml deleted file mode 100644 index 1c4afb3..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/component.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component -metadata: - name: publish-stack-example -spec: - type: publish-stack diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml deleted file mode 100644 index 9bc5eb3..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/examples/config.yaml +++ /dev/null @@ -1 +0,0 @@ -example configuration diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md deleted file mode 100644 index 3848145..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Tests for publish-stack - -These files provide contract or smoke fixtures that CI can inspect for `publish-stack` without requiring a full consumer repository checkout. - -- `tests/smoke` -- `tests/test.yaml` diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml deleted file mode 100644 index c7e6ba6..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/smoke/component.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component -metadata: - name: publish-stack-test -spec: - type: publish-stack diff --git a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml b/stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml deleted file mode 100644 index 16b14f5..0000000 --- a/stacks/stack-tectonic-flare/compositions/publish-stack/tests/test.yaml +++ /dev/null @@ -1 +0,0 @@ -test file diff --git a/stacks/stack-tectonic-flare/compositions/terraform/compositions.yaml b/stacks/stack-tectonic-flare/compositions/terraform/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/terraform/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/terraform/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/terraform/examples/README.md b/stacks/stack-tectonic-flare/compositions/terraform/examples/README.md deleted file mode 100644 index 8950b7e..0000000 --- a/stacks/stack-tectonic-flare/compositions/terraform/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for terraform - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `terraform` looks inside a consumer repository. - -- `examples/network-foundation` diff --git a/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml b/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml deleted file mode 100644 index d63d128..0000000 --- a/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/component.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: network-foundation - -spec: - type: terraform - domain: platform-foundation - subscribe: - environments: - - development - - staging - - production - inputs: - stackName: network-foundation - terraformDir: . - terraformVersion: 1.9.8 - labels: - team: platform - layer: foundation - stack: network \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf b/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf deleted file mode 100644 index dcc30c2..0000000 --- a/stacks/stack-tectonic-flare/compositions/terraform/examples/network-foundation/infra/infra-1/main.tf +++ /dev/null @@ -1,21 +0,0 @@ -terraform { - required_version = ">= 1.6.0" -} - -locals { - stack_name = "network-foundation" - owner = "platform" - environment = "shared" -} - -output "stack_name" { - value = local.stack_name -} - -output "owner" { - value = local.owner -} - -output "environment" { - value = local.environment -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/terraform/tests/README.md b/stacks/stack-tectonic-flare/compositions/terraform/tests/README.md deleted file mode 100644 index 89a8abe..0000000 --- a/stacks/stack-tectonic-flare/compositions/terraform/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for terraform - -These files provide contract or smoke fixtures that CI can inspect for `terraform` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml deleted file mode 100644 index d63d128..0000000 --- a/stacks/stack-tectonic-flare/compositions/terraform/tests/smoke/component.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: network-foundation - -spec: - type: terraform - domain: platform-foundation - subscribe: - environments: - - development - - staging - - production - inputs: - stackName: network-foundation - terraformDir: . - terraformVersion: 1.9.8 - labels: - team: platform - layer: foundation - stack: network \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/README.md index 830e54a..9f7a252 100644 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/README.md +++ b/stacks/stack-tectonic-flare/compositions/turbo-package/README.md @@ -4,7 +4,7 @@ ## Purpose -Turborepo package verification jobs +Verify a shared package in a pnpm and Turbo monorepo ## Contract diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/compositions.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/composition.yaml similarity index 100% rename from stacks/stack-tectonic-flare/compositions/turbo-package/compositions.yaml rename to stacks/stack-tectonic-flare/compositions/turbo-package/composition.yaml diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md deleted file mode 100644 index cdd50f1..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for turbo-package - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `turbo-package` looks inside a consumer repository. - -- `examples/platform-sdk` diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json deleted file mode 100644 index d65acec..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "example-platform-repo", - "private": true, - "version": "1.0.0", - "description": "Turbo-style Cloudflare deployment examples for gluon component discovery", - "packageManager": "pnpm@10.12.1", - "scripts": { - "build": "turbo run build", - "typecheck": "turbo run typecheck", - "deploy": "turbo run deploy" - }, - "devDependencies": { - "turbo": "2.5.8", - "typescript": "5.9.3", - "wrangler": "4.13.2" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml deleted file mode 100644 index a2bcd94..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: platform-sdk - -spec: - type: turbo-package - domain: platform-packages - subscribe: - environments: - - dev - - development - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - labels: - team: platform - layer: shared - surface: sdk - runtime: node \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json deleted file mode 100644 index 3951719..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "@example/sdk", - "private": true, - "version": "0.1.0", - "type": "module", - "scripts": { - "build": "tsc -p tsconfig.json --noEmit", - "typecheck": "tsc -p tsconfig.json --noEmit" - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts deleted file mode 100644 index e3959e4..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/src/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function createPlatformClient(baseUrl: string): string { - return new URL("/v1", baseUrl).toString(); -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json deleted file mode 100644 index 32a6156..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/packages/sdk/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": [ - "src/**/*.ts" - ] -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml deleted file mode 100644 index c7eaed9..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/pnpm-workspace.yaml +++ /dev/null @@ -1,3 +0,0 @@ -packages: - - apps/* - - packages/* \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json deleted file mode 100644 index e7910f3..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/tsconfig.base.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "skipLibCheck": true, - "noEmit": true, - "lib": [ - "ES2022", - "DOM" - ] - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json b/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json deleted file mode 100644 index f24d8d7..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/examples/platform-sdk/turbo.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://turborepo.com/schema.json", - "tasks": { - "build": { - "dependsOn": [ - "^build" - ], - "outputs": [ - "dist/**", - ".wrangler/**" - ] - }, - "typecheck": { - "dependsOn": [ - "^typecheck" - ], - "outputs": [] - }, - "deploy": { - "dependsOn": [ - "build" - ], - "cache": false, - "outputs": [] - } - } -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md b/stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md deleted file mode 100644 index 7d0c3db..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/tests/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Tests for turbo-package - -These files provide contract or smoke fixtures that CI can inspect for `turbo-package` without requiring a full consumer repository checkout. - -- `tests/smoke` diff --git a/stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml deleted file mode 100644 index a2bcd94..0000000 --- a/stacks/stack-tectonic-flare/compositions/turbo-package/tests/smoke/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: platform-sdk - -spec: - type: turbo-package - domain: platform-packages - subscribe: - environments: - - dev - - development - - staging - - production - inputs: - nodeVersion: "20" - pnpmVersion: "10.12.1" - labels: - team: platform - layer: shared - surface: sdk - runtime: node \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/README.md b/stacks/stack-tectonic-flare/compositions/workspace/README.md deleted file mode 100644 index ad03279..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Examples for workspace - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `workspace` looks inside a consumer repository. - -- `examples/provider-smoke` diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml deleted file mode 100644 index 8da9933..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: identity-portal -description: Helm chart for the customer identity portal -type: application -version: 0.1.0 -appVersion: "1.0.0" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml deleted file mode 100644 index 80fd892..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/templates/configmap.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ default .Chart.Name .Values.nameOverride }} - labels: - app.kubernetes.io/name: {{ .Chart.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -data: - message: {{ .Values.config.message | quote }} - environment: {{ .Values.config.environment | quote }} - color: {{ .Values.config.color | quote }} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml deleted file mode 100644 index d3272b6..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/charts/hello-chart/chart/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal application configuration - environment: shared - color: blue \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml deleted file mode 100644 index 453169f..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/component.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: provider-smoke - -spec: - type: workspace - domain: platform-foundation - subscribe: - environments: - - development - - staging - inputs: - chartPath: charts/hello-chart/chart - valuesFile: deploy/hello-deploy/values.yaml - kustomizeDir: smoke/kustomize - terraformDir: smoke/terraform - workflowFile: smoke/provider-smoke.yaml - labels: - team: platform - layer: foundation - surface: provider-smoke diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml deleted file mode 100644 index e71ead5..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/deploy/hello-deploy/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -nameOverride: identity-portal -config: - message: identity portal delivery values - environment: development - color: amber \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml deleted file mode 100644 index e7328d3..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/configmap.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: workspace-provider-smoke -data: - source: kustomize \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml deleted file mode 100644 index 490c6c9..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/kustomize/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - configmap.yaml \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml deleted file mode 100644 index b52ad9b..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/provider-smoke.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: torkflow/v1 -kind: Workflow -metadata: - name: provider-smoke - id: provider-smoke -spec: - maxParallelSteps: 1 - steps: - - name: Summarize_Intent - actionRef: core.js - parameters: - script: "({ message: 'provider-native dry-run flow' })" - outboundEdges: - - nextStepName: Print_Result - - - name: Print_Result - actionRef: core.stdout - parameters: - title: Provider Smoke - format: text - payload: - message: "{{ Steps.Summarize_Intent.message }}" \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf b/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf deleted file mode 100644 index cee63b0..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/provider-smoke/smoke/terraform/main.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_version = ">= 1.6.0" -} - -locals { - smoke_message = "workspace-provider-smoke" -} \ No newline at end of file diff --git a/stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml b/stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml deleted file mode 100644 index dd2e53f..0000000 --- a/stacks/stack-tectonic-flare/compositions/workspace/tests/smoke/component.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: sourceplane.io/v1 -kind: Component - -metadata: - name: provider-smoke - -spec: - type: workspace - domain: platform-foundation - subscribe: - environments: - - development - inputs: - chartPath: charts/hello-chart/chart - valuesFile: deploy/hello-deploy/values.yaml - kustomizeDir: smoke/kustomize - terraformDir: smoke/terraform - workflowFile: smoke/provider-smoke.yaml diff --git a/stacks/stack-tectonic-flare/registry/index.json b/stacks/stack-tectonic-flare/registry/index.json deleted file mode 100644 index 30be9a8..0000000 --- a/stacks/stack-tectonic-flare/registry/index.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "stack": { - "name": "tectonic-flare", - "title": "Tectonic Flare Platform Stack", - "version": "2.0.0", - "oci": "oci://ghcr.io/sourceplane/tectonic-flare:2.0.0" - }, - "catalog": { - "compositions": [ - { - "name": "cloudflare-pages", - "kind": "composition", - "path": "compositions/cloudflare-pages", - "description": "Cloudflare Pages build, verify, and deploy pipeline", - "category": "hosting", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "hosting", - "pages" - ], - "signals": { - "readme": true, - "exampleAssets": 6, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "cloudflare-pages-terraform", - "kind": "composition", - "path": "compositions/cloudflare-pages-terraform", - "description": "Cloudflare Pages deployment managed with Terraform", - "category": "platform", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "pages", - "platform", - "terraform" - ], - "signals": { - "readme": true, - "exampleAssets": 7, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "cloudflare-pages-turbo", - "kind": "composition", - "path": "compositions/cloudflare-pages-turbo", - "description": "Cloudflare Pages deployment using Turbo monorepo builds", - "category": "hosting", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "hosting", - "pages", - "turbo" - ], - "signals": { - "readme": true, - "exampleAssets": 8, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "cloudflare-pages-turbo-terraform", - "kind": "composition", - "path": "compositions/cloudflare-pages-turbo-terraform", - "description": "Cloudflare Pages deployment using Turbo monorepo builds managed with Terraform", - "category": "platform", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "pages", - "platform", - "terraform", - "turbo" - ], - "signals": { - "readme": true, - "exampleAssets": 9, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "cloudflare-worker", - "kind": "composition", - "path": "compositions/cloudflare-worker", - "description": "Cloudflare Worker build, verify, and deploy pipeline", - "category": "edge", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "edge", - "worker" - ], - "signals": { - "readme": true, - "exampleAssets": 9, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "cloudflare-worker-turbo", - "kind": "composition", - "path": "compositions/cloudflare-worker-turbo", - "description": "Cloudflare Worker with Turborepo build, verify, and deploy pipeline", - "category": "edge", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "cloudflare", - "edge", - "turbo", - "worker" - ], - "signals": { - "readme": true, - "exampleAssets": 9, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "publish-stack", - "kind": "composition", - "path": "compositions/publish-stack", - "description": "Publish an Orun stack to an OCI registry with dry-run validation", - "category": "developer-experience", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "developer-experience", - "publish", - "stack" - ], - "signals": { - "readme": true, - "exampleAssets": 2, - "testAssets": 2, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "terraform", - "kind": "composition", - "path": "compositions/terraform", - "description": "Terraform validation jobs for infra components", - "category": "infrastructure", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "infrastructure", - "terraform" - ], - "signals": { - "readme": true, - "exampleAssets": 2, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - }, - { - "name": "turbo-package", - "kind": "composition", - "path": "compositions/turbo-package", - "description": "Turborepo package verification jobs", - "category": "developer-experience", - "verified": true, - "score": 100, - "grade": "A+", - "tags": [ - "developer-experience", - "package", - "turbo" - ], - "signals": { - "readme": true, - "exampleAssets": 8, - "testAssets": 1, - "verifyWorkflow": true, - "releaseWorkflow": true, - "scorecardWorkflow": true, - "semver": true, - "docsGood": true - } - } - ], - "blueprints": [] - } -} diff --git a/stacks/stack-tectonic-flare/scripts/generate-readme.sh b/stacks/stack-tectonic-flare/scripts/generate-readme.sh deleted file mode 100755 index aa4d9cd..0000000 --- a/stacks/stack-tectonic-flare/scripts/generate-readme.sh +++ /dev/null @@ -1,115 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -check_mode="${1:-}" - -python3 - "$repo_root" "$check_mode" <<'PY' -from pathlib import Path -import re -import sys - -root = Path(sys.argv[1]) -check_mode = sys.argv[2] == "--check" -dirty: list[str] = [] - - -def extract(pattern: str, text: str) -> str: - match = re.search(pattern, text, re.MULTILINE) - if not match: - raise SystemExit(f"missing pattern: {pattern!r}") - return match.group(1).strip() - - -def write_or_check(path: Path, content: str) -> None: - normalized = content.rstrip() + "\n" - current = path.read_text() if path.exists() else None - if current == normalized: - return - dirty.append(str(path.relative_to(root))) - if not check_mode: - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(normalized) - - -def top_level_assets(directory: Path) -> list[str]: - if not directory.exists(): - return [] - items: set[str] = set() - for path in directory.rglob("*"): - if not path.is_file() or path.name.lower() == "readme.md": - continue - rel = path.relative_to(directory) - items.add(rel.parts[0]) - return sorted(items) - - -def render_asset_list(directory_name: str, items: list[str], empty_message: str) -> str: - if not items: - return f"- {empty_message}" - return "\n".join(f"- `{directory_name}/{item}`" for item in items) - - -for contract in sorted((root / "compositions").glob("*/compositions.yaml")): - text = contract.read_text() - name = extract(r"^ name:\s*(.+)$", text) - description = extract(r"^ description:\s*(.+)$", text) - comp_dir = contract.parent - example_items = top_level_assets(comp_dir / "examples") - test_items = top_level_assets(comp_dir / "tests") - example_list = render_asset_list("examples", example_items, "Add a sample fixture under examples/.") - test_list = render_asset_list("tests", test_items, "Add a smoke or contract fixture under tests/.") - - readme = f"""# {name} - -`{name}` is an exported Orun composition in the Stack Tectonic catalog. - -## Purpose - -{description} - -## Contract - -- **Type:** `{name}` -- **Path:** `{comp_dir.relative_to(root)}` -- **Definition:** `compositions.yaml` - -## Example fixtures - -These sample assets are excerpted or adapted from `example-platform-repo` so the contract is documented with realistic consumer-repo shapes. - -{example_list} - -## Test fixtures - -{test_list} - -## Verification - -`./scripts/verify-composition.sh {name}` checks that this composition keeps its contract, fixture, and generated-doc scaffolding intact. -""" - - examples_readme = f"""# Examples for {name} - -These fixtures are excerpted or adapted from `example-platform-repo` to show how `{name}` looks inside a consumer repository. - -{example_list} -""" - - tests_readme = f"""# Tests for {name} - -These files provide contract or smoke fixtures that CI can inspect for `{name}` without requiring a full consumer repository checkout. - -{test_list} -""" - - write_or_check(comp_dir / "README.md", readme) - write_or_check(comp_dir / "examples" / "README.md", examples_readme) - write_or_check(comp_dir / "tests" / "README.md", tests_readme) - -if check_mode and dirty: - print("Generated composition docs are stale:") - for item in dirty: - print(f" - {item}") - raise SystemExit(1) -PY diff --git a/stacks/stack-tectonic-flare/scripts/score.sh b/stacks/stack-tectonic-flare/scripts/score.sh deleted file mode 100755 index 3a7185a..0000000 --- a/stacks/stack-tectonic-flare/scripts/score.sh +++ /dev/null @@ -1,196 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -check_mode="${1:-}" - -python3 - "$repo_root" "$check_mode" <<'PY' -from pathlib import Path -import json -import re -import sys - -root = Path(sys.argv[1]) -check_mode = sys.argv[2] == "--check" - -stack_text = (root / "stack.yaml").read_text() -stack_name = re.search(r"(?m)^ name:\s*(.+)$", stack_text).group(1).strip() -stack_title = re.search(r"(?m)^ title:\s*(.+)$", stack_text).group(1).strip() -stack_version = re.search(r"(?m)^ version:\s*(.+)$", stack_text).group(1).strip() -semver = bool(re.fullmatch(r"\d+\.\d+\.\d+", stack_version)) - -verify_exists = (root / ".github/workflows/verify.yml").exists() -release_exists = (root / ".github/workflows/release.yml").exists() -scorecard_exists = (root / ".github/workflows/scorecard.yml").exists() - - -def extract(pattern: str, text: str) -> str: - match = re.search(pattern, text, re.MULTILINE) - if not match: - raise SystemExit(f"missing pattern: {pattern!r}") - return match.group(1).strip() - - -def category_for(name: str) -> str: - if "terraform" in name and "cloudflare-pages" in name: - return "platform" - if "cloudflare-pages" in name: - return "hosting" - if "cloudflare-worker" in name: - return "edge" - if name.startswith("terraform"): - return "infrastructure" - if name.startswith("helm"): - return "kubernetes" - return "developer-experience" - - -def tags_for(name: str) -> list[str]: - tags = set(name.split("-")) - tags.add(category_for(name)) - if "cloudflare" in name: - tags.add("cloudflare") - if "turbo" in name: - tags.add("turbo") - return sorted(tags) - - -def grade_for(score: int) -> str: - if score >= 90: - return "A+" - if score >= 80: - return "A" - if score >= 65: - return "B" - if score >= 50: - return "C" - return "D" - - -def docs_good(readme: Path) -> bool: - return readme.exists() and len(readme.read_text().strip()) >= 240 - - -def count_assets(directory: Path) -> int: - if not directory.exists(): - return 0 - return sum(1 for path in directory.rglob("*") if path.is_file() and path.name.lower() != "readme.md") - - -compositions = [] -for contract in sorted((root / "compositions").glob("*/compositions.yaml")): - text = contract.read_text() - name = extract(r"^ name:\s*(.+)$", text) - description = extract(r"^ description:\s*(.+)$", text) - comp_dir = contract.parent - readme = comp_dir / "README.md" - example_assets = count_assets(comp_dir / "examples") - test_assets = count_assets(comp_dir / "tests") - - score = 0 - if readme.exists(): - score += 10 - if example_assets: - score += 15 - if test_assets: - score += 25 - if verify_exists and release_exists: - score += 20 - if semver: - score += 10 - if docs_good(readme): - score += 10 - if scorecard_exists: - score += 10 - - grade = grade_for(score) - compositions.append( - { - "name": name, - "kind": "composition", - "path": str(comp_dir.relative_to(root)), - "description": description, - "category": category_for(name), - "verified": score >= 80, - "score": score, - "grade": grade, - "tags": tags_for(name), - "signals": { - "readme": readme.exists(), - "exampleAssets": example_assets, - "testAssets": test_assets, - "verifyWorkflow": verify_exists, - "releaseWorkflow": release_exists, - "scorecardWorkflow": scorecard_exists, - "semver": semver, - "docsGood": docs_good(readme), - }, - } - ) - - -blueprints = [] -for blueprint in sorted((root / "blueprints").glob("*/blueprint.yaml")): - text = blueprint.read_text() - name = extract(r"^ name:\s*(.+)$", text) - summary = extract(r"^ summary:\s*(.+)$", text) - uses = re.findall(r"(?m)^ -\s*(.+)$", text) - bp_dir = blueprint.parent - readme = bp_dir / "README.md" - example_assets = count_assets(bp_dir / "examples") - - score = 0 - if readme.exists(): - score += 10 - if len(uses) >= 2: - score += 20 - if example_assets: - score += 15 - if verify_exists and release_exists: - score += 20 - if semver: - score += 10 - if docs_good(readme): - score += 10 - if scorecard_exists: - score += 10 - - blueprints.append( - { - "name": name, - "kind": "blueprint", - "path": str(bp_dir.relative_to(root)), - "description": summary, - "uses": uses, - "verified": score >= 80, - "score": score, - "grade": grade_for(score), - } - ) - - -index = { - "stack": { - "name": stack_name, - "title": stack_title, - "version": stack_version, - "oci": f"oci://ghcr.io/sourceplane/{stack_name}:{stack_version}", - }, - "catalog": { - "compositions": compositions, - "blueprints": blueprints, - }, -} - -rendered = json.dumps(index, indent=2, sort_keys=False) + "\n" -index_path = root / "registry/index.json" -current = index_path.read_text() if index_path.exists() else None - -if check_mode: - if current != rendered: - print("registry/index.json is stale") - raise SystemExit(1) -else: - index_path.parent.mkdir(parents=True, exist_ok=True) - index_path.write_text(rendered) -PY diff --git a/stacks/stack-tectonic-flare/scripts/verify-composition.sh b/stacks/stack-tectonic-flare/scripts/verify-composition.sh deleted file mode 100755 index 567d5e7..0000000 --- a/stacks/stack-tectonic-flare/scripts/verify-composition.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -composition_name="${1:?usage: verify-composition.sh }" -composition_dir="$repo_root/compositions/$composition_name" - -python3 - "$composition_dir" "$composition_name" <<'PY' -from pathlib import Path -import re -import sys - -comp_dir = Path(sys.argv[1]) -name = sys.argv[2] - -if not comp_dir.exists(): - raise SystemExit(f"missing composition directory: {comp_dir}") - -contract_path = comp_dir / "compositions.yaml" -if not contract_path.exists(): - raise SystemExit(f"missing contract: {contract_path}") - -contract_text = contract_path.read_text() - -def require(condition: bool, message: str) -> None: - if not condition: - raise SystemExit(message) - -require( - re.search(rf"(?m)^ name:\s*{re.escape(name)}\s*$", contract_text) is not None, - f"contract metadata.name does not match directory for {name}", -) -require( - re.search(rf"(?m)^ type:\s*{re.escape(name)}\s*$", contract_text) is not None, - f"contract spec.type does not match directory for {name}", -) - -for relative_path in ("README.md", "examples/README.md", "tests/README.md"): - require((comp_dir / relative_path).exists(), f"missing required file: {comp_dir / relative_path}") - -def non_readme_files(directory: Path) -> list[Path]: - return sorted( - path - for path in directory.rglob("*") - if path.is_file() and path.name.lower() != "readme.md" - ) - -example_assets = non_readme_files(comp_dir / "examples") -test_assets = non_readme_files(comp_dir / "tests") - -require(example_assets, f"{name} is missing example assets beyond README.md") -require(test_assets, f"{name} is missing test assets beyond README.md") - -def has_matching_component(directory: Path) -> bool: - for path in directory.rglob("component.yaml"): - text = path.read_text() - if re.search(rf"(?m)^ type:\s*{re.escape(name)}\s*$", text): - return True - return False - -require(has_matching_component(comp_dir / "examples"), f"{name} examples do not include a matching component.yaml") -require(has_matching_component(comp_dir / "tests"), f"{name} tests do not include a matching component.yaml") - -print( - f"{name}: {len(example_assets)} example assets, {len(test_assets)} test assets, " - f"fixtures verified" -) -PY diff --git a/stacks/stack-tectonic-flare/scripts/verify.sh b/stacks/stack-tectonic-flare/scripts/verify.sh deleted file mode 100755 index d4c6bd0..0000000 --- a/stacks/stack-tectonic-flare/scripts/verify.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -cd "$repo_root" - -./scripts/generate-readme.sh --check -./scripts/score.sh --check - -for contract in "$repo_root"/compositions/*/compositions.yaml; do - composition_name="$(basename "$(dirname "$contract")")" - ./scripts/verify-composition.sh "$composition_name" -done - -stack_version="$(awk '/^ version: /{print $2}' stack.yaml)" -test -n "$stack_version" - -kiox -- orun publish "ghcr.io/sourceplane/stack-tectonic-flare:${stack_version}" \ - --dry-run \ - --root . \ - --version "$stack_version"