From 0dd26b4ce9e8eb001d8e4bbda0500346bb78c898 Mon Sep 17 00:00:00 2001 From: Lucas Kacher Date: Mon, 1 Jul 2024 12:21:16 -0700 Subject: [PATCH] feat: update examples (#22) --- src/examples/{example.yml => global-queue.yml} | 0 src/examples/pipeline-queue.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+) rename src/examples/{example.yml => global-queue.yml} (100%) create mode 100755 src/examples/pipeline-queue.yml diff --git a/src/examples/example.yml b/src/examples/global-queue.yml similarity index 100% rename from src/examples/example.yml rename to src/examples/global-queue.yml diff --git a/src/examples/pipeline-queue.yml b/src/examples/pipeline-queue.yml new file mode 100755 index 0000000..0075e76 --- /dev/null +++ b/src/examples/pipeline-queue.yml @@ -0,0 +1,13 @@ +description: > + Use when you want a single workflow to be run at the end of a given pipeline (internal queueing). +usage: + version: 2.1 + orbs: + workflow-queue: promiseofcake/workflow-queue@3 + workflows: + example: + jobs: + - workflow-queue/pipeline-queue: + name: pipeline-queue + context: + only-on-branch: main