From db31bfd0fdef6af07e204fc661f366e50cd63ac9 Mon Sep 17 00:00:00 2001 From: komodo Date: Wed, 12 Nov 2025 04:36:10 +0000 Subject: [PATCH] [Komodo] Commit Sync: update master_sync.toml --- master_sync.toml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/master_sync.toml b/master_sync.toml index caacc96..1a9c73c 100644 --- a/master_sync.toml +++ b/master_sync.toml @@ -667,39 +667,6 @@ branch = "master" ## -[[action]] -name = "Deploy if Changed" -[action.config] -file_contents = """ -// Same as BatchDeployStacksIfChanged, but with an exclusion filter -console.log('Deploying all non-excluded stacks...\n'); - -// Get Tag Id. The API should throw if it's not found, but we employ safety checks just in case -const exclusionTagId = (await komodo.read("GetTag", { tag: "ad-hoc" }))?._id?.$oid ?? null; // YOUR TAG HERE -if (!exclusionTagId) - console.log('Exclusion tag not found!\n'); - -// Deploy all stacks, minus the excluded ones -const allStacks = await komodo.read("ListStacks", {}); -for(const stack of allStacks) { - const name = stack.name; - const id = stack.id; - const tags = stack.tags; - - if(tags.includes(exclusionTagId)) { - console.log('Skipping stack', name, '(excuded)') - continue; - } - - console.log('Deploying', name) - await komodo.execute("DeployStackIfChanged", { - stack: id, - }); -} -""" - -## - [[action]] name = "Global Auto Update" [action.config]