From abf6bcaf5c1de6c9c7d2bf49d8f0670740aa9a3b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:33:35 -0700 Subject: [PATCH 1/6] Update config.yml --- .circleci/config.yml | 125 +++++++------------------------------------ 1 file changed, 19 insertions(+), 106 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48a0973..bb5958d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,114 +1,27 @@ version: 2.1 -# Define executors -executors: - node-executor: - docker: - - image: cimg/node:18.17 - working_directory: ~/project -# Define jobs -jobs: - # Job that always runs - test: - executor: node-executor - steps: - - checkout - - run: - name: Run tests - command: echo "run test" - - run: - name: Run linting - command: echo "run linting" - - # Job that always runs - build: - executor: node-executor - steps: - - checkout - - - run: - name: Run tests - command: echo "run test" - - run: - name: Run linting - command: echo "run linting" - # Conditional job - only runs on main branch - deploy: - executor: node-executor +commands: + print: + parameters: + message: + type: string steps: + - run: echo << parameters.message >> - - run: - name: Deploy to production - command: | - echo "Deploying to production..." - # Add your deployment commands here - # e.g., aws s3 sync dist/ s3://my-bucket/ - # e.g., kubectl apply -f k8s/ - echo "Deployment completed!" - - # Another conditional job - only runs on feature branches - integration-test: - executor: node-executor +jobs: + daily-message: + machine: + image: ubuntu-2004:current + resource_class: large + parameters: + message: + type: string steps: - - run: - name: Run integration tests - command: | - echo "Running integration tests..." - # Add integration test commands here - + - print: + message: Printing << parameters.message >> -# Define workflows workflows: - version: 2 - build-test-deploy: - jobs: - # These jobs run on every commit - - test - - build: - requires: - - test - - # Conditional job: Deploy only runs on main branch - - deploy: - requires: - - build - filters: - branches: - only: main - - # Conditional job: Integration tests only run on feature branches - - integration-test: - requires: - - build - filters: - branches: - ignore: - - main - - develop - - # Alternative workflow that runs only on tags - release: + my-workflow: jobs: - - test: - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ - - build: - requires: - - test - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ - - deploy: - requires: - - build - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ - + - daily-message: + messages: echo << parameters.message >> From ee8cc196fe015863bd04903e86480b23c2988266 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:34:59 -0700 Subject: [PATCH 2/6] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index bb5958d..af30b6f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,3 +25,5 @@ workflows: jobs: - daily-message: messages: echo << parameters.message >> + +#test From a4e6cec7dcf7da50f5b3fd339ab977d1cdf88215 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:35:25 -0700 Subject: [PATCH 3/6] 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 af30b6f..80ad3af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,6 @@ workflows: my-workflow: jobs: - daily-message: - messages: echo << parameters.message >> + message: echo << parameters.message >> #test From a85b97d0ab1b6503ddf62d6902bb17f79b47b997 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:36:29 -0700 Subject: [PATCH 4/6] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 80ad3af..9e30074 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,5 +25,3 @@ workflows: jobs: - daily-message: message: echo << parameters.message >> - -#test From 3f5fb5dcf1844f9335eba42232e2494c634dddfd Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:38:10 -0700 Subject: [PATCH 5/6] 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 9e30074..664ba60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,5 +23,5 @@ jobs: workflows: my-workflow: jobs: - - daily-message: - message: echo << parameters.message >> + - daily-message + # message: echo << parameters.message >> From 74fd85fa97d5dba6e7e4166aa50df87b474c8b54 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 25 Jul 2025 06:40:43 -0700 Subject: [PATCH 6/6] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 664ba60..27d0b3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,3 +25,4 @@ workflows: jobs: - daily-message # message: echo << parameters.message >> + # something