From cd76ce6e404335fb8aa4e6a187c36c7968edd5f8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:19:21 -0700 Subject: [PATCH 01/11] Update config.yml --- .circleci/config.yml | 82 +++++--------------------------------------- 1 file changed, 9 insertions(+), 73 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a516ec..34cc3a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,82 +1,18 @@ version: 2.1 -executors: - my-executor: - docker: - - image: buildpack-deps:jessie - working_directory: /tmp +# Define the jobs we want to run for this project jobs: - flow: - executor: my-executor - steps: - - run: mkdir -p $CIRCLE_WORKFLOW_JOB_ID - - run: ls -al - - run: pwd - - run: echo "Hello, world!" > $CIRCLE_WORKFLOW_JOB_ID/echo-output - - run: cat /tmp/$CIRCLE_WORKFLOW_JOB_ID/echo-output - - run: ls -al - - run: find $CIRCLE_WORKFLOW_JOB_ID/echo-output - - run: cat $CIRCLE_WORKFLOW_JOB_ID/echo-output - - # Persist the specified paths (workspace/echo-output) into the workspace for use in downstream job. - - persist_to_workspace: - # Must be an absolute path, or relative path from working_directory. This is a directory in the execution - # environment which is taken to be the root directory of the workspace. - root: $CIRCLE_WORKFLOW_JOB_ID - # Must be relative path from root - paths: - - echo-output - test: - executor: my-executor - steps: - - run: mkdir -p $CIRCLE_WORKFLOW_JOB_ID - - run: echo "Hello, world!" > $CIRCLE_WORKFLOW_JOB_ID/echo-output - - # Persist the specified paths (workspace/echo-output) into the workspace for use in downstream job. - - persist_to_workspace: - # Must be an absolute path, or relative path from working_directory. This is a directory in the execution - # environment which is taken to be the root directory of the workspace. - root: $CIRCLE_WORKFLOW_JOB_ID - # Must be relative path from root - paths: - - echo-output - testing: - executor: my-executor - steps: - - run: mkdir -p $CIRCLE_WORKFLOW_JOB_ID - - run: echo "Hello, world!" > $CIRCLE_WORKFLOW_JOB_ID/echo-output - - # Persist the specified paths (workspace/echo-output) into the workspace for use in downstream job. - - persist_to_workspace: - # Must be an absolute path, or relative path from working_directory. This is a directory in the execution - # environment which is taken to be the root directory of the workspace. - root: $CIRCLE_WORKFLOW_JOB_ID - # Must be relative path from root - paths: - - echo-output - - - downstream: - executor: my-executor + build: + docker: + - image: cimg/python:3.12.5 steps: - - attach_workspace: - # Must be absolute path or relative path from working_directory - at: /tmp/workspace + - checkout + - run: python3 script.py - - run: | - if [[ `cat /tmp/workspace/echo-output` == "Hello, world!" ]]; then - echo "It worked!"; - else - echo "Nope!"; exit 1 - fi +# Orchestrate our job run sequence workflows: - btd: + build_and_test: jobs: - - flow - - test - - testing - - downstream: - requires: - - flow + - build From 3924077c61eababd553ff722be5dfdacd11dad8c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:49:46 -0700 Subject: [PATCH 02/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34cc3a9..3987e5b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ jobs: - run: python3 script.py -# Orchestrate our job run sequence + workflows: build_and_test: jobs: From 5712d9b297fe628315412159179f8a12782e3dd6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:20:27 -0400 Subject: [PATCH 03/11] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3987e5b..225678b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,3 +16,4 @@ workflows: build_and_test: jobs: - build + name: build/test From 0a791aa7da1afe45b64c636d7a0059f680cad238 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:21:02 -0400 Subject: [PATCH 04/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 225678b..fdd38e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,4 +16,4 @@ workflows: build_and_test: jobs: - build - name: build/test + name: test From 759ac1d01e6f6e1b6f5050a855370e1b81410092 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:22:23 -0400 Subject: [PATCH 05/11] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fdd38e4..335d2b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,5 +15,5 @@ jobs: workflows: build_and_test: jobs: - - build - name: test + - build: + name: test From 5bb76aaede4206ef3e550e57a20f6e0448a66cbc Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:22:44 -0400 Subject: [PATCH 06/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 335d2b2..15ec19a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,4 +16,4 @@ workflows: build_and_test: jobs: - build: - name: test + name: build/test From e8a8d34e27da60ce8325011052cf77bc6befb83c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:24:13 -0400 Subject: [PATCH 07/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 15ec19a..0dc9268 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: - image: cimg/python:3.12.5 steps: - checkout - - run: python3 script.py + From 7ad31db6673a24cd2fc70f8def3d81a2522b0f27 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 10:09:52 -0400 Subject: [PATCH 08/11] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0dc9268..173430d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,3 +17,6 @@ workflows: jobs: - build: name: build/test + + +#test From 88e6b6f0ff532287342b3805c1e6c2012bb465c7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 10:11:53 -0400 Subject: [PATCH 09/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 173430d..3f08c62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,4 +19,4 @@ workflows: name: build/test -#test + From f75f8ccc5c00d9fd4525df4101e417b951beba79 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 23 Oct 2025 10:15:29 -0400 Subject: [PATCH 10/11] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f08c62..9740713 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,4 +19,6 @@ workflows: name: build/test +#test + From 538402fd8865f5d826bff24cfaf9a45e59ae19c5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:17:36 -0400 Subject: [PATCH 11/11] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9740713..1fe61e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,6 @@ workflows: name: build/test -#test +