From 70f74222ff64d5b1011f715a71618cb77277d855 Mon Sep 17 00:00:00 2001 From: George Sedky Date: Tue, 22 Nov 2022 12:44:48 +0200 Subject: [PATCH] Add example to builder --- examples/builder.cue | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/examples/builder.cue b/examples/builder.cue index 9ae0a15..2cf028c 100755 --- a/examples/builder.cue +++ b/examples/builder.cue @@ -4,6 +4,7 @@ import ( "guku.io/devx/v1" "guku.io/devx/v1/transformers/compose" "guku.io/devx/v1/transformers/terraform" + "guku.io/devx/v1/transformers/argocd" ) builders: v1.#StackBuilder & { @@ -27,4 +28,24 @@ builders: v1.#StackBuilder & { }, ] } + dev2: { + flows: [ + v1.#Flow & { + pipeline: [ + compose.#AddComposeService & {}, + compose.#ExposeComposeService & {}, + ] + }, + v1.#Flow & { + pipeline: [ + compose.#AddComposePostgres & {}, + ] + }, + v1.#Flow & { + pipeline: [ + argocd.#AddHelmRelease & {}, + ] + }, + ] + } }