From b5afdbc231a30e1e0e510578c57a291c83ea8aa0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:03:27 -1000 Subject: [PATCH 001/306] Update config.yml --- .circleci/config.yml | 67 ++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 46 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bfa05c5..398227f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,53 +1,28 @@ -version: 2 +version: 2.1 + +workflows: + my-workflow: + jobs: + - run-tests + - second_job + + jobs: - build: - docker: - - image: circleci/node + run-tests: + macos: + xcode: 11.3.0 steps: - - checkout + - run: echo "hello world" + - run: npm list -g + - - - - run: mkdir hello - - run: cd hello - - run: touch hi.txt && echo "hello world" >> hi.txt - - - run: - name: "Git status...." - command: | - echo "GIT STATUS ...." - git status - git add -A - echo "END GIT STATUS ...." - - echo "SETIING UP GIT USER ...." - git config user.email $ANDROID_BUILD_MACHINE_USER_PAT - git config user.name "pcln-androidadmin" - #git config user.email - #git config user.name - echo "END SETIING UP GIT USER ...." - - - echo "................" - - echo "DELETE ME LATER......." - #git config user.email - git commit -am "Dummy message...." - #git config user.email - #git config user.name - #git push - echo "End DELETE ME LATER......." - - + + second_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" - echo "................" - git push --set-upstream origin dummy_master -workflows: - version: 2 - build_and_push: - jobs: - - build - From 7dd5744ba2c44caa4e93fedf03539082254d3fe3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:04:41 -1000 Subject: [PATCH 002/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 398227f..8f8cb49 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,7 @@ jobs: - run: echo "hello world" - run: npm list -g + - run: npm -v From ae61e3e3461f2d0a387f9db69edbb9b135a66f67 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:07:40 -1000 Subject: [PATCH 003/306] 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 8f8cb49..dbdbf5a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,8 +16,8 @@ jobs: - run: echo "hello world" - run: npm list -g - run: npm -v - - + - run: sudo npm install -v 6.11.1 + - run: npm -v second_job: docker: From 29385d3d46643023b069593c9a28647a7c251c9e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:09:03 -1000 Subject: [PATCH 004/306] 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 dbdbf5a..8aa74d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: - run: echo "hello world" - run: npm list -g - run: npm -v - - run: sudo npm install -v 6.11.1 + - run: sudo npm install -g npm@3.10.10 - run: npm -v second_job: From 8906e0eb336c52d8b8746bb616a9692396124a91 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:27:32 -1000 Subject: [PATCH 005/306] Update config.yml --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8aa74d6..e6ce99f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,8 +16,9 @@ jobs: - run: echo "hello world" - run: npm list -g - run: npm -v - - run: sudo npm install -g npm@3.10.10 - - run: npm -v + - run: sudo npm install -g appium + - run: npm view appium version + second_job: docker: From 21641f299989ee4e6e0c8d0fe54f2e9c77e1a3e2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 10:34:10 -1000 Subject: [PATCH 006/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e6ce99f..7df7e6e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,8 @@ jobs: - run: echo "hello world" - run: npm list -g - - run: npm -v + - run: npm -v + - run: sudo npm install -g appium-doctor - run: sudo npm install -g appium - run: npm view appium version From 7c8f349c6bf88675d0c2d2314928bf0a8cc1592c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 22 Dec 2020 12:05:31 -1000 Subject: [PATCH 007/306] Update config.yml --- .circleci/config.yml | 53 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7df7e6e..b79e37f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,14 @@ workflows: jobs: - run-tests - second_job - + - third_job + - forth_job + - fifth_job + - sixth_job + - seventh_job + - eighth_job + - nineth_job + - tenth_job jobs: run-tests: @@ -26,6 +33,44 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "bye world. This is a scheduled workflow/job" - - - + third_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + forth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + fifth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + sixth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + seventh_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + eighth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + nineth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + tenth_job: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "bye world. This is a scheduled workflow/job" + From d6bf31a7647d88e869f4501043254f2634f91035 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Dec 2020 14:31:09 -1000 Subject: [PATCH 008/306] 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 b79e37f..8821174 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: steps: - run: echo "hello world" - - run: npm list -g + - run: sleep 3h - run: npm -v - run: sudo npm install -g appium-doctor - run: sudo npm install -g appium From 53346e5307b5318e0bdebd60e0a537ba90dfd1a1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Dec 2020 14:53:58 -1000 Subject: [PATCH 009/306] 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 8821174..03b1b12 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: steps: - run: echo "hello world" - - run: sleep 3h + - run: sleep 3000000 - run: npm -v - run: sudo npm install -g appium-doctor - run: sudo npm install -g appium From 6375a1025c030b21f010b5f5935f9fd5d14583ec Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Dec 2020 14:55:18 -1000 Subject: [PATCH 010/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 03b1b12..3b777c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,3 +74,4 @@ jobs: steps: - run: echo "bye world. This is a scheduled workflow/job" +#test From e1b91fefea7274b6eb20a40bef45db60ba9bbac5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:07:02 -1000 Subject: [PATCH 011/306] Update config.yml --- .circleci/config.yml | 73 +++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 48 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b777c4..9545ae8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,19 +3,15 @@ version: 2.1 workflows: my-workflow: jobs: - - run-tests - - second_job - - third_job - - forth_job + - build + - test + - deploy + - rollback - fifth_job - - sixth_job - - seventh_job - - eighth_job - - nineth_job - - tenth_job + jobs: - run-tests: + build: macos: xcode: 11.3.0 steps: @@ -28,50 +24,31 @@ jobs: - run: npm view appium version - second_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - third_job: + test: docker: - image: cimg/base:2020.01 steps: - - run: echo "bye world. This is a scheduled workflow/job" - forth_job: + - run: echo "test job" + - run: wqr + - run: + name: run rollback job + command: echo " this job failed" + when: on_fail + deploy: docker: - image: cimg/base:2020.01 steps: - - run: echo "bye world. This is a scheduled workflow/job" - fifth_job: + - run: echo "deploy" + rollback: + parameters: + run_job: + default: false + type: boolean docker: - image: cimg/base:2020.01 steps: - - run: echo "bye world. This is a scheduled workflow/job" - sixth_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - seventh_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - eighth_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - nineth_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - tenth_job: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "bye world. This is a scheduled workflow/job" - -#test + - when: + condition: << parameters.run_job >> + steps: + - run: echo "running rollback job" + From 7a055fb65fc7486b0b60d3536d37b09b2a5c6dd0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:12:38 -1000 Subject: [PATCH 012/306] 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 9545ae8..dfff588 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ workflows: - test - deploy - rollback - - fifth_job + jobs: From 242c7ef70021d6fba1a2b80d66ad42b2a4a9f29f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:13:48 -1000 Subject: [PATCH 013/306] Update config.yml --- .circleci/config.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dfff588..f5e512b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,11 +17,6 @@ jobs: steps: - run: echo "hello world" - - run: sleep 3000000 - - run: npm -v - - run: sudo npm install -g appium-doctor - - run: sudo npm install -g appium - - run: npm view appium version test: From b2aede30db75f5ceb544b4e97c22c628b854e67a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:14:39 -1000 Subject: [PATCH 014/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f5e512b..feac4fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,7 @@ jobs: docker: - image: cimg/base:2020.01 steps: + - run : echo " rollback job pre-step" - when: condition: << parameters.run_job >> steps: From 8a353b862aff82fcb2f68d85d1dadf211917696f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:16:28 -1000 Subject: [PATCH 015/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index feac4fd..77580e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,4 +47,6 @@ jobs: condition: << parameters.run_job >> steps: - run: echo "running rollback job" + + #test From bb49fcf9f11615b4f549d1edcefdad66bd9d2ff7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:17:07 -1000 Subject: [PATCH 016/306] 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 77580e2..abdea35 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,8 @@ workflows: jobs: build: - macos: - xcode: 11.3.0 + docker: + - image: cimg/base:2020.01 steps: - run: echo "hello world" From b30387ceeead4966698888f2eb7d826989d2daea Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:26:32 -1000 Subject: [PATCH 017/306] Update config.yml --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index abdea35..81c6c2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,14 @@ jobs: - run: wqr - run: name: run rollback job - command: echo " this job failed" + command: + curl -u ${CIRCLECI_TOKEN}: -X POST --header "Content-Type: application/json" -d '{ + "parameters": { + "run_job": true + } + }' https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline + + when: on_fail deploy: docker: From 795ef63f9611c8e514e1cb8f15b2da3f02698b09 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:28:03 -1000 Subject: [PATCH 018/306] Update config.yml --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 81c6c2b..e7c071e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,13 +28,11 @@ jobs: - run: name: run rollback job command: - curl -u ${CIRCLECI_TOKEN}: -X POST --header "Content-Type: application/json" -d '{ + bash<(curl -u ${CIRCLECI_TOKEN}: -X POST --header "Content-Type: application/json" -d '{ "parameters": { "run_job": true } - }' https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline - - + }' https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline) when: on_fail deploy: docker: From cbcad67df27a7771e57603342ae09245f2b7166a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:28:22 -1000 Subject: [PATCH 019/306] 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 e7c071e..a7090d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ jobs: - run: wqr - run: name: run rollback job - command: + command: | bash<(curl -u ${CIRCLECI_TOKEN}: -X POST --header "Content-Type: application/json" -d '{ "parameters": { "run_job": true From a360884ac7f5f2090b3bd34eb1bbd45bae90899b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:40:36 -1000 Subject: [PATCH 020/306] Update config.yml --- .circleci/config.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a7090d6..244caa7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,11 +28,15 @@ jobs: - run: name: run rollback job command: | - bash<(curl -u ${CIRCLECI_TOKEN}: -X POST --header "Content-Type: application/json" -d '{ - "parameters": { - "run_job": true - } - }' https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline) + curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ + --header 'Content-Type: application/json' \ + -u "${CIRCLECI_TOKEN}:" \ + -d '{ + "parameters": { + "run_job": true + } + } + when: on_fail deploy: docker: From be4fc54353b8e774ff130889b8714697c4f496f7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:41:56 -1000 Subject: [PATCH 021/306] 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 244caa7..27befdf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,7 @@ jobs: "parameters": { "run_job": true } - } + }' when: on_fail deploy: From 74a17ddea9718820ebc23000667292cb3d309125 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:44:11 -1000 Subject: [PATCH 022/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 27befdf..9e6759e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,8 @@ jobs: - image: cimg/base:2020.01 steps: - run : echo " rollback job pre-step" - - when: + - run: echo + - when: << parameters.run_job >> condition: << parameters.run_job >> steps: - run: echo "running rollback job" From 9fcaa129d8b351a82dd189cfd04cd5c1f90218b2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:45:53 -1000 Subject: [PATCH 023/306] 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 9e6759e..8bb5c9d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,8 +52,8 @@ jobs: - image: cimg/base:2020.01 steps: - run : echo " rollback job pre-step" - - run: echo - - when: << parameters.run_job >> + - run: echo << parameters.run_job >> + - when: condition: << parameters.run_job >> steps: - run: echo "running rollback job" From c147306512904bacdc9611fde1d4da52b6a994c3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:54:58 -1000 Subject: [PATCH 024/306] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8bb5c9d..457f3d2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,8 @@ version: 2.1 +parameters: + run_job: + default: false + type: boolean workflows: my-workflow: @@ -44,10 +48,6 @@ jobs: steps: - run: echo "deploy" rollback: - parameters: - run_job: - default: false - type: boolean docker: - image: cimg/base:2020.01 steps: From 9d15c62e04d88e09c58254c3bfa705cf29b61172 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:56:14 -1000 Subject: [PATCH 025/306] 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 457f3d2..d62c928 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,9 +52,9 @@ jobs: - image: cimg/base:2020.01 steps: - run : echo " rollback job pre-step" - - run: echo << parameters.run_job >> + - run: echo << pipeline.parameters.run_job >> - when: - condition: << parameters.run_job >> + condition: << pipeline.parameters.run_job >> steps: - run: echo "running rollback job" From c90b62efd9d088aba84cd95db294b7d5d7a0252f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:57:15 -1000 Subject: [PATCH 026/306] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d62c928..937b6d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,11 +52,11 @@ jobs: - image: cimg/base:2020.01 steps: - run : echo " rollback job pre-step" - - run: echo << pipeline.parameters.run_job >> - - when: - condition: << pipeline.parameters.run_job >> - steps: - - run: echo "running rollback job" +# - run: echo << pipeline.parameters.run_job >> +# - when: +# condition: << pipeline.parameters.run_job >> +# steps: +# - run: echo "running rollback job" #test From 5dc85112c6448bb670c7da155ac68326ad016141 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 08:59:24 -1000 Subject: [PATCH 027/306] 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 937b6d0..9965166 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,8 @@ version: 2.1 parameters: run_job: - default: false - type: boolean + default: false + type: boolean workflows: my-workflow: From 4a36ea0d1ab958ce58823ed5ec09460ca3b94034 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:00:02 -1000 Subject: [PATCH 028/306] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9965166..f3c7f6e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,11 +52,11 @@ jobs: - image: cimg/base:2020.01 steps: - run : echo " rollback job pre-step" -# - run: echo << pipeline.parameters.run_job >> -# - when: -# condition: << pipeline.parameters.run_job >> -# steps: -# - run: echo "running rollback job" + - run: echo << pipeline.parameters.run_job >> + - when: + condition: << pipeline.parameters.run_job >> + steps: + - run: echo "running rollback job" #test From 53222c63ab07d896031a819e2bc2b9cc76e1a131 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:01:46 -1000 Subject: [PATCH 029/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f3c7f6e..4ea3529 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,7 @@ jobs: "run_job": true } }' + && echo "made api call" when: on_fail deploy: From 2554e988185770c5fd2f94aed8cf5ea153fa1a38 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:04:16 -1000 Subject: [PATCH 030/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ea3529..f3c7f6e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,6 @@ jobs: "run_job": true } }' - && echo "made api call" when: on_fail deploy: From 9e59562c5746c407a2f945755e828687cb3f4795 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:06:07 -1000 Subject: [PATCH 031/306] 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 f3c7f6e..328a7f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: command: | curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ --header 'Content-Type: application/json' \ - -u "${CIRCLECI_TOKEN}:" \ + -u "${CIRCLECI_TOKEN}" \ -d '{ "parameters": { "run_job": true From 6b3cb282c41b790e265042c61ad6a3b870072927 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:12:37 -1000 Subject: [PATCH 032/306] 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 328a7f1..d3b59d1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: command: | curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ --header 'Content-Type: application/json' \ - -u "${CIRCLECI_TOKEN}" \ + --header "${CIRCLECI_TOKEN}:" \ -d '{ "parameters": { "run_job": true From cc25d38b640c94ec5191d45e94f7eb15fcd0ec95 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:14:36 -1000 Subject: [PATCH 033/306] 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 d3b59d1..0317ffb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: command: | curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ --header 'Content-Type: application/json' \ - --header "${CIRCLECI_TOKEN}:" \ + -u "${CIRCLE_TOKEN}:" \ -d '{ "parameters": { "run_job": true From 6aae3181cba6cdc900b33e6501be9fdb0e34b19c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:18:19 -1000 Subject: [PATCH 034/306] Update config.yml --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0317ffb..c7f9656 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,9 @@ version: 2.1 parameters: run_job: - default: false type: boolean + default: false + workflows: my-workflow: @@ -53,10 +54,10 @@ jobs: steps: - run : echo " rollback job pre-step" - run: echo << pipeline.parameters.run_job >> - - when: - condition: << pipeline.parameters.run_job >> - steps: - - run: echo "running rollback job" + - when: + condition: << pipeline.parameters.run_job >> # this would be triggered when you pass the parameter value via API + steps: + - run: echo "running rollback steps...." #test From c17d8f50f64069a813a19fd80f2ff1c17d907638 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:20:50 -1000 Subject: [PATCH 035/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7f9656..bac74cc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,6 +22,10 @@ jobs: steps: - run: echo "hello world" + - unless: + condition: << pipeline.parameters.rub_job >> # by default this is triggered + steps: + - run: " triggered with a run_job parameter" test: From 69b6165b37eba6dca595d204c63d393adc17d423 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:21:37 -1000 Subject: [PATCH 036/306] 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 bac74cc..6931ee1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: - run: echo "hello world" - unless: - condition: << pipeline.parameters.rub_job >> # by default this is triggered + condition: << pipeline.parameters.run_job >> # by default this is triggered steps: - run: " triggered with a run_job parameter" From 5846d5dd0d1bd9fde502c0160747d468931b016b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:33:00 -1000 Subject: [PATCH 037/306] Update config.yml --- .circleci/config.yml | 49 +++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 33 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6931ee1..4805279 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,9 @@ version: 2.1 -parameters: - run_job: - type: boolean - default: false +commands: + rollback_steps: + steps: + - run: echo "run rollback steps" + workflows: @@ -22,46 +23,28 @@ jobs: steps: - run: echo "hello world" - - unless: - condition: << pipeline.parameters.run_job >> # by default this is triggered - steps: - - run: " triggered with a run_job parameter" - - + - run: + name: run rollback steps + commands: rollback_steps + when: on_fail + test: docker: - image: cimg/base:2020.01 steps: - run: echo "test job" - run: wqr - - run: - name: run rollback job - command: | - curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ - --header 'Content-Type: application/json' \ - -u "${CIRCLE_TOKEN}:" \ - -d '{ - "parameters": { - "run_job": true - } - }' - - when: on_fail + - run: + name: run rollback steps + commands: rollback_steps + when: on_fail + deploy: docker: - image: cimg/base:2020.01 steps: - run: echo "deploy" - rollback: - docker: - - image: cimg/base:2020.01 - steps: - - run : echo " rollback job pre-step" - - run: echo << pipeline.parameters.run_job >> - - when: - condition: << pipeline.parameters.run_job >> # this would be triggered when you pass the parameter value via API - steps: - - run: echo "running rollback steps...." + #test From 49156e9e45ca9b5e2c4d981b6573f10615a7f35d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:33:43 -1000 Subject: [PATCH 038/306] 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 4805279..94dd4eb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ workflows: - build - test - deploy - - rollback + From 8e1969d60df40dfdf6f3e140516f754ae7403fd5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:35:57 -1000 Subject: [PATCH 039/306] Update config.yml --- .circleci/config.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94dd4eb..9ff4667 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,10 +23,8 @@ jobs: steps: - run: echo "hello world" - - run: - name: run rollback steps - commands: rollback_steps - when: on_fail + - rollback_steps: + when: on_fail test: docker: @@ -34,10 +32,8 @@ jobs: steps: - run: echo "test job" - run: wqr - - run: - name: run rollback steps - commands: rollback_steps - when: on_fail + - rollback_steps: + when: on_fail deploy: docker: From 48109d831e050d09167c3fbe17345307be3885f9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:37:31 -1000 Subject: [PATCH 040/306] Update config.yml --- .circleci/config.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ff4667..358752c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,19 +3,7 @@ commands: rollback_steps: steps: - run: echo "run rollback steps" - - - -workflows: - my-workflow: - jobs: - - build - - test - - deploy - - - - + jobs: build: docker: @@ -40,6 +28,12 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "deploy" +workflows: + my-workflow: + jobs: + - build + - test + - deploy #test From 2458e2b72f7400e240aa4e0dffb47ae21ebe9c9b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:38:23 -1000 Subject: [PATCH 041/306] Update config.yml --- .circleci/config.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 358752c..e95a8e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,13 +28,13 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "deploy" -workflows: - my-workflow: - jobs: - - build - - test - - deploy - + #test - + workflows: + version: 2 + build-deploy: + jobs: + - build + - test + - deploy From 544dba085479b8ccaeead4ac1c7194003670ed20 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:39:23 -1000 Subject: [PATCH 042/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e95a8e2..f80e73e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,6 @@ jobs: #test workflows: - version: 2 build-deploy: jobs: - build From 3040ff317db22bb14157863865a0ef988c6aedfb Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:40:12 -1000 Subject: [PATCH 043/306] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f80e73e..60da8bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,17 +11,17 @@ jobs: steps: - run: echo "hello world" - - rollback_steps: - when: on_fail +# - rollback_steps: +# when: on_fail test: docker: - image: cimg/base:2020.01 steps: - run: echo "test job" - - run: wqr - - rollback_steps: - when: on_fail +# - run: wqr +# - rollback_steps: +# when: on_fail deploy: docker: From ca72a7ef08dd11ab5c076ef44e7191353618622e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:42:15 -1000 Subject: [PATCH 044/306] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 60da8bd..aecc4a1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,8 @@ version: 2.1 -commands: - rollback_steps: - steps: - - run: echo "run rollback steps" +# commands: +# rollback_steps: +# steps: +# - run: echo "run rollback steps" jobs: build: From 3dbab0ca0e26aebffb0d396d97782623de915b1c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:44:05 -1000 Subject: [PATCH 045/306] Update config.yml --- .circleci/config.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aecc4a1..4913a21 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,8 @@ version: 2.1 -# commands: -# rollback_steps: -# steps: -# - run: echo "run rollback steps" +commands: + rollback_steps: + steps: + - run: echo "run rollback steps" jobs: build: @@ -11,17 +11,17 @@ jobs: steps: - run: echo "hello world" -# - rollback_steps: -# when: on_fail + - rollback_steps: + when: on_fail test: docker: - image: cimg/base:2020.01 steps: - run: echo "test job" -# - run: wqr -# - rollback_steps: -# when: on_fail + - run: wqr + - rollback_steps: + when: on_fail deploy: docker: @@ -31,8 +31,8 @@ jobs: #test - workflows: - build-deploy: +workflows: + build-test: jobs: - build - test From 12ed3c548712c2befeed74df4d39f6652829111e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:46:27 -1000 Subject: [PATCH 046/306] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4913a21..bc851da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,8 +11,8 @@ jobs: steps: - run: echo "hello world" - - rollback_steps: - when: on_fail + - rollback_steps +# when: on_fail test: docker: @@ -20,8 +20,8 @@ jobs: steps: - run: echo "test job" - run: wqr - - rollback_steps: - when: on_fail +# - rollback_steps: +# when: on_fail deploy: docker: From 775683dbe9f8db24d9fbf1be668e2ac8be1ca81c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 12:48:26 -1000 Subject: [PATCH 047/306] Update config.yml --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bc851da..ffbafd4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,8 +11,11 @@ jobs: steps: - run: echo "hello world" - - rollback_steps -# when: on_fail + - run: + name: consitionally run roll back steps + command: rollback_steps + when: on_fail + test: docker: From 81bf020d69aa15dafb0e768c50744caaba9dfe39 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:38:39 -1000 Subject: [PATCH 048/306] Update config.yml --- .circleci/config.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ffbafd4..bed1289 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,5 @@ version: 2.1 -commands: - rollback_steps: - steps: - - run: echo "run rollback steps" + jobs: build: @@ -10,11 +7,12 @@ jobs: - image: cimg/base:2020.01 steps: - - run: echo "hello world" - - run: - name: consitionally run roll back steps - command: rollback_steps - when: on_fail + - run: wqr + - when: on_fail + name: consitionally run roll back steps + command: echo "failed step" + + test: @@ -22,7 +20,7 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "test job" - - run: wqr + # - rollback_steps: # when: on_fail @@ -31,6 +29,11 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "deploy" + rollback: + docker: + - image: cimg/base:2020.01 + steps: + - run: echo "deploy" #test @@ -40,3 +43,4 @@ workflows: - build - test - deploy + - rollback From 5f0de05bec307a5cf55dfb9c42ebdcfbdfc6de8a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:48:20 -1000 Subject: [PATCH 049/306] Update config.yml --- .circleci/config.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bed1289..3cfdcd1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,9 @@ version: 2.1 +parameters: + rollback_job: + type: boolean + default: false + jobs: @@ -7,12 +12,8 @@ jobs: - image: cimg/base:2020.01 steps: - - run: wqr - - when: on_fail - name: consitionally run roll back steps - command: echo "failed step" - - + - run: echo "build job" + test: @@ -33,7 +34,7 @@ jobs: docker: - image: cimg/base:2020.01 steps: - - run: echo "deploy" + - run: echo "rollback" #test @@ -43,4 +44,13 @@ workflows: - build - test - deploy - - rollback + rollback_workflow: + when: + equal: [ true, << pipeline.parameters.rollback_job >> ] + jobs: + - rollback + + + + + From afb6cec4470702bf32862896949114bd37d03ba3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:50:15 -1000 Subject: [PATCH 050/306] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3cfdcd1..0ff2e3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,11 +44,11 @@ workflows: - build - test - deploy - rollback_workflow: - when: - equal: [ true, << pipeline.parameters.rollback_job >> ] - jobs: - - rollback + rollback_workflow: + when: << pipeline.parameters.rollback_job >> + jobs: + - rollback + From 71e986eb6f86e2693d17e49a7d9619f9ff47e7d8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:51:12 -1000 Subject: [PATCH 051/306] Update config.yml --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ff2e3d..8a9d7ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,9 @@ version: 2.1 -parameters: - rollback_job: - type: boolean - default: false + +parameters: + rollback_job: + type: boolean + default: false From 9a828725179833bb19f95fa293c899256147ef8f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:54:27 -1000 Subject: [PATCH 052/306] Update config.yml --- .circleci/config.yml | 47 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8a9d7ae..a28e591 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,19 @@ jobs: steps: - run: echo "build job" + - run: + name: run rollback job + command: | + curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ + --header 'Content-Type: application/json' \ + -u "${CIRCLE_TOKEN}:" \ + -d '{ + "parameters": { + "rollback_job": true + } + }' + + when: on_fail @@ -22,6 +35,19 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "test job" + - run: + name: run rollback job + command: | + curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ + --header 'Content-Type: application/json' \ + -u "${CIRCLE_TOKEN}:" \ + -d '{ + "parameters": { + "rollback_job": true + } + }' + + when: on_fail # - rollback_steps: # when: on_fail @@ -31,6 +57,19 @@ jobs: - image: cimg/base:2020.01 steps: - run: echo "deploy" + - run: + name: run rollback job + command: | + curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ + --header 'Content-Type: application/json' \ + -u "${CIRCLE_TOKEN}:" \ + -d '{ + "parameters": { + "rollback_job": true + } + }' + + when: on_fail rollback: docker: - image: cimg/base:2020.01 @@ -43,8 +82,12 @@ workflows: build-test: jobs: - build - - test - - deploy + - test: + requires: + - build + - deploy: + requires: + - test rollback_workflow: when: << pipeline.parameters.rollback_job >> jobs: From 9d9454b5be86066a2370a002a5f6664853c451a8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:25:41 -1000 Subject: [PATCH 053/306] Update config.yml --- .circleci/config.yml | 196 +++++++++++++++++++++++++------------------ 1 file changed, 116 insertions(+), 80 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a28e591..0c2019b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,100 +1,136 @@ -version: 2.1 +# version: 2.1 -parameters: - rollback_job: - type: boolean - default: false +# parameters: +# rollback_job: +# type: boolean +# default: false -jobs: - build: - docker: - - image: cimg/base:2020.01 - steps: +# jobs: +# build: +# docker: +# - image: cimg/base:2020.01 +# steps: - - run: echo "build job" - - run: - name: run rollback job - command: | - curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ - --header 'Content-Type: application/json' \ - -u "${CIRCLE_TOKEN}:" \ - -d '{ - "parameters": { - "rollback_job": true - } - }' +# - run: echo "build job" +# - run: +# name: run rollback job +# command: | +# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ +# --header 'Content-Type: application/json' \ +# -u "${CIRCLE_TOKEN}:" \ +# -d '{ +# "parameters": { +# "rollback_job": true +# } +# }' - when: on_fail +# when: on_fail - test: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "test job" - - run: - name: run rollback job - command: | - curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ - --header 'Content-Type: application/json' \ - -u "${CIRCLE_TOKEN}:" \ - -d '{ - "parameters": { - "rollback_job": true - } - }' +# test: +# docker: +# - image: cimg/base:2020.01 +# steps: +# - run: echo "test job" +# - run: +# name: run rollback job +# command: | +# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ +# --header 'Content-Type: application/json' \ +# -u "${CIRCLE_TOKEN}:" \ +# -d '{ +# "parameters": { +# "rollback_job": true +# } +# }' - when: on_fail +# when: on_fail -# - rollback_steps: -# when: on_fail +# # - rollback_steps: +# # when: on_fail - deploy: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "deploy" - - run: - name: run rollback job - command: | - curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ - --header 'Content-Type: application/json' \ - -u "${CIRCLE_TOKEN}:" \ - -d '{ - "parameters": { - "rollback_job": true - } - }' +# deploy: +# docker: +# - image: cimg/base:2020.01 +# steps: +# - run: echo "deploy" +# - run: +# name: run rollback job +# command: | +# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ +# --header 'Content-Type: application/json' \ +# -u "${CIRCLE_TOKEN}:" \ +# -d '{ +# "parameters": { +# "rollback_job": true +# } +# }' - when: on_fail - rollback: - docker: - - image: cimg/base:2020.01 - steps: - - run: echo "rollback" +# when: on_fail +# rollback: +# docker: +# - image: cimg/base:2020.01 +# steps: +# - run: echo "rollback" - #test -workflows: - build-test: - jobs: - - build - - test: - requires: - - build - - deploy: - requires: - - test - rollback_workflow: - when: << pipeline.parameters.rollback_job >> - jobs: - - rollback +# #test +# workflows: +# build-test: +# jobs: +# - build +# - test: +# requires: +# - build +# - deploy: +# requires: +# - test +# rollback_workflow: +# when: << pipeline.parameters.rollback_job >> +# jobs: +# - rollback - + +version: 2.1 + +executors: + docker: + docker: + - image: cimg/base:2020.01 + linux: + machine: + image: ubuntu-1604:202004-01 + macos: + macos: + xcode: 11.4 + +orbs: + win: circleci/windows@2.4.0 + +jobs: + matrix-test: + parameters: + os: + type: string + subject: + type: string + executor: << parameters.os >> + steps: + - checkout + - run: echo “Hello << parameters.subject >>!” + +workflows: + matrix-test: + jobs: + - matrix-test: + matrix + parameters: + os: [docker, linux, macos, win/default] + subject: ["World", "Friend", "Baby"] From 62e13451feccb9fd9817bdbb56f0e735d437bde4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:29:23 -1000 Subject: [PATCH 054/306] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c2019b..97656b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -128,9 +128,9 @@ jobs: workflows: matrix-test: - jobs: - - matrix-test: - matrix + jobs: + - matrix-test: + matrix parameters: os: [docker, linux, macos, win/default] subject: ["World", "Friend", "Baby"] From b313c6a04d6675ae25d9697ecfbd33b435754424 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:31:59 -1000 Subject: [PATCH 055/306] 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 97656b9..98c57ea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -130,7 +130,7 @@ workflows: matrix-test: jobs: - matrix-test: - matrix + Matrix parameters: os: [docker, linux, macos, win/default] subject: ["World", "Friend", "Baby"] From 3405107e6d480dc4f919e801c5a42589aaf9a18d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:34:19 -1000 Subject: [PATCH 056/306] 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 98c57ea..e162623 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -130,7 +130,7 @@ workflows: matrix-test: jobs: - matrix-test: - Matrix + matrix: parameters: os: [docker, linux, macos, win/default] subject: ["World", "Friend", "Baby"] From fbf0c94d2f2b360065ff13536cbb45faaf3eeb6d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:36:30 -1000 Subject: [PATCH 057/306] 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 e162623..2d3c821 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,7 +127,7 @@ jobs: - run: echo “Hello << parameters.subject >>!” workflows: - matrix-test: + matri-test: jobs: - matrix-test: matrix: From 4045010ec98b4ac2137f355085f1d046dc2bbb36 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:45:22 -1000 Subject: [PATCH 058/306] Update config.yml --- .circleci/config.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d3c821..b113f82 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -126,11 +126,19 @@ jobs: - checkout - run: echo “Hello << parameters.subject >>!” +# workflows: +# matri-test: +# jobs: +# - matrix-test: +# matrix: +# parameters: +# os: [docker, linux, macos, win/default] +# subject: ["World", "Friend", "Baby"] workflows: - matri-test: + all-tests: jobs: - matrix-test: - matrix: + matrix: parameters: os: [docker, linux, macos, win/default] - subject: ["World", "Friend", "Baby"] + subject: ["World", "Friend", "Baby"] From efa20dddfa39e1745abe86b26684340c56a7a9c0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 20 Jul 2021 13:15:27 -1000 Subject: [PATCH 059/306] Update config.yml --- .circleci/config.yml | 168 ++++++++----------------------------------- 1 file changed, 28 insertions(+), 140 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b113f82..24de787 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,144 +1,32 @@ -# version: 2.1 - -# parameters: -# rollback_job: -# type: boolean -# default: false - - - -# jobs: -# build: -# docker: -# - image: cimg/base:2020.01 -# steps: - -# - run: echo "build job" -# - run: -# name: run rollback job -# command: | -# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ -# --header 'Content-Type: application/json' \ -# -u "${CIRCLE_TOKEN}:" \ -# -d '{ -# "parameters": { -# "rollback_job": true -# } -# }' - -# when: on_fail - - - -# test: -# docker: -# - image: cimg/base:2020.01 -# steps: -# - run: echo "test job" -# - run: -# name: run rollback job -# command: | -# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ -# --header 'Content-Type: application/json' \ -# -u "${CIRCLE_TOKEN}:" \ -# -d '{ -# "parameters": { -# "rollback_job": true -# } -# }' - -# when: on_fail - -# # - rollback_steps: -# # when: on_fail - -# deploy: -# docker: -# - image: cimg/base:2020.01 -# steps: -# - run: echo "deploy" -# - run: -# name: run rollback job -# command: | -# curl --location --request POST 'https://circleci.com/api/v2/project/gh/HennaAbbas/test_/pipeline' \ -# --header 'Content-Type: application/json' \ -# -u "${CIRCLE_TOKEN}:" \ -# -d '{ -# "parameters": { -# "rollback_job": true -# } -# }' - -# when: on_fail -# rollback: -# docker: -# - image: cimg/base:2020.01 -# steps: -# - run: echo "rollback" - - -# #test -# workflows: -# build-test: -# jobs: -# - build -# - test: -# requires: -# - build -# - deploy: -# requires: -# - test -# rollback_workflow: -# when: << pipeline.parameters.rollback_job >> -# jobs: -# - rollback - - - - - - -version: 2.1 - -executors: - docker: - docker: - - image: cimg/base:2020.01 - linux: - machine: - image: ubuntu-1604:202004-01 - macos: - macos: - xcode: 11.4 - -orbs: - win: circleci/windows@2.4.0 - +version: 2 jobs: - matrix-test: - parameters: - os: - type: string - subject: - type: string - executor: << parameters.os >> + build: + docker: + - image: circleci/python:3.6.2-stretch-browsers + auth: + username: mydockerhub-user + password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + environment: + FLASK_CONFIG: testing + TEST_DATABASE_URL: postgresql://ubuntu@localhost/circle_test?sslmode=disable + - image: circleci/postgres:9.6.5-alpine-ram + auth: + username: mydockerhub-user + password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + environment: + POSTGRES_USER: ubuntu + POSTGRES_DB: circle_test + POSTGRES_PASSWORD: "" steps: - checkout - - run: echo “Hello << parameters.subject >>!” + - run: mkdir test-reports + - run: + name: Download Selenium + command: | + curl -O http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.5.3.jar + - run: + name: Start Selenium + command: | + java -jar selenium-server-standalone-3.5.3.jar -log test-reports/selenium.log + background: true -# workflows: -# matri-test: -# jobs: -# - matrix-test: -# matrix: -# parameters: -# os: [docker, linux, macos, win/default] -# subject: ["World", "Friend", "Baby"] -workflows: - all-tests: - jobs: - - matrix-test: - matrix: - parameters: - os: [docker, linux, macos, win/default] - subject: ["World", "Friend", "Baby"] From 1d0c030323ed4d894a08395addbb631aafd878fa Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 07:36:01 -1000 Subject: [PATCH 060/306] Update config.yml --- .circleci/config.yml | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 24de787..e2c31b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,30 +3,22 @@ jobs: build: docker: - image: circleci/python:3.6.2-stretch-browsers - auth: - username: mydockerhub-user - password: $DOCKERHUB_PASSWORD # context / project UI env-var reference - environment: - FLASK_CONFIG: testing - TEST_DATABASE_URL: postgresql://ubuntu@localhost/circle_test?sslmode=disable - - image: circleci/postgres:9.6.5-alpine-ram - auth: - username: mydockerhub-user - password: $DOCKERHUB_PASSWORD # context / project UI env-var reference - environment: - POSTGRES_USER: ubuntu - POSTGRES_DB: circle_test - POSTGRES_PASSWORD: "" +# auth: +# username: mydockerhub-user +# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference +# environment: +# FLASK_CONFIG: testing +# TEST_DATABASE_URL: postgresql://ubuntu@localhost/circle_test?sslmode=disable +# - image: circleci/postgres:9.6.5-alpine-ram +# auth: +# username: mydockerhub-user +# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference +# environment: +# POSTGRES_USER: ubuntu +# POSTGRES_DB: circle_test +# POSTGRES_PASSWORD: "" steps: - - checkout - - run: mkdir test-reports - - run: - name: Download Selenium - command: | - curl -O http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.5.3.jar - - run: - name: Start Selenium - command: | - java -jar selenium-server-standalone-3.5.3.jar -log test-reports/selenium.log - background: true + + - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . + From 55047f4480d90425cce03042a28991f2f730017c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:25:42 -1000 Subject: [PATCH 061/306] Update config.yml --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e2c31b9..1c0e0b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,18 @@ jobs: # POSTGRES_DB: circle_test # POSTGRES_PASSWORD: "" steps: + - run: + name: Git config + command: | + mkdir -p ~/.ssh + touch ~/.ssh/known_hosts + if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then + ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null + fi + touch ~/.ssh/config + echo "Host github.com + Hostname ssh.github.com + Port 443" >> ~/.ssh/config - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . From c6357d53b05079107b71c82b9b07ffc5570a2c0b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:26:19 -1000 Subject: [PATCH 062/306] Update config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c0e0b9..7952c75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,9 +27,7 @@ jobs: ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null fi touch ~/.ssh/config - echo "Host github.com - Hostname ssh.github.com - Port 443" >> ~/.ssh/config + echo "Host github.com Hostname ssh.github.com Port 443" >> ~/.ssh/config - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . From 5c0c9f7fbc5b3887559a42e72ba5c928d4a09e26 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:29:16 -1000 Subject: [PATCH 063/306] 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 7952c75..d5f32d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,8 +26,8 @@ jobs: if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null fi - touch ~/.ssh/config - echo "Host github.com Hostname ssh.github.com Port 443" >> ~/.ssh/config + + - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . From 80cc7c10eb249fc9382a04bd8aee13b752039a65 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:30:01 -1000 Subject: [PATCH 064/306] Update config.yml --- .circleci/config.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5f32d7..8e0498d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,14 +18,14 @@ jobs: # POSTGRES_DB: circle_test # POSTGRES_PASSWORD: "" steps: - - run: - name: Git config - command: | - mkdir -p ~/.ssh - touch ~/.ssh/known_hosts - if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then - ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null - fi +# - run: +# name: Git config +# command: | +# mkdir -p ~/.ssh +# touch ~/.ssh/known_hosts +# if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then +# ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null +# fi From 60abd8af03ba91f9a8d59d784e46830652092c52 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:32:53 -1000 Subject: [PATCH 065/306] Update config.yml --- .circleci/config.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e0498d..2227017 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,14 +18,16 @@ jobs: # POSTGRES_DB: circle_test # POSTGRES_PASSWORD: "" steps: -# - run: -# name: Git config -# command: | -# mkdir -p ~/.ssh -# touch ~/.ssh/known_hosts -# if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then -# ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null -# fi + - run: + name: Git config + command: | + mkdir -p ~/.ssh + touch ~/.ssh/known_hosts + if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then + ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null + fi + git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: + git config --global gc.auto 0 ||: From a150746818c78b420aa9a81a55268fc53793ae8e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 2 Aug 2021 08:35:22 -1000 Subject: [PATCH 066/306] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2227017..993bd42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,11 +26,11 @@ jobs: if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null fi - git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: - git config --global gc.auto 0 ||: - - + git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: + git config --global gc.auto 0 ||: + shell: /usr/bin/env bash -eox pipefail -c + - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . From 0eb46535d95fce015f5dd95f4a2e50025d2940f1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 6 Aug 2021 10:33:14 -0700 Subject: [PATCH 067/306] Update config.yml --- .circleci/config.yml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 993bd42..f66d9f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,19 +18,29 @@ jobs: # POSTGRES_DB: circle_test # POSTGRES_PASSWORD: "" steps: +# - run: +# name: Git config +# command: | +# mkdir -p ~/.ssh +# touch ~/.ssh/known_hosts +# if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then +# ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null +# fi + +# git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: +# git config --global gc.auto 0 ||: +# shell: /usr/bin/env bash -eox pipefail -c - run: - name: Git config + name: Dependency Audit command: | - mkdir -p ~/.ssh - touch ~/.ssh/known_hosts - if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then - ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null + response_code=$(curl https://registry.yarnpkg.com/-/npm/v1/security/audits -s -o /dev/null -X POST -d {} -w '%{http_code}') + if [ $response_code = 200 ]; then + yarn audit --network-timeout=100000 + else + echo -e "\e[41myarn audit server failed with status code $response_code. Skipping." + exit 0 fi - - git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: - git config --global gc.auto 0 ||: - shell: /usr/bin/env bash -eox pipefail -c - - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . +# - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . From f3d28c931889eef6661819925c11419949f212ce Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 29 Sep 2021 00:17:01 +0100 Subject: [PATCH 068/306] Update config.yml --- .circleci/config.yml | 70 ++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 39 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f66d9f4..b42cf6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,46 +1,38 @@ -version: 2 +version: 2.1 + + + jobs: build: docker: - - image: circleci/python:3.6.2-stretch-browsers -# auth: -# username: mydockerhub-user -# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference -# environment: -# FLASK_CONFIG: testing -# TEST_DATABASE_URL: postgresql://ubuntu@localhost/circle_test?sslmode=disable -# - image: circleci/postgres:9.6.5-alpine-ram -# auth: -# username: mydockerhub-user -# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference -# environment: -# POSTGRES_USER: ubuntu -# POSTGRES_DB: circle_test -# POSTGRES_PASSWORD: "" + - image: cimg/python:3.8.12-browsers + steps: -# - run: -# name: Git config -# command: | -# mkdir -p ~/.ssh -# touch ~/.ssh/known_hosts -# if [ ! -n "$(grep "^github.com " "$HOME"/.ssh/known_hosts)" ]; then -# ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null -# fi -# git config --global url."ssh://git@github.com".insteadOf "https://github.com" ||: -# git config --global gc.auto 0 ||: -# shell: /usr/bin/env bash -eox pipefail -c - - run: - name: Dependency Audit - command: | - response_code=$(curl https://registry.yarnpkg.com/-/npm/v1/security/audits -s -o /dev/null -X POST -d {} -w '%{http_code}') - if [ $response_code = 200 ]; then - yarn audit --network-timeout=100000 - else - echo -e "\e[41myarn audit server failed with status code $response_code. Skipping." - exit 0 - fi - -# - run: git clone --branch $CIRCLE_BRANCH --single-branch --depth 1 $CIRCLE_REPOSITORY_URL . + - run : echo "hello world! this is the build job" + + + test: + docker: + - image: circleci/python:3.8.12-node-browsers + steps: + - run : echo "hello world - test job" + + +# # # +workflows: + build_and_push: + jobs: + - build + + my-workflow: + when: + and: + - not: + matches: + pattern: "^master$" + value: << pipeline.git.branch >> + jobs: + - test From ed131a31d826da04dcb5311cf0576db57708ad6b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:12:39 -1000 Subject: [PATCH 069/306] Update config.yml --- .circleci/config.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b42cf6a..8c1a0f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,13 +26,4 @@ workflows: build_and_push: jobs: - build - - my-workflow: - when: - and: - - not: - matches: - pattern: "^master$" - value: << pipeline.git.branch >> - jobs: - test From dd370c0b0b748344dc7ca5f2902d52334b9a9713 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:13:46 -1000 Subject: [PATCH 070/306] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c1a0f1..ed2aa73 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,5 @@ version: 2.1 - - jobs: build: docker: From 695129467daa3d69bafc121513592cc40b79f958 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:15:02 -1000 Subject: [PATCH 071/306] Update config.yml --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ed2aa73..22a3fd8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,13 @@ jobs: - image: circleci/python:3.8.12-node-browsers steps: - - run : echo "hello world - test job" + - run : echo "hello world - test job" + + fail: + docker: + - image: circleci/python:3.8.12-node-browsers + steps: + - run : wqr # # # @@ -25,3 +31,4 @@ workflows: jobs: - build - test + - fail From 40c3fa4977a03a4d5864a78d20e6dd6daf28b84b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 17 Nov 2021 07:39:33 -1000 Subject: [PATCH 072/306] Update config.yml --- .circleci/config.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 22a3fd8..56bc8dc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,18 @@ jobs: steps: - - run : echo "hello world! this is the build job" + - run : echo "hello world! this is the build job" + - run: + name: add environment variable + command: | + curl -u "${CIRCLECI_TOKEN}": -X POST --header "Content-Type: application/json" -d '{"parameters": {"branch_name": "${CIRCLE_BRANCH}"}}' https://circleci.com/api/v2/project/github/HennaAbbas/test_/pipeline + + + + + + + @@ -18,11 +29,7 @@ jobs: steps: - run : echo "hello world - test job" - fail: - docker: - - image: circleci/python:3.8.12-node-browsers - steps: - - run : wqr + # # # From 769ca2a376671702db463b43f6d5ffc1e9985bc9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 17 Nov 2021 07:39:54 -1000 Subject: [PATCH 073/306] 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 56bc8dc..aa88628 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,4 +38,4 @@ workflows: jobs: - build - test - - fail + From f4f03972e170084c3fdbcb7c2bda71539be8bcb4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 17 Nov 2021 07:44:11 -1000 Subject: [PATCH 074/306] Update config.yml --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aa88628..090e4c3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,13 +14,7 @@ jobs: curl -u "${CIRCLECI_TOKEN}": -X POST --header "Content-Type: application/json" -d '{"parameters": {"branch_name": "${CIRCLE_BRANCH}"}}' https://circleci.com/api/v2/project/github/HennaAbbas/test_/pipeline - - - - - - test: docker: From 405084a3f34e7077c770c017f9edb6718a4505f6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 17 Nov 2021 07:46:35 -1000 Subject: [PATCH 075/306] 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 090e4c3..6ab0e27 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: command: | curl -u "${CIRCLECI_TOKEN}": -X POST --header "Content-Type: application/json" -d '{"parameters": {"branch_name": "${CIRCLE_BRANCH}"}}' https://circleci.com/api/v2/project/github/HennaAbbas/test_/pipeline - + # test: From 704db3bdf183f1a196923a7ff7d68799aca6c21a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:25:50 -1000 Subject: [PATCH 076/306] Update config.yml --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ab0e27..281edb5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,5 +31,12 @@ workflows: build_and_push: jobs: - build - - test + - test + - hold: + type: approval + requires: + - test + - build: + requires: + - hold From b9dd734e387981c90b6007f31c3efee0d1d7a2a5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:26:34 -1000 Subject: [PATCH 077/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 281edb5..1496c59 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,3 +40,4 @@ workflows: requires: - hold +#test From bf70e78233a67774156fdf518dcbbc34db28519e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:43:34 -1000 Subject: [PATCH 078/306] Update config.yml --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1496c59..4dc4a81 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,6 +23,13 @@ jobs: steps: - run : echo "hello world - test job" + will_fail: + docker: + - image: circleci/python:3.8.12-node-browsers + + steps: + - run : wqr + @@ -36,8 +43,10 @@ workflows: type: approval requires: - test + - will_fail: + requires: + - hold - build: requires: - hold - #test From 590fe3eb0f4487ebb911d20f23c8ed621495f505 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:46:05 -1000 Subject: [PATCH 079/306] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4dc4a81..43f4165 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,4 +49,7 @@ workflows: - build: requires: - hold + - build: + requires: + - will_fail #test From dea4a1ac5e6a2798ac5ad49ff990e717b06ba1c9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 12:01:17 -1000 Subject: [PATCH 080/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 43f4165..101882f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,11 @@ workflows: - build: requires: - hold + context: + my-context - build: requires: - will_fail + context: + my-context #test From c065496b694e5025c9da0c9f732b7d3d7be0eb27 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 12:05:27 -1000 Subject: [PATCH 081/306] Update config.yml --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 101882f..c5127a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,14 +46,20 @@ workflows: - will_fail: requires: - hold + tags: + only: /^recs-v.*/ - build: requires: - hold context: my-context + tags: + only: /^recs-v.*/ - build: requires: - will_fail context: - my-context + my-context + tags: + only: /^recs-v.*/ #test From fb38e6d8cbf552f5553433f3419e05a2194b63f2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Dec 2021 12:10:19 -1000 Subject: [PATCH 082/306] Update config.yml --- .circleci/config.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c5127a5..145a8e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,20 +46,23 @@ workflows: - will_fail: requires: - hold - tags: - only: /^recs-v.*/ + filters: + tags: + only: /^recs-v.*/ - build: requires: - hold context: my-context - tags: - only: /^recs-v.*/ + filters: + tags: + only: /^recs-v.*/ - build: requires: - will_fail context: my-context - tags: - only: /^recs-v.*/ + filters: + tags: + only: /^recs-v.*/ #test From f42ef40fd95f4ff413a94b70685487c905829078 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:20:36 -0800 Subject: [PATCH 083/306] Update config.yml --- .circleci/config.yml | 74 +++++++------------------------------------- 1 file changed, 11 insertions(+), 63 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 145a8e6..6d0ceed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,68 +1,16 @@ -version: 2.1 - +version: 2 jobs: - build: - docker: - - image: cimg/python:3.8.12-browsers - - steps: - - - run : echo "hello world! this is the build job" - - run: - name: add environment variable - command: | - curl -u "${CIRCLECI_TOKEN}": -X POST --header "Content-Type: application/json" -d '{"parameters": {"branch_name": "${CIRCLE_BRANCH}"}}' https://circleci.com/api/v2/project/github/HennaAbbas/test_/pipeline - - # - - test: docker: - - image: circleci/python:3.8.12-node-browsers - - steps: - - run : echo "hello world - test job" - - will_fail: - docker: - - image: circleci/python:3.8.12-node-browsers - - steps: - - run : wqr + - image: cimg/ruby:3.1 + steps: # steps that comprise the `build` job + - run: + shell: /usr/local/bin/rub + command: | + puts "hello" - - - -# # # workflows: - build_and_push: - jobs: - - build - - test - - hold: - type: approval - requires: - - test - - will_fail: - requires: - - hold - filters: - tags: - only: /^recs-v.*/ - - build: - requires: - - hold - context: - my-context - filters: - tags: - only: /^recs-v.*/ - - build: - requires: - - will_fail - context: - my-context - filters: - tags: - only: /^recs-v.*/ -#test + version: 2 + build: + jobs: + - test From c4d12644274f5c23d778ce5fe73a1f4d25b47074 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:22:57 -0800 Subject: [PATCH 084/306] Update config.yml --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d0ceed..32007ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,10 +4,14 @@ jobs: docker: - image: cimg/ruby:3.1 steps: # steps that comprise the `build` job - - run: - shell: /usr/local/bin/rub - command: | - puts "hello" +# - run: +# shell: /usr/local/bin/rub +# command: | +# puts "hello" + - run: + shell: /usr/local/bin/rub + command: | + puts "hello" workflows: version: 2 From c7261d85482257142279d81fdf933f772c7d245e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:23:54 -0800 Subject: [PATCH 085/306] 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 32007ae..045e1f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: # command: | # puts "hello" - run: - shell: /usr/local/bin/rub + shell: /usr/local/bin/ruby command: | puts "hello" From 16f93fc09453577fc7ddd9495eb3b4a75560d416 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 24 Jan 2022 07:56:55 -1000 Subject: [PATCH 086/306] Update config.yml --- .circleci/config.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 045e1f6..78b8e72 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,14 +4,7 @@ jobs: docker: - image: cimg/ruby:3.1 steps: # steps that comprise the `build` job -# - run: -# shell: /usr/local/bin/rub -# command: | -# puts "hello" - - run: - shell: /usr/local/bin/ruby - command: | - puts "hello" + - run: echo "hello world!" workflows: version: 2 From 90653004285e90dc765298718d159ea97ad8a311 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 24 Jan 2022 08:16:12 -1000 Subject: [PATCH 087/306] Update config.yml --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 78b8e72..b3c7b45 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,6 +5,12 @@ jobs: - image: cimg/ruby:3.1 steps: # steps that comprise the `build` job - run: echo "hello world!" + - add_ssh_keys: + steps: + - add_ssh_keys: + fingerprints: + - "00:00:12:3a:05:f7:87:4b:5a:fe:4c:5c:6d:14:a7:06" + workflows: version: 2 From 1cf5bc7caf44c4566eabb613b81ff5752516120b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 24 Jan 2022 08:18:03 -1000 Subject: [PATCH 088/306] Update config.yml --- .circleci/config.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b3c7b45..e976ded 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,11 +5,9 @@ jobs: - image: cimg/ruby:3.1 steps: # steps that comprise the `build` job - run: echo "hello world!" - - add_ssh_keys: - steps: - - add_ssh_keys: - fingerprints: - - "00:00:12:3a:05:f7:87:4b:5a:fe:4c:5c:6d:14:a7:06" + - add_ssh_keys: + fingerprints: + - "00:00:12:3a:05:f7:87:4b:5a:fe:4c:5c:6d:14:a7:06" workflows: From f162103706e2deee922ef2f954112ff3e3a31923 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Feb 2022 07:31:22 -1000 Subject: [PATCH 089/306] Update config.yml --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e976ded..c8f9402 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,12 +2,10 @@ version: 2 jobs: test: docker: - - image: cimg/ruby:3.1 + - image: cimg/python:3.9.10-browsers steps: # steps that comprise the `build` job - run: echo "hello world!" - - add_ssh_keys: - fingerprints: - - "00:00:12:3a:05:f7:87:4b:5a:fe:4c:5c:6d:14:a7:06" + workflows: From 1afe6a4ad3510076eed06e0761977ea872e20a6e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Feb 2022 07:49:07 -1000 Subject: [PATCH 090/306] Update config.yml --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c8f9402..03e9cda 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,12 @@ jobs: docker: - image: cimg/python:3.9.10-browsers steps: # steps that comprise the `build` job - - run: echo "hello world!" + - run: + name: "Install backend dependencies" + command: | + python3.9 -m venv venv + source venv/bin/activate + pip3.9 install -r requirements-dev.txt From 0df78a33cb0610979a21eee0fddf8abc3fbd76b9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Feb 2022 07:54:50 -1000 Subject: [PATCH 091/306] Create requirements-dev.txt --- requirements-dev.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 requirements-dev.txt diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..4b051bb --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,6 @@ +dj-database-url==0.4.2 --hash=sha256:e16d94c382ea0564c48038fa7fe8d9c890ef1ab1a8ec4cb48e732c124b9482fd --hash=sha256:a6832d8445ee9d788c5baa48aef8130bf61fdc442f7d9a548424d25cd85c9f08 +django==2.2.1 --hash=sha256:40afe6b8d4b1117e7dff5504d7a8ce07d9a1b15aeeade8a2d10f130a834f8177 +gunicorn==19.7.1 --hash=sha256:75af03c99389535f218cc596c7de74df4763803f7b63eb09d77e92b3956b36c6 --hash=sha256:eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622 +psycopg2==2.7.3.2 --hash=sha256:594aa9a095de16614f703d759e10c018bdffeafce2921b8e80a0e8a0ebbc12e5 --hash=sha256:1cf5d84290c771eeecb734abe2c6c3120e9837eb12f99474141a862b9061ac51 --hash=sha256:0344b181e1aea37a58c218ccb0f0f771295de9aa25a625ed076e6996c6530f9e --hash=sha256:25250867a4cd1510fb755ef9cb38da3065def999d8e92c44e49a39b9b76bc893 --hash=sha256:317612d5d0ca4a9f7e42afb2add69b10be360784d21ce4ecfbca19f1f5eadf43 --hash=sha256:9d6266348b15b4a48623bf4d3e50445d8e581da413644f365805b321703d0fac --hash=sha256:ddca39cc55877653b5fcf59976d073e3d58c7c406ef54ae8e61ddf8782867182 --hash=sha256:988d2ec7560d42ef0ac34b3b97aad14c4f068792f00e1524fa1d3749fe4e4b64 --hash=sha256:7a9c6c62e6e05df5406e9b5235c31c376a22620ef26715a663cee57083b3c2ea --hash=sha256:7a75565181e75ba0b9fb174b58172bf6ea9b4331631cfe7bafff03f3641f5d73 --hash=sha256:94e4128ba1ea56f02522fffac65520091a9de3f5c00da31539e085e13db4771b --hash=sha256:92179bd68c2efe72924a99b6745a9172471931fc296f9bfdf9645b75eebd6344 --hash=sha256:b9358e203168fef7bfe9f430afaed3a2a624717a1d19c7afa7dfcbd76e3cd95c --hash=sha256:009e0bc09a57dbef4b601cb8b46a2abad51f5274c8be4bba276ff2884cd4cc53 --hash=sha256:d3ac07240e2304181ffdb13c099840b5eb555efc7be9344503c0c03aa681de79 --hash=sha256:40fa5630cd7d237cd93c4d4b64b9e5ed9273d1cfce55241c7f9066f5db70629d --hash=sha256:6c2f1a76a9ebd9ecf7825b9e20860139ca502c2bf1beabf6accf6c9e66a7e0c3 --hash=sha256:37f54452c7787dbdc0a634ca9773362b91709917f0b365ed14b831f03cbd34ba --hash=sha256:8f5942a4daf1ffac42109dc4a72f786af4baa4fa702ede1d7c57b4b696c2e7d6 --hash=sha256:bf708455cd1e9fa96c05126e89a0c59b200d086c7df7bbafc7d9be769e4149a3 --hash=sha256:82c40ea3ac1555e0462803380609fbe8b26f52620f3d4f8eb480cfd8ceed8a14 --hash=sha256:207ba4f9125a0a4200691e82d5eee7ea1485708eabe99a07fc7f08696fae62f4 --hash=sha256:0cd4c848f0e9d805d531e44973c8f48962e20eb7fc0edac3db4f9dbf9ed5ab82 --hash=sha256:57baf63aeb2965ca4b52613ce78e968b6d2bde700c97f6a7e8c6c236b51ab83e --hash=sha256:2954557393cfc9a5c11a5199c7a78cd9c0c793a047552d27b1636da50d013916 --hash=sha256:7c31dade89634807196a6b20ced831fbd5bec8a21c4e458ea950c9102c3aa96f --hash=sha256:1286dd16d0e46d59fa54582725986704a7a3f3d9aca6c5902a7eceb10c60cb7e --hash=sha256:697ff63bc5451e0b0db48ad205151123d25683b3754198be7ab5fcb44334e519 --hash=sha256:fc993c9331d91766d54757bbc70231e29d5ceb2d1ac08b1570feaa0c38ab9582 --hash=sha256:9d64fed2681552ed642e9c0cc831a9e95ab91de72b47d0cb68b5bf506ba88647 --hash=sha256:5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a +pytz==2017.3 --hash=sha256:80af0f3008046b9975242012a985f04c5df1f01eed4ec1633d56cc47a75a6a48 --hash=sha256:feb2365914948b8620347784b6b6da356f31c9d03560259070b2f30cff3d469d --hash=sha256:59707844a9825589878236ff2f4e0dc9958511b7ffaae94dc615da07d4a68d33 --hash=sha256:d0ef5ef55ed3d37854320d4926b04a4cb42a2e88f71da9ddfdacfde8e364f027 --hash=sha256:c41c62827ce9cafacd6f2f7018e4f83a6f1986e87bfd000b8cfbd4ab5da95f1a --hash=sha256:8cc90340159b5d7ced6f2ba77694d946fc975b09f1a51d93f3ce3bb399396f94 --hash=sha256:dd2e4ca6ce3785c8dd342d1853dd9052b19290d5bf66060846e5dc6b8d6667f7 --hash=sha256:699d18a2a56f19ee5698ab1123bbcc1d269d061996aeb1eda6d89248d3542b82 --hash=sha256:fae4cffc040921b8a2d60c6cf0b5d662c1190fe54d718271db4eb17d44a185b7 +whitenoise==3.3.1 --hash=sha256:15f43b2e701821b95c9016cf469d29e2a546cb1c7dead584ba82c36f843995cf --hash=sha256:9d81515f2b5b27051910996e1e860b1332e354d9e7bcf30c98f21dcb6713e0dd From 5e9ab04eb8b2fbbc47608d47981dc2dd03356c79 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Feb 2022 08:00:41 -1000 Subject: [PATCH 092/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 03e9cda..8c23c55 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,8 @@ jobs: docker: - image: cimg/python:3.9.10-browsers steps: # steps that comprise the `build` job + - run: ls + - run: pwd - run: name: "Install backend dependencies" command: | From 3d6044175d7ee1213fee486b011a2b951b7f99d7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 12:28:31 -1000 Subject: [PATCH 093/306] Update config.yml --- .circleci/config.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c23c55..73ba7dd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,16 +2,9 @@ version: 2 jobs: test: docker: - - image: cimg/python:3.9.10-browsers - steps: # steps that comprise the `build` job - - run: ls - - run: pwd - - run: - name: "Install backend dependencies" - command: | - python3.9 -m venv venv - source venv/bin/activate - pip3.9 install -r requirements-dev.txt + - image: ubuntu-2004:202201-01 + steps: # + - run: which python From ed722720e35e146e91c1a633ecd9e13c804e0f96 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 12:30:46 -1000 Subject: [PATCH 094/306] 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 73ba7dd..2fe5dfd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: test: - docker: + machine: - image: ubuntu-2004:202201-01 steps: # - run: which python From 22c83efe5e3c388932de8f207e1341327c3c7587 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 12:31:46 -1000 Subject: [PATCH 095/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2fe5dfd..742c6c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,9 @@ version: 2 jobs: test: + build: machine: - - image: ubuntu-2004:202201-01 + image: ubuntu-2004:202201-01 steps: # - run: which python From c22a22796925a3dfb6c97cd95beae08bf2f5b440 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 12:32:42 -1000 Subject: [PATCH 096/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 742c6c7..49b5ad3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,6 @@ version: 2 jobs: test: - build: machine: image: ubuntu-2004:202201-01 steps: # From 5121adfb34f272e2b63060ed8e175552346c97d3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:37:01 -1000 Subject: [PATCH 097/306] Update config.yml --- .circleci/config.yml | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 49b5ad3..268988c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,15 +1,35 @@ -version: 2 -jobs: - test: - machine: - image: ubuntu-2004:202201-01 - steps: # - - run: which python +# version: 2 +# jobs: +# test: +# machine: +# image: ubuntu-2004:202201-01 +# steps: # +# - run: which python +# workflows: +# version: 2 +# build: +# jobs: +# - test + + +version: '2.1' +orbs: + python: circleci/python@1.0.0 +jobs: + publish: + executor: python/default + steps: + - checkout + - python/dist + - run: pip install twine && twine upload dist/* workflows: - version: 2 - build: + main: jobs: - - test + - python/test: + args: '--dev' + pkg-manager: pipenv + test-tool: pytest + - publish From 71b58097da986029a3bc50853982c0b5b5e1a946 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:37:28 -1000 Subject: [PATCH 098/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 268988c..2db5494 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,7 @@ jobs: steps: - checkout - python/dist + - run: which python - run: pip install twine && twine upload dist/* workflows: main: From 72e6a91f6cf7b52574afeed1d32eaa1490f8dec7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:21:21 -1000 Subject: [PATCH 099/306] Update config.yml --- .circleci/config.yml | 44 ++++++++++++++------------------------------ 1 file changed, 14 insertions(+), 30 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2db5494..a0c092f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,36 +1,20 @@ # version: 2 -# jobs: -# test: -# machine: -# image: ubuntu-2004:202201-01 -# steps: # -# - run: which python - - - -# workflows: -# version: 2 -# build: -# jobs: -# - test - - -version: '2.1' -orbs: - python: circleci/python@1.0.0 jobs: - publish: - executor: python/default + build: + docker: + - image: cimg/python:3.10.2 steps: - checkout - - python/dist - - run: which python - - run: pip install twine && twine upload dist/* + - run: python --version + - run: pip install python 2.7 + - run: python --version + + + workflows: - main: + version: 2 + build: jobs: - - python/test: - args: '--dev' - pkg-manager: pipenv - test-tool: pytest - - publish + - build + + From eacc3349e88f59fb0d280d97376a22fb1d2614a5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:23:19 -1000 Subject: [PATCH 100/306] 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 a0c092f..e17fa85 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: steps: - checkout - run: python --version - - run: pip install python 2.7 + - run: sudo pip install python 2.7 - run: python --version From 17595d17683b939c3a30017603ffc7b81e1f5865 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:26:00 -1000 Subject: [PATCH 101/306] 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 e17fa85..0fbec29 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: steps: - checkout - run: python --version - - run: sudo pip install python 2.7 + - run: sudo apt-get python 2.7 - run: python --version From 6776112c7e01a3a2d2a76bc1a0511b43bde62413 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:29:32 -1000 Subject: [PATCH 102/306] 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 0fbec29..c834b63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: steps: - checkout - run: python --version - - run: sudo apt-get python 2.7 + - run: sudo apt-get install python 2.7 - run: python --version From c5ff8dca356561492c87492fc340a22e3cdb3e13 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:30:30 -1000 Subject: [PATCH 103/306] 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 c834b63..3fb2de4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: steps: - checkout - run: python --version - - run: sudo apt-get install python 2.7 + - run: sudo apt-get install python2 - run: python --version From 1dc60bedab034df715a46db205f457c91c51e32f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:48:10 -1000 Subject: [PATCH 104/306] 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 3fb2de4..2f7a043 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: steps: - checkout - run: python --version - - run: sudo apt-get install python2 + - run: sudo apt install python3.8 - run: python --version From 3300a229208f0f11ab925887e9ce2ada26efef44 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 9 Feb 2022 07:32:03 -1000 Subject: [PATCH 105/306] Update config.yml --- .circleci/config.yml | 49 +++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f7a043..738d537 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,20 +1,35 @@ -# version: 2 -jobs: - build: - docker: - - image: cimg/python:3.10.2 - steps: - - checkout - - run: python --version - - run: sudo apt install python3.8 - - run: python --version +version: 2.1 - - +orbs: + my-orb: + orbs: + node: circleci/node@3.0 + commands: + my_command: + steps: + - run: echo "Run my tests" + jobs: + my_job: + executor: node/default # Node orb executor + steps: + - checkout + - my_command + - store_test_results: + path: test-results + my-orb-2: + orbs: + node: circleci/node@3.0 + commands: + my_command_2: + steps: + - run: echo "Run my tests" + jobs: + my_job_2: + executor: node/default # Node orb executor + steps: + - my-orb/my_command workflows: - version: 2 - build: + main: jobs: - - build - - + - my-orb/my_job + - my-orb-2/my_job_2 From 244f74db94c969cb55a6817bfd5b29817cd67f12 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:24:33 -1000 Subject: [PATCH 106/306] Update config.yml --- .circleci/config.yml | 44 ++++++++++++++------------------------------ 1 file changed, 14 insertions(+), 30 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 738d537..534bc8f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,35 +1,19 @@ version: 2.1 - orbs: - my-orb: - orbs: - node: circleci/node@3.0 - commands: - my_command: - steps: - - run: echo "Run my tests" - jobs: - my_job: - executor: node/default # Node orb executor - steps: - - checkout - - my_command - - store_test_results: - path: test-results - my-orb-2: - orbs: - node: circleci/node@3.0 - commands: - my_command_2: - steps: - - run: echo "Run my tests" - jobs: - my_job_2: - executor: node/default # Node orb executor - steps: - - my-orb/my_command + win: circleci/windows@2.4.1 +jobs: + # run collections tests in a separate serial job to make serial workflows more granular + build: + executor: + name: win/default + size: "medium" + steps: + - checkout + - run: + name: Check installed python verion + command: python --version workflows: main: jobs: - - my-orb/my_job - - my-orb-2/my_job_2 + - build + From 3d068c575f1165ca8a05964dc4d82d2fc0b3f583 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:26:26 -1000 Subject: [PATCH 107/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 534bc8f..bd21157 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,10 @@ jobs: - run: name: Check installed python verion command: python --version + - run: + name: Check all installed python verions + command: py --list + workflows: main: jobs: From 2d54cac16f4350582618f0edfdb18deb387ae1a1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:38:35 -1000 Subject: [PATCH 108/306] Update config.yml --- .circleci/config.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd21157..c50368a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,19 +2,12 @@ version: 2.1 orbs: win: circleci/windows@2.4.1 jobs: - # run collections tests in a separate serial job to make serial workflows more granular - build: + install_python_3 executor: name: win/default - size: "medium" steps: - - checkout - - run: - name: Check installed python verion - command: python --version - - run: - name: Check all installed python verions - command: py --list + - run: choco install python --version=3.9.0 + - run: python --version workflows: main: From 14e7e89c1654ec2ff6564c7eb0d561f53b640944 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:39:27 -1000 Subject: [PATCH 109/306] Update config.yml --- .circleci/config.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c50368a..1676d75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,13 +2,21 @@ version: 2.1 orbs: win: circleci/windows@2.4.1 jobs: - install_python_3 + # run collections tests in a separate serial job to make serial workflows more granular + build: executor: name: win/default + size: "medium" steps: + - checkout + - run: + name: Check installed python verion + command: python --version + - run: + name: Check all installed python verions + command: py --list - run: choco install python --version=3.9.0 - - run: python --version - + - run: python --version workflows: main: jobs: From b2198b02688787e156282dbbbeab6c5666957dfa Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:12:49 -1000 Subject: [PATCH 110/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1676d75..01c76d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,8 @@ jobs: # run collections tests in a separate serial job to make serial workflows more granular build: executor: - name: win/default + name: win/default previous + version: previous size: "medium" steps: - checkout From 2b8f46861d382243103d22eba4b6c8fff64294b2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:14:42 -1000 Subject: [PATCH 111/306] 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 01c76d5..6fd7e8a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,8 +5,8 @@ jobs: # run collections tests in a separate serial job to make serial workflows more granular build: executor: - name: win/default previous - version: previous + name: win/default:previous +# version: previous size: "medium" steps: - checkout From 46ca0180b5fa9abf0086414849ed11a739a4903d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:15:53 -1000 Subject: [PATCH 112/306] 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 6fd7e8a..e44353c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,8 +5,8 @@ jobs: # run collections tests in a separate serial job to make serial workflows more granular build: executor: - name: win/default:previous -# version: previous + name: win/default + version: "previous" size: "medium" steps: - checkout From 9cf84cc670f7b8eec23a52aef7b1f3a54b206749 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:16:22 -1000 Subject: [PATCH 113/306] 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 e44353c..e60fa3a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: build: executor: name: win/default - version: "previous" + version: "stable" size: "medium" steps: - checkout From baf5a05ae1955e943d8eecb65b8795c4451af5d4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 17 Feb 2022 14:10:00 -1000 Subject: [PATCH 114/306] Update config.yml --- .circleci/config.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e60fa3a..46dbf41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2.1 orbs: win: circleci/windows@2.4.1 + browser-tools: circleci/browser-tools@1.2.4 jobs: # run collections tests in a separate serial job to make serial workflows more granular build: @@ -10,14 +11,13 @@ jobs: size: "medium" steps: - checkout + - browser-tools/install-chrome + - browser-tools/install-chromedriver - run: - name: Check installed python verion - command: python --version - - run: - name: Check all installed python verions - command: py --list - - run: choco install python --version=3.9.0 - - run: python --version + command: | + google-chrome --version + chromedriver --version + name: Check install workflows: main: jobs: From 9d908b8c09714341d131bccf621c6ac069d2c73f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 09:58:30 -1000 Subject: [PATCH 115/306] Update config.yml --- .circleci/config.yml | 48 ++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46dbf41..0fe34e5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,25 +1,43 @@ -version: 2.1 +# version: 2.1 +# orbs: +# win: circleci/windows@2.4.1 +# browser-tools: circleci/browser-tools@1.2.4 +# jobs: +# # run collections tests in a separate serial job to make serial workflows more granular +# build: +# executor: +# name: win/default +# version: "stable" +# size: "medium" +# steps: +# - checkout +# - browser-tools/install-chrome +# - browser-tools/install-chromedriver +# - run: +# command: | +# google-chrome --version +# chromedriver --version +# name: Check install +# workflows: +# main: +# jobs: +# - build + + +version: '2.1' orbs: - win: circleci/windows@2.4.1 - browser-tools: circleci/browser-tools@1.2.4 + browser-tools: circleci/browser-tools@x.y jobs: - # run collections tests in a separate serial job to make serial workflows more granular - build: - executor: - name: win/default - version: "stable" - size: "medium" + test: + macos: + xcode: 12.5.1 steps: - - checkout - browser-tools/install-chrome - browser-tools/install-chromedriver - run: command: | google-chrome --version chromedriver --version - name: Check install -workflows: - main: - jobs: - - build + name: Check install +workflows: null From 0cf880d86e4a2567d64340d1bbb4a37ec3e39350 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 09:59:02 -1000 Subject: [PATCH 116/306] 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 0fe34e5..824fb74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ version: '2.1' orbs: - browser-tools: circleci/browser-tools@x.y + browser-tools: circleci/browser-tools@1.2.5 jobs: test: macos: From 8f8a9bcacc945061b1fd6c3b1d2c66efd8b2b150 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 09:59:34 -1000 Subject: [PATCH 117/306] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 824fb74..b8d9515 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,5 +39,8 @@ jobs: google-chrome --version chromedriver --version name: Check install -workflows: null +workflows: + main: + jobs: + - test From 6f0da08cde3095f5b91038ae69d6f6e5ab04b11c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:04:36 -1000 Subject: [PATCH 118/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b8d9515..433f8d8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,8 @@ jobs: macos: xcode: 12.5.1 steps: - - browser-tools/install-chrome + - browser-tools/install-chrome: + chrome-version: "92.0.4515.159" - browser-tools/install-chromedriver - run: command: | From 86d294bfb2005457fee726dfe1e5f8c2f93bbff2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:11:47 -1000 Subject: [PATCH 119/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 433f8d8..4ffcc96 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,6 +32,7 @@ jobs: macos: xcode: 12.5.1 steps: + - run: brew install --cask google-chrome - browser-tools/install-chrome: chrome-version: "92.0.4515.159" - browser-tools/install-chromedriver From 026ae5628a7f297a8b42c34f1d7c2eb587dff203 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:13:49 -1000 Subject: [PATCH 120/306] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ffcc96..7ff2d10 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,9 +33,9 @@ jobs: xcode: 12.5.1 steps: - run: brew install --cask google-chrome - - browser-tools/install-chrome: - chrome-version: "92.0.4515.159" - - browser-tools/install-chromedriver +# - browser-tools/install-chrome: +# chrome-version: "92.0.4515.159" +# - browser-tools/install-chromedriver - run: command: | google-chrome --version From 89a570ab8a54b7f1f6e7f73a17b9f40f6326e8b2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:12:13 -1000 Subject: [PATCH 121/306] Update config.yml --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7ff2d10..f6cc839 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,6 +32,11 @@ jobs: macos: xcode: 12.5.1 steps: + - run: + command: | + HOMEBREW_NO_AUTO_UPDATE=1 brew install cask + HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask google-chrome + name: Install Google Chrome - run: brew install --cask google-chrome # - browser-tools/install-chrome: # chrome-version: "92.0.4515.159" From 37d10a67f0dd70c4877116db41b6e2aca8c838a0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:31:52 -1000 Subject: [PATCH 122/306] Update config.yml --- .circleci/config.yml | 45 +++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f6cc839..a116c8d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,26 +28,41 @@ version: '2.1' orbs: browser-tools: circleci/browser-tools@1.2.5 jobs: - test: - macos: - xcode: 12.5.1 + job_run_api_tests_dev1: + machine: + image: ubuntu-2004:202201-02 + resource_class: medium + steps: + - checkout - run: command: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install cask - HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask google-chrome - name: Install Google Chrome - - run: brew install --cask google-chrome -# - browser-tools/install-chrome: -# chrome-version: "92.0.4515.159" -# - browser-tools/install-chromedriver + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc - run: - command: | - google-chrome --version - chromedriver --version - name: Check install + command: apt-get install -y sudo + - run: + command: sudo apt install net-tools +# test: +# macos: +# xcode: 12.5.1 +# steps: +# - run: +# command: | +# HOMEBREW_NO_AUTO_UPDATE=1 brew install cask +# HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask google-chrome +# name: Install Google Chrome +# - run: brew install --cask google-chrome +# # - browser-tools/install-chrome: +# # chrome-version: "92.0.4515.159" +# # - browser-tools/install-chromedriver +# - run: +# command: | +# google-chrome --version +# chromedriver --version +# name: Check install workflows: main: jobs: - - test +# - test + - job_run_api_tests_dev1 From 9fda426f7ce59e27a3d7281befa268c70db9ae7d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:34:21 -1000 Subject: [PATCH 123/306] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a116c8d..7a6cc5f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,9 +35,9 @@ jobs: steps: - checkout - - run: - command: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc +# - run: +# command: | +# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc - run: command: apt-get install -y sudo - run: From 6226d7e30942aed205a8b98c1bffa0340beb4d36 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:34:34 -1000 Subject: [PATCH 124/306] 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 7a6cc5f..6a4fb7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,7 +41,7 @@ jobs: - run: command: apt-get install -y sudo - run: - command: sudo apt install net-tools + command: sudo apt-get install net-tools # test: # macos: # xcode: 12.5.1 From 246d5bb8793654d16ca08e3b84e2ab9734e38919 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:35:44 -1000 Subject: [PATCH 125/306] 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 6a4fb7a..65cb85b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,8 +38,8 @@ jobs: # - run: # command: | # echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc - - run: - command: apt-get install -y sudo +# - run: +# command: apt-get install -y sudo - run: command: sudo apt-get install net-tools # test: From a1fb141622bdbe7579c95b42c2755b24484bc049 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Apr 2022 11:41:16 -1000 Subject: [PATCH 126/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65cb85b..6b64e43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,8 +40,9 @@ jobs: # echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc # - run: # command: apt-get install -y sudo + - run: sudo apt update - run: - command: sudo apt-get install net-tools + command: sudo apt install net-tools # test: # macos: # xcode: 12.5.1 From 42dd9ef60007a6847393bd00a586dcfa94d44b08 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Jul 2022 13:34:40 -1000 Subject: [PATCH 127/306] Update config.yml --- .circleci/config.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b64e43..3c69770 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,27 +43,13 @@ jobs: - run: sudo apt update - run: command: sudo apt install net-tools -# test: -# macos: -# xcode: 12.5.1 -# steps: -# - run: -# command: | -# HOMEBREW_NO_AUTO_UPDATE=1 brew install cask -# HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask google-chrome -# name: Install Google Chrome -# - run: brew install --cask google-chrome -# # - browser-tools/install-chrome: -# # chrome-version: "92.0.4515.159" -# # - browser-tools/install-chromedriver -# - run: -# command: | -# google-chrome --version -# chromedriver --version -# name: Check install + upload_api_assets: + working_directory: ~/button + steps: + - checkout workflows: main: jobs: -# - test + - upload_api_assets - job_run_api_tests_dev1 From cbbe147fbf988eb694ba483a9058b6ad4f3ea083 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 6 Jul 2022 10:53:54 -1000 Subject: [PATCH 128/306] Update config.yml --- .circleci/config.yml | 57 ++++++++++---------------------------------- 1 file changed, 13 insertions(+), 44 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c69770..160c728 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,55 +1,24 @@ -# version: 2.1 -# orbs: -# win: circleci/windows@2.4.1 -# browser-tools: circleci/browser-tools@1.2.4 -# jobs: -# # run collections tests in a separate serial job to make serial workflows more granular -# build: -# executor: -# name: win/default -# version: "stable" -# size: "medium" -# steps: -# - checkout -# - browser-tools/install-chrome -# - browser-tools/install-chromedriver -# - run: -# command: | -# google-chrome --version -# chromedriver --version -# name: Check install -# workflows: -# main: -# jobs: -# - build version: '2.1' -orbs: - browser-tools: circleci/browser-tools@1.2.5 + jobs: - job_run_api_tests_dev1: - machine: - image: ubuntu-2004:202201-02 - resource_class: medium + build: + docker: + - image: cimg/node:16.11-browsers steps: - checkout -# - run: -# command: | -# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/bil/.npmrc -# - run: -# command: apt-get install -y sudo - - run: sudo apt update - - run: - command: sudo apt install net-tools - upload_api_assets: - working_directory: ~/button - steps: - - checkout +# - run: sudo apt-get install -y ca-certificates + - restore_cache: + keys: + - node-modules-cache-node-gallium-npm-8-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }} + - node-modules-cache-node-gallium-npm-8-{{ .Environment.CACHE_VERSION }}- + + workflows: main: jobs: - - upload_api_assets - - job_run_api_tests_dev1 + - build + From 5c044a1708f8691547d9c1c3d5fde6ae991ff68f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 6 Jul 2022 10:54:06 -1000 Subject: [PATCH 129/306] 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 160c728..ad8ff4d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: steps: - checkout -# - run: sudo apt-get install -y ca-certificates + - run: sudo apt-get install -y ca-certificates - restore_cache: keys: - node-modules-cache-node-gallium-npm-8-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }} From e118c429084ee56f5df8533d8f96b80afbf7191d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 08:12:39 -1000 Subject: [PATCH 130/306] Update config.yml --- .circleci/config.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ad8ff4d..6e54dd6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,11 +9,7 @@ jobs: steps: - checkout - - run: sudo apt-get install -y ca-certificates - - restore_cache: - keys: - - node-modules-cache-node-gallium-npm-8-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }} - - node-modules-cache-node-gallium-npm-8-{{ .Environment.CACHE_VERSION }}- + - run: docker build workflows: From c0ebc3fcdcd6bd0375a7a35b990c9ae1acb9ebf5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 13:04:48 -1000 Subject: [PATCH 131/306] 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 6e54dd6..6bad4e9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,11 +5,11 @@ version: '2.1' jobs: build: docker: - - image: cimg/node:16.11-browsers + - image: henna453/test-docker:latest steps: - checkout - - run: docker build + workflows: From dbfd61e7c265a80333a5f57398ab114a7169f7ec Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 14:24:45 -1000 Subject: [PATCH 132/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6bad4e9..52f06bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,3 +18,4 @@ workflows: - build +#test From 5a1136ea776a38548dc345e05983dce8670b19a8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 14:34:30 -1000 Subject: [PATCH 133/306] 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 52f06bb..e1abb8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: steps: - checkout - +#test workflows: main: From 925e312a5a3ed9e957a81d92fb8ee8d45e2f222d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:20:07 -1000 Subject: [PATCH 134/306] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e1abb8e..c7ae736 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,3 @@ - - version: '2.1' jobs: From 97a311084419a143d2e45c102a84682822872675 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:25:48 -1000 Subject: [PATCH 135/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7ae736..80a03cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,4 +16,3 @@ workflows: - build -#test From da27f4865f88457e6b37184edeaea338007513f4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:32:44 -1000 Subject: [PATCH 136/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 80a03cf..1f0bf1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,5 +14,6 @@ workflows: main: jobs: - build + #test From ec78a3eb4309c33d9a050b7b4b9b8efcd6283265 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:33:17 -1000 Subject: [PATCH 137/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f0bf1d..ddb0977 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,6 @@ jobs: steps: - checkout -#test workflows: main: From 54e25120a94bdb057965ebfe44b16e03f6ff6c2a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:34:39 -1000 Subject: [PATCH 138/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ddb0977..3640a6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,5 @@ workflows: main: jobs: - build - #test From 53de78f61ced44f2f909cb911c9c3b9b13d09630 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:39:17 -1000 Subject: [PATCH 139/306] 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 3640a6c..8f6b032 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,4 +14,4 @@ workflows: jobs: - build - +#test From b6cfe6f0a8be43faabf14d7ad251bc4bb84c5ba3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 27 Dec 2022 15:52:17 -1000 Subject: [PATCH 140/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f6b032..2bcd399 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,7 @@ jobs: steps: - checkout + #test workflows: From 9be1d01c83609b9d3be02272737fba8a461ac450 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 07:03:55 -1000 Subject: [PATCH 141/306] 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 2bcd399..4fbb66c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: steps: - checkout - #test + workflows: From b0864bed5f027804fdd9e61a04d231f354752132 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 07:05:05 -1000 Subject: [PATCH 142/306] 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 4fbb66c..0d039ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: '2.1' jobs: build: docker: - - image: henna453/test-docker:latest + - image: henna453/test-docker steps: - checkout From 4e4c10bf6a628e0a216104e1f739e008d0cc7617 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 07:28:06 -1000 Subject: [PATCH 143/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d039ab..0e119ce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,8 @@ jobs: steps: - checkout + + #test From 0a87e55a72b6413d214d31d77115ad9a42f98b5f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 08:40:44 -1000 Subject: [PATCH 144/306] 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 0e119ce..a083601 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: steps: - checkout - #test + From 65095bd38321aa8c15f60f79144ca09d1ed657bb Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 08:42:20 -1000 Subject: [PATCH 145/306] 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 a083601..cc4b144 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: '2.1' jobs: build: docker: - - image: henna453/test-docker + - image: henna453/test-docker:latest steps: - checkout From fcd1e06c2b287458cf6c331213fde0d1ea969994 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 11:17:29 -1000 Subject: [PATCH 146/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cc4b144..89dcad6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,8 @@ jobs: steps: - checkout + #test + From 2c93e6c882da272a33074af7c7261a715bea462b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:23:21 -1000 Subject: [PATCH 147/306] 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 89dcad6..24f56e7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: steps: - checkout - #test + From e8e92907a6aaeb25151b941bebbcbacaec3989ed Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:37:07 -1000 Subject: [PATCH 148/306] 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 24f56e7..1a86b58 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,4 +19,4 @@ workflows: jobs: - build -#test + From 3cd35a3f99028684941568b575e7ec3671628cdf Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:49:57 -1000 Subject: [PATCH 149/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a86b58..9700eeb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,7 @@ jobs: - checkout + #test From c812653b35fd15f927f483c3bdcfba6411921681 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 13:05:44 -1000 Subject: [PATCH 150/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9700eeb..0369994 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,8 +9,7 @@ jobs: - checkout - #test - +#test From 4bf9a1d44ca7deaebd3e3d3879f0a2af0fc3a99f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 13:18:53 -1000 Subject: [PATCH 151/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0369994..39bec2e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,6 @@ jobs: - checkout -#test From ed25a6cb003189a86df1e3df9515e13db78c5bb6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 13:57:26 -1000 Subject: [PATCH 152/306] 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 39bec2e..451e5ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ jobs: - +#test workflows: main: From 06136ae45fd050b369a5b61d94db3a4443ccde93 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 14:09:12 -1000 Subject: [PATCH 153/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 451e5ee..531405e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,6 @@ jobs: -#test workflows: main: From 8c0f7c063a330a090e2f4cbfe67cb56de86b8e7e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 28 Dec 2022 14:12:24 -1000 Subject: [PATCH 154/306] 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 531405e..eeefe2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: - checkout - +#test workflows: From 8e90504ab1b4be6e93a69d23320a96dfe4e4b0f6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 08:50:49 -1000 Subject: [PATCH 155/306] 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 eeefe2f..531405e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: - checkout -#test + workflows: From e482ecf2f3f394acb14209552afe330f866aecd3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 09:00:41 -1000 Subject: [PATCH 156/306] Update config.yml --- .circleci/config.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 531405e..b9b6b0f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,10 +7,6 @@ jobs: steps: - checkout - - - - workflows: main: From 33a971b6496a9fb6ae42e84ade787bd92c465f22 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 09:07:55 -1000 Subject: [PATCH 157/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9b6b0f..bbddb0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,8 @@ jobs: steps: - checkout - + + workflows: main: jobs: From f45df7c6af1550eb14d5d6c4e61af1f4f9d05606 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 14:55:10 -1000 Subject: [PATCH 158/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bbddb0e..b9b6b0f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,8 +7,7 @@ jobs: steps: - checkout - - + workflows: main: jobs: From 1ef4d7c9c602a594f585d4c09d4bb51bc4b58aa0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 15:02:05 -1000 Subject: [PATCH 159/306] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9b6b0f..604959f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,9 @@ jobs: steps: - checkout + + + #test workflows: main: From 0d44cd20a41dc4b42afc27d0b2f5c5fda44bed88 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Dec 2022 15:05:26 -1000 Subject: [PATCH 160/306] Update config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 604959f..3640a6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,9 +7,7 @@ jobs: steps: - checkout - - - #test + workflows: main: From 4e3b3b857130507f1feddffd6ec59a42589f6e85 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:45:26 -1000 Subject: [PATCH 161/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3640a6c..03b47e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ jobs: build: docker: - image: henna453/test-docker:latest + resource_class: "" steps: - checkout From cd6519cddbc9c24a2422ebec781077bea563afed Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:45:55 -1000 Subject: [PATCH 162/306] 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 03b47e1..dc1f36d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: docker: - image: henna453/test-docker:latest - resource_class: "" + resource_class: medium steps: - checkout From 6cf0661762e3ddd240315a2b15e5b58009009b15 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:46:13 -1000 Subject: [PATCH 163/306] 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 dc1f36d..44062da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: docker: - image: henna453/test-docker:latest - resource_class: medium + resource_class: steps: - checkout From cf5bf9237b97cceda9c7f805bba6facd33680a6d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:46:44 -1000 Subject: [PATCH 164/306] 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 44062da..22f8cff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: '2.1' jobs: build: docker: - - image: henna453/test-docker:latest + - image: cimg/node resource_class: steps: From b535691c11ae08f220603cc77acf87215dc6cf5c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:47:31 -1000 Subject: [PATCH 165/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 22f8cff..b9f9960 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,8 +3,7 @@ version: '2.1' jobs: build: docker: - - image: cimg/node - resource_class: + - image: cimg/node:17.2.0 steps: - checkout From e9ecf5e76cb5ff0e0002e23c0a7c61ff433f992c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:47:57 -1000 Subject: [PATCH 166/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9f9960..d22ee76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ jobs: build: docker: - image: cimg/node:17.2.0 + resource_class: "" steps: - checkout From e23e54cb5f3c76e52c689cbf0c6c06e97a26b3bc Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:48:05 -1000 Subject: [PATCH 167/306] 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 d22ee76..7d3260a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: docker: - image: cimg/node:17.2.0 - resource_class: "" + resource_class: steps: - checkout From 67b635273d29d18dfb9c128d8403063cf637dde7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:48:14 -1000 Subject: [PATCH 168/306] 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 7d3260a..95bae52 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: docker: - image: cimg/node:17.2.0 - resource_class: + resource_class: medium steps: - checkout From 1c0eb03a0fe44b1aeee1c986865e91d68c4a6900 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:49:51 -1000 Subject: [PATCH 169/306] 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 95bae52..d22ee76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: build: docker: - image: cimg/node:17.2.0 - resource_class: medium + resource_class: "" steps: - checkout From 87de1ae877fd995a8d0f8727d5aa29c8ca6ca218 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 27 Jan 2023 12:22:29 -1000 Subject: [PATCH 170/306] Update config.yml --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d22ee76..8c8ccb4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,10 @@ version: '2.1' jobs: build: - docker: - - image: cimg/node:17.2.0 - resource_class: "" +# docker: +# - image: windows-server-2022-gui:edge + machine: + image: windows-server-2022-gui:edge steps: - checkout From 007c920a5e19f77f1858155135598d1f1ed8754b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 27 Jan 2023 12:23:40 -1000 Subject: [PATCH 171/306] Update config.yml --- .circleci/config.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c8ccb4..1fd7fc1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,12 +1,17 @@ version: '2.1' -jobs: - build: -# docker: -# - image: windows-server-2022-gui:edge - machine: - image: windows-server-2022-gui:edge +# jobs: +# build: +# # docker: +# # - image: windows-server-2022-gui:edge +# machine: +# image: windows-server-2022-gui:edge +orbs: + win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. +jobs: + build: # name of your job + executor: win/default steps: - checkout From b97f4e0a608d778b9656505b0e4f6d70a7d555da Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Feb 2023 08:04:48 -1000 Subject: [PATCH 172/306] Update config.yml --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1fd7fc1..5b7ee71 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,17 +8,24 @@ version: '2.1' # image: windows-server-2022-gui:edge orbs: win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. + browser-tools: circleci/browser-tools@1.4.1 jobs: build: # name of your job executor: win/default steps: - checkout + webdriver_tests: + docker: + - image: cimg/go:1.19.5-browsers + steps: + - browser-tools/install-browser-tools workflows: main: jobs: - build + - webdriver_tests From ff35a8d6a9a96141aa9e0a2550cc28da1f78630c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Feb 2023 08:20:45 -1000 Subject: [PATCH 173/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5b7ee71..b2712ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,8 @@ jobs: webdriver_tests: docker: - image: cimg/go:1.19.5-browsers + working_directory: /home/circleci/go/src/github.com/monzo/wearedev + resource_class: small steps: - browser-tools/install-browser-tools From 39778251156af5a47d1e400bbd08c143c21ca3de Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 6 Feb 2023 08:25:34 -1000 Subject: [PATCH 174/306] 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 b2712ed..fd40757 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ jobs: - checkout webdriver_tests: docker: - - image: cimg/go:1.19.5-browsers + - image: cimg/go@sha256:ef6056f96590eb962b24285f158a2e8bb2376d83b19d64aaa6676c20c803c168 working_directory: /home/circleci/go/src/github.com/monzo/wearedev resource_class: small steps: From b94df83fd66fab4202315e536cebc561fb8099f4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:51:31 -1000 Subject: [PATCH 175/306] Update config.yml --- .circleci/config.yml | 58 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fd40757..57cee8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,63 @@ jobs: working_directory: /home/circleci/go/src/github.com/monzo/wearedev resource_class: small steps: - - browser-tools/install-browser-tools + - browser-tools/install-browser-tools + + + test: # our next job, called "test" + # we run "parallel job containers" to enable speeding up our tests; + # this splits our tests across multiple containers. + parallelism: 3 + # here we set TWO docker images. + docker: + - image: cimg/ruby:3.0-node # this is our primary docker image, where step commands run. + +# - image: cimg/postgres:14.0 +# environment: # add POSTGRES environment variables. +# POSTGRES_USER: projidy +# POSTGRES_DB: projidy_test +# POSTGRES_PASSWORD: "" +# # environment variables specific to Ruby/Rails, applied to the primary container. +# environment: +# BUNDLE_JOBS: "3" +# BUNDLE_RETRY: "3" +# PGHOST: 127.0.0.1 +# PGUSER: projidy +# PGPASSWORD: "" +# RAILS_ENV: test +# # A series of steps to run, some are similar to those in "build". + steps: + - checkout + - ruby/install-deps + - node/install-packages: + pkg-manager: yarn + cache-key: "yarn.lock" + # https://circleci.com/developer/orbs/orb/circleci/browser-tools + - browser-tools/install-chrome + - browser-tools/install-chromedriver + - run: + command: | + google-chrome --version + chromedriver --version + name: Check install + # Here we make sure that the secondary container boots + # up before we run operations on the database. + - run: + name: Wait for DB + command: dockerize -wait tcp://localhost:5432 -timeout 1m + - run: + name: Database setup + command: bundle exec rails db:schema:load --trace + # https://github.com/rails/webpacker/issues/1047 + - run: + name: Precompile Assets + command: bundle exec rails assets:precompile + - run: + name: chmod webdrivers + command: chmod +x /home/circleci/.webdrivers/chromedriver + - run: + name: Run Minitest + command: bundle exec rake test:all workflows: From 1967756127fc5c61733b97ac73146c4dd41148b7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:56:30 -1000 Subject: [PATCH 176/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 57cee8b..fd8ebc0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -85,5 +85,6 @@ workflows: jobs: - build - webdriver_tests + - test From 504f746605d2e0e808f6fd81e66d13d9fe215b1b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:57:53 -1000 Subject: [PATCH 177/306] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index fd8ebc0..e8dab2d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,9 @@ version: '2.1' orbs: win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. browser-tools: circleci/browser-tools@1.4.1 + ruby: circleci/ruby@2.0.0 + node: circleci/node@2 + browser-tools: circleci/browser-tools@1.4.1 jobs: build: # name of your job From e350f1d5be8e1df3b7ae784d0ad4132ad07b23e5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:12:47 -1000 Subject: [PATCH 178/306] Update config.yml --- .circleci/config.yml | 113 ++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8dab2d..a8b0d3a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,12 @@ jobs: executor: win/default steps: - checkout + - browser-tools/install-chrome + - browser-tools/install-chromedriver + - run: + name: chmod webdrivers + command: chmod +x /home/circleci/.webdrivers/chromedriver + webdriver_tests: docker: - image: cimg/go@sha256:ef6056f96590eb962b24285f158a2e8bb2376d83b19d64aaa6676c20c803c168 @@ -27,60 +33,60 @@ jobs: - browser-tools/install-browser-tools - test: # our next job, called "test" - # we run "parallel job containers" to enable speeding up our tests; - # this splits our tests across multiple containers. - parallelism: 3 - # here we set TWO docker images. - docker: - - image: cimg/ruby:3.0-node # this is our primary docker image, where step commands run. +# test: # our next job, called "test" +# # we run "parallel job containers" to enable speeding up our tests; +# # this splits our tests across multiple containers. +# parallelism: 3 +# # here we set TWO docker images. +# docker: +# - image: cimg/ruby:3.0-node # this is our primary docker image, where step commands run. -# - image: cimg/postgres:14.0 -# environment: # add POSTGRES environment variables. -# POSTGRES_USER: projidy -# POSTGRES_DB: projidy_test -# POSTGRES_PASSWORD: "" -# # environment variables specific to Ruby/Rails, applied to the primary container. -# environment: -# BUNDLE_JOBS: "3" -# BUNDLE_RETRY: "3" -# PGHOST: 127.0.0.1 -# PGUSER: projidy -# PGPASSWORD: "" -# RAILS_ENV: test -# # A series of steps to run, some are similar to those in "build". - steps: - - checkout - - ruby/install-deps - - node/install-packages: - pkg-manager: yarn - cache-key: "yarn.lock" - # https://circleci.com/developer/orbs/orb/circleci/browser-tools - - browser-tools/install-chrome - - browser-tools/install-chromedriver - - run: - command: | - google-chrome --version - chromedriver --version - name: Check install - # Here we make sure that the secondary container boots - # up before we run operations on the database. - - run: - name: Wait for DB - command: dockerize -wait tcp://localhost:5432 -timeout 1m - - run: - name: Database setup - command: bundle exec rails db:schema:load --trace - # https://github.com/rails/webpacker/issues/1047 - - run: - name: Precompile Assets - command: bundle exec rails assets:precompile - - run: - name: chmod webdrivers - command: chmod +x /home/circleci/.webdrivers/chromedriver - - run: - name: Run Minitest - command: bundle exec rake test:all +# # - image: cimg/postgres:14.0 +# # environment: # add POSTGRES environment variables. +# # POSTGRES_USER: projidy +# # POSTGRES_DB: projidy_test +# # POSTGRES_PASSWORD: "" +# # # environment variables specific to Ruby/Rails, applied to the primary container. +# # environment: +# # BUNDLE_JOBS: "3" +# # BUNDLE_RETRY: "3" +# # PGHOST: 127.0.0.1 +# # PGUSER: projidy +# # PGPASSWORD: "" +# # RAILS_ENV: test +# # # A series of steps to run, some are similar to those in "build". +# steps: +# - checkout +# - ruby/install-deps +# - node/install-packages: +# pkg-manager: yarn +# cache-key: "yarn.lock" +# # https://circleci.com/developer/orbs/orb/circleci/browser-tools +# - browser-tools/install-chrome +# - browser-tools/install-chromedriver +# - run: +# command: | +# google-chrome --version +# chromedriver --version +# name: Check install +# # Here we make sure that the secondary container boots +# # up before we run operations on the database. +# - run: +# name: Wait for DB +# command: dockerize -wait tcp://localhost:5432 -timeout 1m +# - run: +# name: Database setup +# command: bundle exec rails db:schema:load --trace +# # https://github.com/rails/webpacker/issues/1047 +# - run: +# name: Precompile Assets +# command: bundle exec rails assets:precompile +# - run: +# name: chmod webdrivers +# command: chmod +x /home/circleci/.webdrivers/chromedriver +# - run: +# name: Run Minitest +# command: bundle exec rake test:all workflows: @@ -88,6 +94,5 @@ workflows: jobs: - build - webdriver_tests - - test From ac845b5613c57bc2b15905fa3df2612dcbfbcac8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:15:27 -1000 Subject: [PATCH 179/306] Update config.yml --- .circleci/config.yml | 82 ++++++-------------------------------------- 1 file changed, 10 insertions(+), 72 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a8b0d3a..48f0e63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,92 +7,30 @@ version: '2.1' # machine: # image: windows-server-2022-gui:edge orbs: - win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. - browser-tools: circleci/browser-tools@1.4.1 + win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. ruby: circleci/ruby@2.0.0 node: circleci/node@2 browser-tools: circleci/browser-tools@1.4.1 jobs: build: # name of your job - executor: win/default + docker: + - image: cimg/go steps: - checkout - browser-tools/install-chrome - - browser-tools/install-chromedriver + - browser-tools/install-chromedriver + - run: + command: | + google-chrome --version + chromedriver --version + name: Check install - run: name: chmod webdrivers - command: chmod +x /home/circleci/.webdrivers/chromedriver - - webdriver_tests: - docker: - - image: cimg/go@sha256:ef6056f96590eb962b24285f158a2e8bb2376d83b19d64aaa6676c20c803c168 - working_directory: /home/circleci/go/src/github.com/monzo/wearedev - resource_class: small - steps: - - browser-tools/install-browser-tools - - -# test: # our next job, called "test" -# # we run "parallel job containers" to enable speeding up our tests; -# # this splits our tests across multiple containers. -# parallelism: 3 -# # here we set TWO docker images. -# docker: -# - image: cimg/ruby:3.0-node # this is our primary docker image, where step commands run. - -# # - image: cimg/postgres:14.0 -# # environment: # add POSTGRES environment variables. -# # POSTGRES_USER: projidy -# # POSTGRES_DB: projidy_test -# # POSTGRES_PASSWORD: "" -# # # environment variables specific to Ruby/Rails, applied to the primary container. -# # environment: -# # BUNDLE_JOBS: "3" -# # BUNDLE_RETRY: "3" -# # PGHOST: 127.0.0.1 -# # PGUSER: projidy -# # PGPASSWORD: "" -# # RAILS_ENV: test -# # # A series of steps to run, some are similar to those in "build". -# steps: -# - checkout -# - ruby/install-deps -# - node/install-packages: -# pkg-manager: yarn -# cache-key: "yarn.lock" -# # https://circleci.com/developer/orbs/orb/circleci/browser-tools -# - browser-tools/install-chrome -# - browser-tools/install-chromedriver -# - run: -# command: | -# google-chrome --version -# chromedriver --version -# name: Check install -# # Here we make sure that the secondary container boots -# # up before we run operations on the database. -# - run: -# name: Wait for DB -# command: dockerize -wait tcp://localhost:5432 -timeout 1m -# - run: -# name: Database setup -# command: bundle exec rails db:schema:load --trace -# # https://github.com/rails/webpacker/issues/1047 -# - run: -# name: Precompile Assets -# command: bundle exec rails assets:precompile -# - run: -# name: chmod webdrivers -# command: chmod +x /home/circleci/.webdrivers/chromedriver -# - run: -# name: Run Minitest -# command: bundle exec rake test:all - + command: chmod +x /home/circleci/.webdrivers/chromedriver workflows: main: jobs: - build - webdriver_tests - - From 571f7ba06ef7b549456af1819319f60fee622ec7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:16:08 -1000 Subject: [PATCH 180/306] 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 48f0e63..3df754e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,4 +33,4 @@ workflows: main: jobs: - build - - webdriver_tests + From 2161ab24abf08ec4cc3c740ef019a0bdbc3a058f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:18:57 -1000 Subject: [PATCH 181/306] 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 3df754e..d5512bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ orbs: jobs: build: # name of your job docker: - - image: cimg/go + - image: cimg/go:1.20.0 steps: - checkout - browser-tools/install-chrome From 3ae652bdce8cd663457411224bccb6f529abeab5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:32:29 -1000 Subject: [PATCH 182/306] Update config.yml --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5512bd..031f48d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,16 @@ jobs: name: Check install - run: name: chmod webdrivers - command: chmod +x /home/circleci/.webdrivers/chromedriver + command: chmod +x /home/circleci/.webdrivers/chromedriver + - run: + name: Instrumentation - Finishing span for job + command: | + # Another fun quirk... some of our executors are Alpine images, which use ash + # instead of bash. For those, $BASH_ENV is not auto-loaded for each step. So + # let's just source it here to be sure. + source $BASH_ENV + buildevents step $CIRCLE_WORKFLOW_ID $STEP_SPAN_ID $STEP_START $CIRCLE_JOB + when: always workflows: main: From c4701966aa972666f843c9c4c01ba74390e3bfe0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:40:27 -1000 Subject: [PATCH 183/306] Update config.yml --- .circleci/config.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 031f48d..3df84c0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,16 +18,16 @@ jobs: - image: cimg/go:1.20.0 steps: - checkout - - browser-tools/install-chrome - - browser-tools/install-chromedriver - - run: - command: | - google-chrome --version - chromedriver --version - name: Check install - - run: - name: chmod webdrivers - command: chmod +x /home/circleci/.webdrivers/chromedriver +# - browser-tools/install-chrome +# - browser-tools/install-chromedriver +# - run: +# command: | +# google-chrome --version +# chromedriver --version +# name: Check install +# - run: +# name: chmod webdrivers +# command: chmod +x /home/circleci/.webdrivers/chromedriver - run: name: Instrumentation - Finishing span for job command: | From 4ab0c34a2a1b57daf335eb98ae1e9aa48d2a60eb Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:23:26 -1000 Subject: [PATCH 184/306] Update config.yml --- .circleci/config.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3df84c0..a389a34 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,25 @@ jobs: docker: - image: cimg/go:1.20.0 steps: - - checkout + - checkout + + + run_unit_tests-1: + resource_class: macos.x86.medium.gen2 + macos: + xcode: 14.2.0 + steps: + - run: + command: brew --version + + + run_unit_tests-2: + resource_class: macos.x86.medium.gen2 + macos: + xcode: 14.3.0 + steps: + - run: + command: brew --version # - browser-tools/install-chrome # - browser-tools/install-chromedriver # - run: @@ -42,4 +60,6 @@ workflows: main: jobs: - build + - run_unit_tests-1 + - run_unit_tests-2 From bef50970053ddd267f574b9855398e45a538c635 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:25:37 -1000 Subject: [PATCH 185/306] Update config.yml --- .circleci/config.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a389a34..36d7702 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ jobs: docker: - image: cimg/go:1.20.0 steps: - - checkout + - checkout run_unit_tests-1: @@ -25,8 +25,8 @@ jobs: macos: xcode: 14.2.0 steps: - - run: - command: brew --version + - run: + command: brew --version run_unit_tests-2: @@ -34,8 +34,8 @@ jobs: macos: xcode: 14.3.0 steps: - - run: - command: brew --version + - run: + command: brew --version # - browser-tools/install-chrome # - browser-tools/install-chromedriver # - run: @@ -46,15 +46,7 @@ jobs: # - run: # name: chmod webdrivers # command: chmod +x /home/circleci/.webdrivers/chromedriver - - run: - name: Instrumentation - Finishing span for job - command: | - # Another fun quirk... some of our executors are Alpine images, which use ash - # instead of bash. For those, $BASH_ENV is not auto-loaded for each step. So - # let's just source it here to be sure. - source $BASH_ENV - buildevents step $CIRCLE_WORKFLOW_ID $STEP_SPAN_ID $STEP_START $CIRCLE_JOB - when: always + workflows: main: From 009a32a301e0f1a4f117548ff687e30d9b73b105 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:52:30 -1000 Subject: [PATCH 186/306] 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 36d7702..8625b42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,12 +27,12 @@ jobs: steps: - run: command: brew --version - + run_unit_tests-2: - resource_class: macos.x86.medium.gen2 macos: xcode: 14.3.0 + resource_class: macos.m1.large.gen1 steps: - run: command: brew --version From 0f313b1b42f8be6606aed3228356a0bf04e4f704 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:52:59 -1000 Subject: [PATCH 187/306] 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 8625b42..18077ea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,7 @@ jobs: run_unit_tests-2: macos: - xcode: 14.3.0 + xcode: 14.2.0 resource_class: macos.m1.large.gen1 steps: - run: From 80eb024a65f0e8618976f4c60d810d0fba92b2f5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:53:36 -1000 Subject: [PATCH 188/306] 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 18077ea..6254174 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: run_unit_tests-1: resource_class: macos.x86.medium.gen2 macos: - xcode: 14.2.0 + xcode: 14.3.0 steps: - run: command: brew --version From 2be502ebf7f247683a7c6c502aed90ccd7830393 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:55:36 -1000 Subject: [PATCH 189/306] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6254174..2626be9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,10 @@ jobs: resource_class: macos.m1.large.gen1 steps: - run: - command: brew --version + command: brew --version + - run: brew update + - run: + command: brew --version # - browser-tools/install-chrome # - browser-tools/install-chromedriver # - run: From c9fa9b0d91bce277994e5e232e8d2958595d00a6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 12:14:15 -1000 Subject: [PATCH 190/306] Update config.yml --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2626be9..14356ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,12 +30,11 @@ jobs: run_unit_tests-2: + resource_class: macos.x86.medium.gen2 macos: xcode: 14.2.0 - resource_class: macos.m1.large.gen1 steps: - - run: - command: brew --version + - run: brew --version - run: brew update - run: command: brew --version From 03468d87598e180fdc8e37a9138334d8d3db01e0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 12:15:35 -1000 Subject: [PATCH 191/306] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 14356ba..91700f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,8 +25,10 @@ jobs: macos: xcode: 14.3.0 steps: + - run: brew --version + - run: brew update - run: - command: brew --version + command: brew --version run_unit_tests-2: From a6205f4adeaced69acd0e9f0ef6aa5f6d2762769 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 28 Feb 2023 12:25:16 -1000 Subject: [PATCH 192/306] 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 91700f8..36f6c09 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,9 +21,9 @@ jobs: run_unit_tests-1: - resource_class: macos.x86.medium.gen2 + resource_class: macos.m1.large.gen1 macos: - xcode: 14.3.0 + xcode: 14.0.1 steps: - run: brew --version - run: brew update From fb355e7dda7c32f5225311d459321afbbc8931dc Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 9 Mar 2023 12:26:38 -1000 Subject: [PATCH 193/306] Update config.yml --- .circleci/config.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 36f6c09..e0dacd0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ version: '2.1' orbs: win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. ruby: circleci/ruby@2.0.0 - node: circleci/node@2 + node: circleci/node@5 browser-tools: circleci/browser-tools@1.4.1 jobs: @@ -32,24 +32,12 @@ jobs: run_unit_tests-2: - resource_class: macos.x86.medium.gen2 macos: xcode: 14.2.0 + resource_class: macos.x86.medium.gen2 steps: - - run: brew --version - - run: brew update - - run: - command: brew --version -# - browser-tools/install-chrome -# - browser-tools/install-chromedriver -# - run: -# command: | -# google-chrome --version -# chromedriver --version -# name: Check install -# - run: -# name: chmod webdrivers -# command: chmod +x /home/circleci/.webdrivers/chromedriver + - node/install: + node-version: "16.13" workflows: From 4e87d1ac4dc5a316fd6c6cfd442acd440c1365b1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:44:15 -1000 Subject: [PATCH 194/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e0dacd0..e5131f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: - image: cimg/go:1.20.0 steps: - checkout + - run : git tag -l --points-at $CIRCLE_SHA1 run_unit_tests-1: From d34e2b0e4b100669c4645b5a66824ffbf6e823f9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:53:38 -1000 Subject: [PATCH 195/306] Update config.yml --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e5131f6..91396bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,5 @@ version: '2.1' -# jobs: -# build: -# # docker: -# # - image: windows-server-2022-gui:edge -# machine: -# image: windows-server-2022-gui:edge orbs: win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. ruby: circleci/ruby@2.0.0 From d538b1345d8cd4b83ad81c527e6717ef9487303b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:57:48 -1000 Subject: [PATCH 196/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 91396bd..48c12d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,7 @@ jobs: - image: cimg/go:1.20.0 steps: - checkout + - run : git tag -a v1.4 -m "my version 1.4" - run : git tag -l --points-at $CIRCLE_SHA1 From 48734b707a45c94cb46000d262ee88564cdb3794 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:59:54 -1000 Subject: [PATCH 197/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48c12d3..9b4c585 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,8 @@ jobs: - image: cimg/go:1.20.0 steps: - checkout + - run : git config --global user.email "henna@circleci.com" + - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" - run : git tag -l --points-at $CIRCLE_SHA1 From 6dd88a24417388903fb64eba327d503f6fdc0943 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:01:26 -1000 Subject: [PATCH 198/306] Update config.yml --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9b4c585..28a732f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,11 @@ jobs: - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" - run : git tag -l --points-at $CIRCLE_SHA1 + test: # name of your job + docker: + - image: cimg/go:1.20.0 + steps: + - run: git tag -l --points-at $CIRCLE_SHA1 run_unit_tests-1: @@ -44,4 +49,7 @@ workflows: - build - run_unit_tests-1 - run_unit_tests-2 + - test: + requires: + - build From 98232c975b0e87798d173d9767cd142bff18e508 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:02:14 -1000 Subject: [PATCH 199/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28a732f..8e0b802 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,6 +20,7 @@ jobs: docker: - image: cimg/go:1.20.0 steps: + - checkout - run: git tag -l --points-at $CIRCLE_SHA1 From f20da71fe48c8bfdc9e953400bfeb00604eeff1d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:06:04 -1000 Subject: [PATCH 200/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e0b802..cc88245 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,7 @@ jobs: - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" - run : git tag -l --points-at $CIRCLE_SHA1 + - run : git push "v1.4" test: # name of your job docker: - image: cimg/go:1.20.0 From a725b32da43ba983eedfc26b0f7ad1e49bb8aaeb Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:06:56 -1000 Subject: [PATCH 201/306] 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 cc88245..0b3bd99 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" - run : git tag -l --points-at $CIRCLE_SHA1 - - run : git push "v1.4" + - run : git push $CIRCLE_REPOSITORY_URL "v1.4" test: # name of your job docker: - image: cimg/go:1.20.0 From ef77fe9b4603484f79b9978d5f4feab4c17e82e3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:08:32 -1000 Subject: [PATCH 202/306] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b3bd99..c75cf46 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,9 @@ jobs: - image: cimg/go:1.20.0 steps: - checkout + - add_ssh_keys: + fingerprints: + - 5e:bb:af:f3:f0:6a:83:0b:fb:9c:80:62:65:77:69:55 - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" From 0dc58bae96624dfe620c98f3b45a8305f682df5d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:09:50 -1000 Subject: [PATCH 203/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c75cf46..fbfb9f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,5 @@ version: '2.1' +#test orbs: win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. From ddfb988e465ffe52ee95fda1b8e94e99433af7d5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:10:37 -1000 Subject: [PATCH 204/306] 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 fbfb9f5..7d8d397 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,10 +12,10 @@ jobs: docker: - image: cimg/go:1.20.0 steps: - - checkout - add_ssh_keys: fingerprints: - 5e:bb:af:f3:f0:6a:83:0b:fb:9c:80:62:65:77:69:55 + - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" - run : git tag -a v1.4 -m "my version 1.4" From f64601a3509d0aa02ae8f70c16b2f6058ce2faf8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:12:18 -1000 Subject: [PATCH 205/306] 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 7d8d397..8d6f20f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: steps: - add_ssh_keys: fingerprints: - - 5e:bb:af:f3:f0:6a:83:0b:fb:9c:80:62:65:77:69:55 + - 39:e6:81:b6:55:c4:2f:9e:c6:3c:d7:09:b6:ca:ed:aa - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" From 711fe2bc0ab995e71fbc5e79c163cc32ce6e543f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 14:58:23 -1000 Subject: [PATCH 206/306] Update config.yml --- .circleci/config.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8d6f20f..6a8c329 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,11 +10,8 @@ orbs: jobs: build: # name of your job docker: - - image: cimg/go:1.20.0 + - image: node:lts-alpine steps: - - add_ssh_keys: - fingerprints: - - 39:e6:81:b6:55:c4:2f:9e:c6:3c:d7:09:b6:ca:ed:aa - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" From 2acd627efb45de6e482bcc1770254de7f2836c5e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 14:58:51 -1000 Subject: [PATCH 207/306] 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 6a8c329..631e111 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ orbs: browser-tools: circleci/browser-tools@1.4.1 jobs: - build: # name of your job + build: docker: - image: node:lts-alpine steps: From 3b90bef4dbad9fea07abb9d39fc3844a404d9931 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:01:51 -1000 Subject: [PATCH 208/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 631e111..c8a5004 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,8 @@ jobs: docker: - image: node:lts-alpine steps: + - run : git --version + - run : ssh -V - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" From abe1be21a8d2501b9a97b10d5aa66de7b775c0ef Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:03:53 -1000 Subject: [PATCH 209/306] 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 c8a5004..84200ef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: - image: node:lts-alpine steps: - run : git --version - - run : ssh -V + - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" From ba13101671ec781a460f2100b4cafe3ca5b1fa6d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:05:28 -1000 Subject: [PATCH 210/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 84200ef..2d5dbe9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,7 @@ jobs: docker: - image: node:lts-alpine steps: - - run : git --version - + - run : ssh -V - checkout - run : git config --global user.email "henna@circleci.com" - run : git config --global user.name "HennaAbbas" From 7383cff847ad125ecc4c5ea0e252739f2f9aced4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 4 Apr 2023 08:48:18 -1000 Subject: [PATCH 211/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d5dbe9..0b7c302 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,4 +56,6 @@ workflows: - test: requires: - build + + #test From 35b8d47239a291692b9e59628692528376012ac2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 12 Jun 2023 21:03:41 +0100 Subject: [PATCH 212/306] Update config.yml --- .circleci/config.yml | 151 +++++++++++++++++++++++++++++-------------- 1 file changed, 104 insertions(+), 47 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b7c302..3017499 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,61 +1,118 @@ -version: '2.1' +version: 2.1 #test +parameters: + nightly_cleanup: + default: false + type: boolean orbs: - win: circleci/windows@5.0 # The Windows orb gives you everything you need to start using the Windows executor. - ruby: circleci/ruby@2.0.0 - node: circleci/node@5 - browser-tools: circleci/browser-tools@1.4.1 + pulumi: pulumi/pulumi@1.0.0 + gh: circleci/github-cli@1.0 jobs: - build: + delete-obsolete-stacks: docker: - - image: node:lts-alpine + - image: cimg/python:3.7 + auth: + username: firstvettech + password: $DOCKERHUB_PASSWORD + working_directory: ~/firstvet/webapp steps: - - run : ssh -V - - checkout - - run : git config --global user.email "henna@circleci.com" - - run : git config --global user.name "HennaAbbas" - - run : git tag -a v1.4 -m "my version 1.4" - - run : git tag -l --points-at $CIRCLE_SHA1 - - run : git push $CIRCLE_REPOSITORY_URL "v1.4" - test: # name of your job + - checkout + - run: + name: Store AWS credentials + command: | + echo "export AWS_DEFAULT_REGION=eu-north-1" >> $BASH_ENV + echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV + echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV + echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV + - pulumi/login: + cloud-url: s3://pulumi.state + - run: + name: Install AWS CLI + command: | + pip3 install awscli + - run: + name: Delete stacks and Docker images whose branch has been deleted + command: | + stack_name_prefix="webapp-staging--" + git branch -r --color=never | grep -v HEAD | sed 's,[ ]*origin/,,g' | while read -r git_branch; do + clean_branch_name=`echo ${git_branch:0:60} | sed "s,[^A-Za-z0-9],-,g" | tr '[:upper:]' '[:lower:]'` + echo "$stack_name_prefix$clean_branch_name" >> /tmp/stacks_to-keep.txt + done + # Delete stacks corresponding to deleted branches + pulumi stack ls --cwd infra | cut -d' ' -f1 | grep -F $stack_name_prefix | while read -r stack_name; do + if ! grep -xq "$stack_name" /tmp/stacks_to-keep.txt; then + echo "Destroying resources of stack $stack_name ..." + pulumi refresh --cwd infra --yes --stack $stack_name + pulumi stack --cwd infra select $stack_name + pulumi destroy --cwd infra --yes --remove # Destroy the rest of the resources + fi + done + deploy_infra: docker: - - image: cimg/go:1.20.0 + - image: cimg/node:18.16.0 + working_directory: ~/firstvet/webapp steps: - checkout - - run: git tag -l --points-at $CIRCLE_SHA1 - - - run_unit_tests-1: - resource_class: macos.m1.large.gen1 - macos: - xcode: 14.0.1 - steps: - - run: brew --version - - run: brew update - - run: - command: brew --version - - - run_unit_tests-2: - macos: - xcode: 14.2.0 - resource_class: macos.x86.medium.gen2 - steps: - - node/install: - node-version: "16.13" - + - run: + name: Store AWS credentials + command: | + echo "export AWS_DEFAULT_REGION=eu-north-1" >> $BASH_ENV + if [ "${CIRCLE_BRANCH}" = "master" ]; then + echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_PRODUCTION" >> $BASH_ENV + echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_PRODUCTION" >> $BASH_ENV + echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_PRODUCTION'" >> $BASH_ENV + echo "export PULUMI_STATE_FILE=pulumi.state.prod" >> $BASH_ENV + environment=production + else + echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV + echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV + echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV + echo "export PULUMI_STATE_FILE=pulumi.state" >> $BASH_ENV + environment=staging + fi + # Various resources (especially on the load balancer side) don't support long names or special characters + clean_branch_name=`echo ${CIRCLE_BRANCH:0:38} | sed "s,[^A-Za-z0-9],-,g" | tr '[:upper:]' '[:lower:]'` + echo "STACK_NAME=webapp-${environment}--${clean_branch_name}" >> $BASH_ENV + - pulumi/login: + cloud-url: s3://${PULUMI_STATE_FILE} + - run: + name: Install Pulumi SDK + command: | + cd infra + npm install + - run: + name: Create Pulumi stack if it doesn't already exist + command: | + if ! $(pulumi stack ls --cwd infra | cut -d' ' -f1 | grep -xq $STACK_NAME); then + echo 'Creating a new Pulumi stack' + pulumi stack --cwd infra init $STACK_NAME + fi + - run: + name: pulumi refresh --stack $STACK_NAME + command: pulumi refresh --cwd infra --yes --stack $STACK_NAME + - run: + name: pulumi update --stack $STACK_NAME + command: pulumi update --cwd infra --yes --stack $STACK_NAME --skip-preview workflows: - main: + cleanup: + when: + and: + - equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] + - equal: [ true, << pipeline.parameters.nightly_cleanup >> ] + jobs: + - delete-obsolete-stacks: + context: + - DockerHub-Auth + deploy: jobs: - - build - - run_unit_tests-1 - - run_unit_tests-2 - - test: - requires: - - build - - #test + - deploy_infra: + context: + - DockerHub-Auth + filters: + branches: + ignore: + - master From e4702fa7cde59a46eee87efc20051fdab9b783ae Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 12 Jun 2023 21:14:20 +0100 Subject: [PATCH 213/306] Update config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3017499..d986bf4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,9 +103,7 @@ workflows: - equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] - equal: [ true, << pipeline.parameters.nightly_cleanup >> ] jobs: - - delete-obsolete-stacks: - context: - - DockerHub-Auth + - delete-obsolete-stacks deploy: jobs: - deploy_infra: From 24490655461e6a92fe4e9253ce2378889eb5c77e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:50:26 +0100 Subject: [PATCH 214/306] Update config.yml --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d986bf4..7ee9bf8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -95,6 +95,18 @@ jobs: - run: name: pulumi update --stack $STACK_NAME command: pulumi update --cwd infra --yes --stack $STACK_NAME --skip-preview + - run: + name: Check for newer workflow + background: true + command: | + while true; do + sleep 5 + LATEST_COMMIT=$(git ls-remote $CIRCLE_REPOSITORY_URL | grep $CIRCLE_BRANCH | cut -f 1) + if [ "$LATEST_COMMIT" != "$CIRCLE_SHA1" ]; then + echo "more recent commit to branch, exiting" + curl -X POST "https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel?circle-token=$CIRCLE_API_TOKEN" + fi + done workflows: cleanup: From bbcc4d8d1a484adb528c0710cd18d4b4f7b33f59 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:52:16 +0100 Subject: [PATCH 215/306] Update config.yml --- .circleci/config.yml | 45 ++------------------------------------------ 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7ee9bf8..9ea0fc9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,29 +26,7 @@ jobs: echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV - - pulumi/login: - cloud-url: s3://pulumi.state - - run: - name: Install AWS CLI - command: | - pip3 install awscli - - run: - name: Delete stacks and Docker images whose branch has been deleted - command: | - stack_name_prefix="webapp-staging--" - git branch -r --color=never | grep -v HEAD | sed 's,[ ]*origin/,,g' | while read -r git_branch; do - clean_branch_name=`echo ${git_branch:0:60} | sed "s,[^A-Za-z0-9],-,g" | tr '[:upper:]' '[:lower:]'` - echo "$stack_name_prefix$clean_branch_name" >> /tmp/stacks_to-keep.txt - done - # Delete stacks corresponding to deleted branches - pulumi stack ls --cwd infra | cut -d' ' -f1 | grep -F $stack_name_prefix | while read -r stack_name; do - if ! grep -xq "$stack_name" /tmp/stacks_to-keep.txt; then - echo "Destroying resources of stack $stack_name ..." - pulumi refresh --cwd infra --yes --stack $stack_name - pulumi stack --cwd infra select $stack_name - pulumi destroy --cwd infra --yes --remove # Destroy the rest of the resources - fi - done + deploy_infra: docker: - image: cimg/node:18.16.0 @@ -75,26 +53,7 @@ jobs: # Various resources (especially on the load balancer side) don't support long names or special characters clean_branch_name=`echo ${CIRCLE_BRANCH:0:38} | sed "s,[^A-Za-z0-9],-,g" | tr '[:upper:]' '[:lower:]'` echo "STACK_NAME=webapp-${environment}--${clean_branch_name}" >> $BASH_ENV - - pulumi/login: - cloud-url: s3://${PULUMI_STATE_FILE} - - run: - name: Install Pulumi SDK - command: | - cd infra - npm install - - run: - name: Create Pulumi stack if it doesn't already exist - command: | - if ! $(pulumi stack ls --cwd infra | cut -d' ' -f1 | grep -xq $STACK_NAME); then - echo 'Creating a new Pulumi stack' - pulumi stack --cwd infra init $STACK_NAME - fi - - run: - name: pulumi refresh --stack $STACK_NAME - command: pulumi refresh --cwd infra --yes --stack $STACK_NAME - - run: - name: pulumi update --stack $STACK_NAME - command: pulumi update --cwd infra --yes --stack $STACK_NAME --skip-preview + - run: name: Check for newer workflow background: true From 05af6f36feecc81c60d9e18eb03f85c283c245ea Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:52:36 +0100 Subject: [PATCH 216/306] 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 9ea0fc9..1ad8d01 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ parameters: nightly_cleanup: default: false type: boolean - +#test orbs: pulumi: pulumi/pulumi@1.0.0 gh: circleci/github-cli@1.0 From 17a6da684ac155cd12b3c91d3109ad1669fc59ca Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:58:46 +0100 Subject: [PATCH 217/306] 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 1ad8d01..c04afb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ version: 2.1 -#test + parameters: nightly_cleanup: default: false From 44bb4d4b1abe60fd0974be776dea7acace9d3f49 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:58:55 +0100 Subject: [PATCH 218/306] 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 c04afb1..1ad8d01 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ version: 2.1 - +#test parameters: nightly_cleanup: default: false From 1bb9e6981768a4d0e94b2aae772c3a5bbf662b07 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:59:06 +0100 Subject: [PATCH 219/306] 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 1ad8d01..c04afb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ version: 2.1 -#test + parameters: nightly_cleanup: default: false From c9efc583d6d20761161de9757e91bb85dc716ca8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 20:07:09 +0100 Subject: [PATCH 220/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c04afb1..cbde117 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,4 +84,8 @@ workflows: branches: ignore: - master + build-dev-deploy: + unless: << pipeline.parameters.pull_request >> + jobs: + - deploy_infra: From dc35544e134ae40f5e99d9e4651239bcb029f16e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 20:07:34 +0100 Subject: [PATCH 221/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cbde117..ebd976e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -87,5 +87,4 @@ workflows: build-dev-deploy: unless: << pipeline.parameters.pull_request >> jobs: - - deploy_infra: - + - deploy_infra From 4622f8295dca5f8d4fa41442aa237588447329f5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 20:08:23 +0100 Subject: [PATCH 222/306] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ebd976e..1ba8796 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,9 @@ parameters: nightly_cleanup: default: false type: boolean + pull_request: + default: false + type: boolean #test orbs: pulumi: pulumi/pulumi@1.0.0 From 1301a4bfe07e759486ce2c0efddf4f541f077cf3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 21 Jun 2023 20:10:41 +0100 Subject: [PATCH 223/306] 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 1ba8796..776e193 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -88,6 +88,6 @@ workflows: ignore: - master build-dev-deploy: - unless: << pipeline.parameters.pull_request >> + when: << pipeline.parameters.pull_request >> jobs: - deploy_infra From cd4da14c81f9b38dcfbf5bc47301b8795c27652d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:20:50 +0100 Subject: [PATCH 224/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 776e193..6bb963b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,6 +21,7 @@ jobs: password: $DOCKERHUB_PASSWORD working_directory: ~/firstvet/webapp steps: + - run: sleep 500 - checkout - run: name: Store AWS credentials From 7d9e06d3b3233e527b8eace0e598af21c2c08a8a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:21:27 +0100 Subject: [PATCH 225/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6bb963b..5cb940e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,7 @@ version: 2.1 +#test + parameters: nightly_cleanup: default: false From 22851f6d006f9944614ad0ab207c29d302d747ab Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:21:33 +0100 Subject: [PATCH 226/306] 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 5cb940e..5c4f0f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 -#test + parameters: nightly_cleanup: From 5db986727a412eeeabf38684b6184b906650eb5b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Jun 2023 21:52:08 +0100 Subject: [PATCH 227/306] Update config.yml --- .circleci/config.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c4f0f4..77d1c9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,7 +71,24 @@ jobs: echo "more recent commit to branch, exiting" curl -X POST "https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel?circle-token=$CIRCLE_API_TOKEN" fi - done + done + build: + docker: + - image: gcc:latest + working_directory: ~/work + steps: + - checkout + - run: make + - run: | + ulimit -c unlimited + ./dump + - run: + command: | + mkdir -p /tmp/core_dumps + cp core.* /tmp/core_dumps + when: on_fail + - store_artifacts: + path: /tmp/core_dumps workflows: cleanup: @@ -90,6 +107,7 @@ workflows: branches: ignore: - master + - build build-dev-deploy: when: << pipeline.parameters.pull_request >> jobs: From 135b5498583e88312760ffcd5ffb22ccfbd5dc2c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 29 Jun 2023 22:07:59 +0100 Subject: [PATCH 228/306] 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 77d1c9f..b04f768 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,7 +78,7 @@ jobs: working_directory: ~/work steps: - checkout - - run: make + # - run: make - run: | ulimit -c unlimited ./dump From 5dc200baa7184811d816a3aca393682af2355c43 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:01:55 -1000 Subject: [PATCH 229/306] 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 b04f768..34e4aee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: password: $DOCKERHUB_PASSWORD working_directory: ~/firstvet/webapp steps: - - run: sleep 500 + - run: env - checkout - run: name: Store AWS credentials From 9e5c73653656bbbf9876152b58df31802c75ad61 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:03:47 -1000 Subject: [PATCH 230/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34e4aee..86433a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,6 +100,7 @@ workflows: - delete-obsolete-stacks deploy: jobs: + - delete-obsolete-stacks - deploy_infra: context: - DockerHub-Auth From 5c4936ff0a1212a032e36c671dee6a33f09d2c14 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:50:07 -1000 Subject: [PATCH 231/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 86433a0..a63196d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,10 @@ jobs: working_directory: ~/firstvet/webapp steps: - run: env + - run: | + if [ "$CIRCLE_BRANCH" ]; then + exit 0 + fi - checkout - run: name: Store AWS credentials From 464783e320a34c02a5da8a9c18685bbf9f4b5d78 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:50:50 -1000 Subject: [PATCH 232/306] 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 a63196d..ea02360 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: steps: - run: env - run: | - if [ "$CIRCLE_BRANCH" ]; then + if [ "$CIRCLE_BRANCH" = "test" ]; then exit 0 fi - checkout From 795849e1de37750e7ef4c532c77139fdc36b20ad Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:51:24 -1000 Subject: [PATCH 233/306] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ea02360..96dde50 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,9 +25,9 @@ jobs: steps: - run: env - run: | - if [ "$CIRCLE_BRANCH" = "test" ]; then - exit 0 - fi + if [ "$CIRCLE_BRANCH" = "test" ]; then + exit 0 + fi - checkout - run: name: Store AWS credentials From 83a37a764483895f2b8bf74a3f8d419cc3270412 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:53:13 -1000 Subject: [PATCH 234/306] 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 96dde50..846e314 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ jobs: - run: env - run: | if [ "$CIRCLE_BRANCH" = "test" ]; then - exit 0 + echo "hello world" && exit 0 fi - checkout - run: From 3a6e224265cc2112b586159f22b3d77c5c1fd7f0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:53:43 -1000 Subject: [PATCH 235/306] 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 846e314..6980ef1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: steps: - run: env - run: | - if [ "$CIRCLE_BRANCH" = "test" ]; then + if [ "$CIRCLE_BRANCH" == "test" ]; then echo "hello world" && exit 0 fi - checkout From 15e1185fccbd09ccd154f9bb0fab9ad13640bee0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:54:32 -1000 Subject: [PATCH 236/306] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6980ef1..6958d7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,6 +28,10 @@ jobs: if [ "$CIRCLE_BRANCH" == "test" ]; then echo "hello world" && exit 0 fi + - run: | + if [ "$CIRCLE_BRANCH" != "test" ]; then + echo "hello world" && exit 0 + fi - checkout - run: name: Store AWS credentials From 9b081a8761571af0f7ebefb81e5e491ef6893479 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:04:42 -1000 Subject: [PATCH 237/306] Update config.yml --- .circleci/config.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6958d7f..c4575cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,22 @@ jobs: echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV - + archive-app: + macos: + xcode: 14.3.0 + resource_class: macos.x86.medium.gen2 + # environment: + # - LANG: en_US.UTF-8 + # - LANGUAGE: en_US.UTF-8 + # - LC_ALL: en_US.UTF-8 + # - TESTFLIGHT_GROUP: '' + # - TESTFLIGHT_CHANGELOG: '' + # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds + # - AWS_DEFAULT_REGION: us-east-1 + steps: + - run: + name: Install tools + command: pip3 install --user awscli deploy_infra: docker: - image: cimg/node:18.16.0 @@ -109,6 +124,7 @@ workflows: deploy: jobs: - delete-obsolete-stacks + - archive-app - deploy_infra: context: - DockerHub-Auth From 0e30a17d63c0ffeef21f8a1a484ffad84b507c30 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:05:44 -1000 Subject: [PATCH 238/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c4575cb..47419cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: + - run: pip install --upgrade pip - run: name: Install tools command: pip3 install --user awscli From d2c9b0e3e15229144f4a4d7f0f9cb1a34a978086 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:08:19 -1000 Subject: [PATCH 239/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 47419cb..cd5cee3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: + - run: python -m pip install awscli - run: pip install --upgrade pip - run: name: Install tools From 0139b70c968d14999ef5ba94f2c7d707f1104fe1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:12:28 -1000 Subject: [PATCH 240/306] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cd5cee3..ab80a6e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,10 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: python -m pip install awscli + - run: | + command: curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" + unzip awscli-bundle.zip + sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - run: pip install --upgrade pip - run: name: Install tools From f83e1a0e0d5b0be18a12e28fb9196ab2fe1c9fa3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:15:52 -1000 Subject: [PATCH 241/306] Update config.yml --- .circleci/config.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ab80a6e..8dd1d6f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,14 +53,16 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: | - command: curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" - unzip awscli-bundle.zip - sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - - run: pip install --upgrade pip - - run: - name: Install tools - command: pip3 install --user awscli + - run: + name: install aws cli + command: | + curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" + unzip awscli-bundle.zip + sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws + + - run: unzip awscli-bundle.zip + - run: sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws + - run: aws --version deploy_infra: docker: - image: cimg/node:18.16.0 From 21d414fcfb703b4857dc6fecb1c4ac7b9b528a65 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:20:04 -1000 Subject: [PATCH 242/306] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8dd1d6f..57cd66e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,10 +59,10 @@ jobs: curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - - - run: unzip awscli-bundle.zip - - run: sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - - run: aws --version + + - run: unzip awscli-bundle.zip + - run: sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws + - run: aws --version deploy_infra: docker: - image: cimg/node:18.16.0 From 21e340f26589d38e1bf839a12fcf1d54ed2fb4b9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:21:48 -1000 Subject: [PATCH 243/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 57cd66e..2eeabce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: + - run: pip install --user awscli - run: name: install aws cli command: | From 28d6d763683c27d70bdb29ddf2c3254c6b2b59e4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:22:14 -1000 Subject: [PATCH 244/306] 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 2eeabce..419ae63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: pip install --user awscli + - run: pip install --user awscli - run: name: install aws cli command: | From 1af2a8f122f68953cd24b53bd5539aa244ce7259 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:28:30 -1000 Subject: [PATCH 245/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 419ae63..ffea06d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,14 +53,13 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: pip install --user awscli - run: name: install aws cli command: | curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - + - run: /usr/local/bin/aws --version - run: unzip awscli-bundle.zip - run: sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - run: aws --version From 2b2fbd1a166edf18d0c37edabb3d25a13a2b4bd6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:38:22 -1000 Subject: [PATCH 246/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ffea06d..886c258 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: + - run: python --version - run: name: install aws cli command: | From a0aafa7e770154a00ffb16164cc8b78b6fadd3b1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:41:16 -1000 Subject: [PATCH 247/306] 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 886c258..8562c44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: python --version + - run: python -m pip install awscli - run: name: install aws cli command: | From dcf3baa19163233545ecebc3f51bacdc95aa5264 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:35:04 -1000 Subject: [PATCH 248/306] 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 8562c44..9c60ec1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: python -m pip install awscli + - run: pip3 install awscli --user - run: name: install aws cli command: | From 0a326d27da590580c01d6c6dabbb4125b4dd4545 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:38:11 -1000 Subject: [PATCH 249/306] Update config.yml --- .circleci/config.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c60ec1..194b87c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,18 +42,11 @@ jobs: echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV archive-app: macos: - xcode: 14.3.0 + xcode: 14.3.1 resource_class: macos.x86.medium.gen2 - # environment: - # - LANG: en_US.UTF-8 - # - LANGUAGE: en_US.UTF-8 - # - LC_ALL: en_US.UTF-8 - # - TESTFLIGHT_GROUP: '' - # - TESTFLIGHT_CHANGELOG: '' - # - BUILD_ARTIFACTS_S3_BUCKET: aetna-digital-inf-circleci-ios-builds - # - AWS_DEFAULT_REGION: us-east-1 steps: - - run: pip3 install awscli --user + - run: | + pip3 install awscli - run: name: install aws cli command: | From d9d9de42bfc8b150e73e347251a5ae8bb05cb9d8 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:19:12 -0600 Subject: [PATCH 250/306] Update config.yml --- .circleci/config.yml | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 194b87c..4a88493 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,12 @@ orbs: gh: circleci/github-cli@1.0 jobs: + build: + macos: + xcode: 14.2.0 + + steps: + - run: xcodebuild -version delete-obsolete-stacks: docker: - image: cimg/python:3.7 @@ -96,24 +102,7 @@ jobs: curl -X POST "https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel?circle-token=$CIRCLE_API_TOKEN" fi done - build: - docker: - - image: gcc:latest - working_directory: ~/work - steps: - - checkout - # - run: make - - run: | - ulimit -c unlimited - ./dump - - run: - command: | - mkdir -p /tmp/core_dumps - cp core.* /tmp/core_dumps - when: on_fail - - store_artifacts: - path: /tmp/core_dumps - + workflows: cleanup: when: @@ -126,15 +115,5 @@ workflows: jobs: - delete-obsolete-stacks - archive-app - - deploy_infra: - context: - - DockerHub-Auth - filters: - branches: - ignore: - - master - build - build-dev-deploy: - when: << pipeline.parameters.pull_request >> - jobs: - - deploy_infra + From c8dc0a566e33cf36ad4b1e7e95e251d8d9f043df Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:28:24 -0600 Subject: [PATCH 251/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a88493..28672f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,6 +21,7 @@ jobs: steps: - run: xcodebuild -version + - run: echo $SSH_AGENT_PID delete-obsolete-stacks: docker: - image: cimg/python:3.7 From 427f7736255930b36db8cc32bb2b0d7774c38ba1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:35:49 -0600 Subject: [PATCH 252/306] Update config.yml --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28672f0..297e48b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,6 +22,11 @@ jobs: steps: - run: xcodebuild -version - run: echo $SSH_AGENT_PID + - run: | + if [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] ; then + exit 0; + fi + echo "commands you want to run when job is NOT rerun with SSH" delete-obsolete-stacks: docker: - image: cimg/python:3.7 From 9d467bdbb4b79b30ed574f517d60c85cf908b82d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:41:43 -0600 Subject: [PATCH 253/306] 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 297e48b..452fcbf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: steps: - run: xcodebuild -version - - run: echo $SSH_AGENT_PID + - run: eval "$(ssh-agent -s)" - run: | if [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] ; then exit 0; From 2d70757e133d824ea836da011007f5c7b02ae35b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:46:55 -0600 Subject: [PATCH 254/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 452fcbf..bed3b17 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,6 +35,7 @@ jobs: password: $DOCKERHUB_PASSWORD working_directory: ~/firstvet/webapp steps: + - run: exit 0 - run: env - run: | if [ "$CIRCLE_BRANCH" == "test" ]; then From 43b2b9238ef4b239b66a16116c96006a6630bd5f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:23:59 -0600 Subject: [PATCH 255/306] 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 bed3b17..a0e170e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: steps: - run: xcodebuild -version - - run: eval "$(ssh-agent -s)" + - run: [ -z "$PS1" ] && echo "Noop" || echo "Yes" - run: | if [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] ; then exit 0; From 50f5df2f36cbba97fd6b4d9961d60b40dd248c29 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:28:07 -0600 Subject: [PATCH 256/306] Update config.yml --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a0e170e..27cbc3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,12 +21,13 @@ jobs: steps: - run: xcodebuild -version - - run: [ -z "$PS1" ] && echo "Noop" || echo "Yes" - run: | - if [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] ; then - exit 0; - fi - echo "commands you want to run when job is NOT rerun with SSH" + if [ -z "$PS1" ]; then + echo "not interactive" + else + //call our function + echo "do interactive stuff" + fi delete-obsolete-stacks: docker: - image: cimg/python:3.7 From 4b1ebc87c6ff9cb91d21f82a4ec45308522998b0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:23:48 -0600 Subject: [PATCH 257/306] 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 27cbc3d..40baffe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ orbs: jobs: build: macos: - xcode: 14.2.0 + xcode: 15.0.0 steps: - run: xcodebuild -version From 99a2aa10866940e1b2f587849b12911e233844e9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:28:32 -0600 Subject: [PATCH 258/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 40baffe..1792e44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: build: macos: xcode: 15.0.0 + resource_class: masos.m1.medium steps: - run: xcodebuild -version From d39febc3f061a9612f5585ae54478276fe752e7d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:29:44 -0600 Subject: [PATCH 259/306] 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 1792e44..4dccc74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: build: macos: xcode: 15.0.0 - resource_class: masos.m1.medium + resource_class: macos.x86.medium.gen steps: - run: xcodebuild -version From c971f976883e1dd92084e10d9097e35fb1387952 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:23:16 -0600 Subject: [PATCH 260/306] Update config.yml --- .circleci/config.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4dccc74..ede80ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,22 @@ orbs: gh: circleci/github-cli@1.0 jobs: + build-and-test-ios: + working_directory: ~/project/flutter/connectivity_tester_app + macos: + xcode: 14.3.1 + resource_class: macos.x86.medium.gen2 + + steps: + # - add_ssh_keys: + # fingerprints: + # - "aa:8b:4f:11:cc:6f:54:e4:17:da:88:c8:3e:80:94:f7" + + - checkout: + path: ../.. + + - run: git submodule sync + - run: git submodule update --init --depth 1 build: macos: xcode: 15.0.0 @@ -113,15 +129,9 @@ jobs: done workflows: - cleanup: - when: - and: - - equal: [ scheduled_pipeline, << pipeline.trigger_source >> ] - - equal: [ true, << pipeline.parameters.nightly_cleanup >> ] - jobs: - - delete-obsolete-stacks deploy: jobs: + - build-and-test-ios - delete-obsolete-stacks - archive-app - build From 1059edfb31778eb2bf0619d7019354f3c01a7659 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:25:51 -0600 Subject: [PATCH 261/306] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ede80ae..32477d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,5 @@ version: 2.1 - - parameters: nightly_cleanup: default: false From 2de4822c65db1a6588e9edee7d97bd558e68f7c6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:27:01 -0600 Subject: [PATCH 262/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 32477d0..1edfa6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,7 @@ version: 2.1 + +#test parameters: nightly_cleanup: default: false From 9348f61e8086b2ca186e38f9f1807dc758cc4f0b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:28:42 -0600 Subject: [PATCH 263/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1edfa6a..9933b4a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,6 @@ version: 2.1 -#test parameters: nightly_cleanup: default: false From 12b84862fd0d16731731bbd10038ac5ae55b81d3 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:25:53 -0600 Subject: [PATCH 264/306] Update config.yml --- .circleci/config.yml | 136 +++---------------------------------------- 1 file changed, 7 insertions(+), 129 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9933b4a..a68cf70 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,137 +1,15 @@ version: 2.1 - -parameters: - nightly_cleanup: - default: false - type: boolean - pull_request: - default: false - type: boolean -#test -orbs: - pulumi: pulumi/pulumi@1.0.0 - gh: circleci/github-cli@1.0 - jobs: - build-and-test-ios: - working_directory: ~/project/flutter/connectivity_tester_app - macos: - xcode: 14.3.1 - resource_class: macos.x86.medium.gen2 - - steps: - # - add_ssh_keys: - # fingerprints: - # - "aa:8b:4f:11:cc:6f:54:e4:17:da:88:c8:3e:80:94:f7" - - - checkout: - path: ../.. - - - run: git submodule sync - - run: git submodule update --init --depth 1 - build: - macos: - xcode: 15.0.0 - resource_class: macos.x86.medium.gen - - steps: - - run: xcodebuild -version - - run: | - if [ -z "$PS1" ]; then - echo "not interactive" - else - //call our function - echo "do interactive stuff" - fi - delete-obsolete-stacks: - docker: - - image: cimg/python:3.7 - auth: - username: firstvettech - password: $DOCKERHUB_PASSWORD - working_directory: ~/firstvet/webapp - steps: - - run: exit 0 - - run: env - - run: | - if [ "$CIRCLE_BRANCH" == "test" ]; then - echo "hello world" && exit 0 - fi - - run: | - if [ "$CIRCLE_BRANCH" != "test" ]; then - echo "hello world" && exit 0 - fi - - checkout - - run: - name: Store AWS credentials - command: | - echo "export AWS_DEFAULT_REGION=eu-north-1" >> $BASH_ENV - echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV - echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV - echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV - archive-app: - macos: - xcode: 14.3.1 - resource_class: macos.x86.medium.gen2 - steps: - - run: | - pip3 install awscli - - run: - name: install aws cli - command: | - curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" - unzip awscli-bundle.zip - sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - - run: /usr/local/bin/aws --version - - run: unzip awscli-bundle.zip - - run: sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - - run: aws --version - deploy_infra: + hello-job: docker: - - image: cimg/node:18.16.0 - working_directory: ~/firstvet/webapp + - image: cimg/node:17.2.0 # the primary container, where your job's commands are run steps: - - checkout - - run: - name: Store AWS credentials - command: | - echo "export AWS_DEFAULT_REGION=eu-north-1" >> $BASH_ENV - if [ "${CIRCLE_BRANCH}" = "master" ]; then - echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_PRODUCTION" >> $BASH_ENV - echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_PRODUCTION" >> $BASH_ENV - echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_PRODUCTION'" >> $BASH_ENV - echo "export PULUMI_STATE_FILE=pulumi.state.prod" >> $BASH_ENV - environment=production - else - echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PULUMI_STAGING" >> $BASH_ENV - echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PULUMI_STAGING" >> $BASH_ENV - echo "export PULUMI_CONFIG_PASSPHRASE='$PULUMI_PASSWORD_FOR_SECRETS_STAGING'" >> $BASH_ENV - echo "export PULUMI_STATE_FILE=pulumi.state" >> $BASH_ENV - environment=staging - fi - # Various resources (especially on the load balancer side) don't support long names or special characters - clean_branch_name=`echo ${CIRCLE_BRANCH:0:38} | sed "s,[^A-Za-z0-9],-,g" | tr '[:upper:]' '[:lower:]'` - echo "STACK_NAME=webapp-${environment}--${clean_branch_name}" >> $BASH_ENV - - - run: - name: Check for newer workflow - background: true - command: | - while true; do - sleep 5 - LATEST_COMMIT=$(git ls-remote $CIRCLE_REPOSITORY_URL | grep $CIRCLE_BRANCH | cut -f 1) - if [ "$LATEST_COMMIT" != "$CIRCLE_SHA1" ]; then - echo "more recent commit to branch, exiting" - curl -X POST "https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel?circle-token=$CIRCLE_API_TOKEN" - fi - done - + - checkout # check out the code in the project directory + - run: echo "hello world" # run the `echo` command + workflows: - deploy: + my-workflow: jobs: - - build-and-test-ios - - delete-obsolete-stacks - - archive-app - - build + - hello-job From c842f3ed655aabb38294de0626cac3a4eed1bc91 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:27:20 -0600 Subject: [PATCH 265/306] Update config.yml --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a68cf70..8401913 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,6 @@ version: 2.1 +orbs: + hello-world: viar/hello-world@0.0.2 jobs: hello-job: @@ -11,5 +13,7 @@ jobs: workflows: my-workflow: jobs: - - hello-job + - hello-job + - hello-world/greet: + to: "henna" From e611248c96d9c9d04e7fc4f41558f52dec29f295 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:30:30 -0600 Subject: [PATCH 266/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8401913..aec9369 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,4 +16,6 @@ workflows: - hello-job - hello-world/greet: to: "henna" + when: + - equal: [ test, << pipeline.git.branch >> ] From 69e0658525a6bb7ec5d25e6a49f5b8435fb1238f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:43:35 -0600 Subject: [PATCH 267/306] Update config.yml --- .circleci/config.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aec9369..f8d88a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,10 @@ version: 2.1 orbs: hello-world: viar/hello-world@0.0.2 +parameters: + test-suite: + type: string + default: "" jobs: hello-job: @@ -12,10 +16,14 @@ jobs: workflows: my-workflow: + when: + condition: + equal: [ test, << pipeline.parameters.test-suite >> ] + + jobs: - hello-job - hello-world/greet: to: "henna" - when: - - equal: [ test, << pipeline.git.branch >> ] + From fe7468c95d365b93780142e074cc1c64afb84e09 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:44:59 -0600 Subject: [PATCH 268/306] Update config.yml --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8d88a9..e8eac8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,5 +25,15 @@ workflows: - hello-job - hello-world/greet: to: "henna" + my-test-workflow: + when: + condition: + equal: [ test-1, << pipeline.parameters.test-suite >> ] + + + jobs: + - hello-job + - hello-world/greet: + to: "henna" From 535fd5c1e3a68c486e5f2d9141a971a09c94c806 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:47:42 -0600 Subject: [PATCH 269/306] Update config.yml --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8eac8c..68100a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,8 +17,7 @@ jobs: workflows: my-workflow: when: - condition: - equal: [ test, << pipeline.parameters.test-suite >> ] + equal: [ test, << pipeline.parameters.test-suite >> ] jobs: @@ -27,8 +26,7 @@ workflows: to: "henna" my-test-workflow: when: - condition: - equal: [ test-1, << pipeline.parameters.test-suite >> ] + equal: [ test-1, << pipeline.parameters.test-suite >> ] jobs: From dad55d039dc8cd3b39c79a43a1c5dfec3ef2a272 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:05:28 -0600 Subject: [PATCH 270/306] 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 68100a4..ea6a0f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: - image: cimg/node:17.2.0 # the primary container, where your job's commands are run steps: - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command + - run: tcpdump workflows: my-workflow: From fdde93d79791fa3e036acf668de07d289dd0bfc7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:47:40 -0600 Subject: [PATCH 271/306] Update config.yml --- .circleci/config.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ea6a0f5..44e8a87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,12 @@ jobs: - image: cimg/node:17.2.0 # the primary container, where your job's commands are run steps: - checkout # check out the code in the project directory - - run: tcpdump + deploy_testflight: + macos: + xcode: 14.3.1 + steps: + - checkout + workflows: my-workflow: @@ -25,11 +30,12 @@ workflows: - hello-world/greet: to: "henna" my-test-workflow: - when: - equal: [ test-1, << pipeline.parameters.test-suite >> ] + # when: + # equal: [ test-1, << pipeline.parameters.test-suite >> ] jobs: + - deploy_testflight - hello-job - hello-world/greet: to: "henna" From 1903d617adb1d91a36299738d2556e6f20876c7f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:48:45 -0600 Subject: [PATCH 272/306] 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 44e8a87..c488a5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: - checkout # check out the code in the project directory deploy_testflight: macos: - xcode: 14.3.1 + xcode: 14.2.0 steps: - checkout From 84a1396eb6f00ce4fca39312d2fa4dec864ef795 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:51:27 -0600 Subject: [PATCH 273/306] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c488a5e..913836f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,8 @@ jobs: - checkout # check out the code in the project directory deploy_testflight: macos: - xcode: 14.2.0 + xcode: 14.3.1 + resource_class: resource_class: macos.x86.medium.gen2 steps: - checkout From e3453a72cdf1eceed40f61de6bf34c1fc706dfd1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:53:25 -0600 Subject: [PATCH 274/306] 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 913836f..99f3a88 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: deploy_testflight: macos: xcode: 14.3.1 - resource_class: resource_class: macos.x86.medium.gen2 + resource_class: macos.x86.medium.gen2 steps: - checkout From 390b8cb38e59c632484d47ec8fcceb0c365ff1e1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Sep 2023 09:58:14 -0600 Subject: [PATCH 275/306] Update config.yml --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 99f3a88..e49c573 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2.1 orbs: hello-world: viar/hello-world@0.0.2 + browser-tools: circleci/browser-tools@1.4.4 parameters: test-suite: type: string @@ -18,6 +19,19 @@ jobs: resource_class: macos.x86.medium.gen2 steps: - checkout + ios_iPhone_13_V15_2: + macos: # use the macOS executor + xcode: 13.4.1 + resource_class: macos.x86.medium.gen2 + environment: + PLATFORM: iOS + DEVICE_VERSION: 15.5 + DEVICE_NAME: iPhone_13_Test + SIM_DEVICE_TYPE: com.apple.CoreSimulator.SimDeviceType.iPhone-13 + SIM_RUN_TIME: com.apple.CoreSimulator.SimRuntime.iOS-15-5 + steps: + - browser-tools/install-chrome + - browser-tools/install-chromedriver workflows: From 7ac9bff2c33b6e2d3d87185214a3e723171d769a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Sep 2023 10:00:15 -0600 Subject: [PATCH 276/306] Update config.yml --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e49c573..c53aae5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,8 +30,13 @@ jobs: SIM_DEVICE_TYPE: com.apple.CoreSimulator.SimDeviceType.iPhone-13 SIM_RUN_TIME: com.apple.CoreSimulator.SimRuntime.iOS-15-5 steps: - - browser-tools/install-chrome - - browser-tools/install-chromedriver + + + - run: sudo apt-get update + - browser-tools/install-chrome: + # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 + chrome-version: 116.0.5845.96 + - browser-tools/install-chromedriver workflows: From 054da25ab92fa72ce969c9ddf039044db03dd484 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Sep 2023 10:01:36 -0600 Subject: [PATCH 277/306] Update config.yml --- .circleci/config.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c53aae5..b090565 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,20 +18,6 @@ jobs: xcode: 14.3.1 resource_class: macos.x86.medium.gen2 steps: - - checkout - ios_iPhone_13_V15_2: - macos: # use the macOS executor - xcode: 13.4.1 - resource_class: macos.x86.medium.gen2 - environment: - PLATFORM: iOS - DEVICE_VERSION: 15.5 - DEVICE_NAME: iPhone_13_Test - SIM_DEVICE_TYPE: com.apple.CoreSimulator.SimDeviceType.iPhone-13 - SIM_RUN_TIME: com.apple.CoreSimulator.SimRuntime.iOS-15-5 - steps: - - - run: sudo apt-get update - browser-tools/install-chrome: # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 From a26ec7b1e971eaaa36e30170e259c3af21c3b8dd Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 1 Sep 2023 10:02:54 -0600 Subject: [PATCH 278/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b090565..75e3974 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,6 @@ jobs: xcode: 14.3.1 resource_class: macos.x86.medium.gen2 steps: - - run: sudo apt-get update - browser-tools/install-chrome: # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 chrome-version: 116.0.5845.96 From 1d66381d4e4f919e950046344eddde19110d42ac Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:34:51 -0700 Subject: [PATCH 279/306] Update config.yml --- .circleci/config.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 75e3974..987b736 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,12 @@ jobs: - browser-tools/install-chrome: # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 chrome-version: 116.0.5845.96 - - browser-tools/install-chromedriver + - browser-tools/install-chromedriver + failing_job: + docker: + - image: cimg/node:17.2.0 # the primary container, where your job's commands are run + steps: + - run: wqr workflows: @@ -44,5 +49,14 @@ workflows: - hello-job - hello-world/greet: to: "henna" +workflows: + my-failing-workflow: + jobs: + - hello-job + - hello-world/greet: + to: "henna" + other-failing-workflow: + jobs: + - failing_job From ff895554950eed0e39034e0ba1870a5c66dad653 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:36:24 -0700 Subject: [PATCH 280/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 987b736..30c2e56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,6 @@ workflows: - hello-job - hello-world/greet: to: "henna" -workflows: my-failing-workflow: jobs: - hello-job From a2c5bc2f858dcd85c038f36ac80ed32aa3aa33cc Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:37:39 -0700 Subject: [PATCH 281/306] Update config.yml --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 30c2e56..830c563 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,16 +37,14 @@ workflows: jobs: - hello-job - - hello-world/greet: - to: "henna" + my-test-workflow: # when: # equal: [ test-1, << pipeline.parameters.test-suite >> ] jobs: - - deploy_testflight - - hello-job + - hello-world/greet: to: "henna" my-failing-workflow: From 86b7fe395aef5a886ebebd28cfe2d7218aaf377a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:39:28 -0700 Subject: [PATCH 282/306] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 830c563..b5306ff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,6 @@ workflows: to: "henna" my-failing-workflow: jobs: - - hello-job - hello-world/greet: to: "henna" other-failing-workflow: From 9a2f1f447263cef32b2fa22e625bd61578fd71b6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:43:02 -0700 Subject: [PATCH 283/306] Update config.yml --- .circleci/config.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b5306ff..97099ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,28 +31,24 @@ jobs: workflows: my-workflow: + other-failing-workflow: + jobs: + - failing_job when: equal: [ test, << pipeline.parameters.test-suite >> ] - - jobs: - hello-job my-test-workflow: # when: # equal: [ test-1, << pipeline.parameters.test-suite >> ] - - jobs: - - hello-world/greet: to: "henna" my-failing-workflow: jobs: - hello-world/greet: to: "henna" - other-failing-workflow: - jobs: - - failing_job + From bca743a04f9100001d0f1a5a6a80b3b1bb9448b7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:44:02 -0700 Subject: [PATCH 284/306] Update config.yml --- .circleci/config.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 97099ac..7e791c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,24 +31,29 @@ jobs: workflows: my-workflow: - other-failing-workflow: - jobs: - - failing_job when: equal: [ test, << pipeline.parameters.test-suite >> ] + + jobs: - hello-job my-test-workflow: # when: # equal: [ test-1, << pipeline.parameters.test-suite >> ] + + jobs: + - hello-world/greet: to: "henna" my-failing-workflow: jobs: - hello-world/greet: to: "henna" + other-failing-workflow: + jobs: + - failing_job From 3c2d23052d6f6c85be80ac67678cff197fa7e65b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:45:41 -0700 Subject: [PATCH 285/306] Update config.yml --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e791c5..ff5863e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,10 @@ jobs: workflows: + other-failing-workflow: + jobs: + - failing_job + my-workflow: when: equal: [ test, << pipeline.parameters.test-suite >> ] @@ -51,9 +55,7 @@ workflows: jobs: - hello-world/greet: to: "henna" - other-failing-workflow: - jobs: - - failing_job + From b1396b0222667df481c79f6e95d5845edc84ba70 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:49:51 -0700 Subject: [PATCH 286/306] Update config.yml --- .circleci/config.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ff5863e..07ce56e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,18 @@ jobs: - image: cimg/node:17.2.0 # the primary container, where your job's commands are run steps: - run: wqr - + - run: + name: Commit new image to repo + command: | + export COMMIT_MESSAGE=$(git log -1 --pretty=oneline) + cd ./edgebook-manifests + git config --local user.email "scorebet-bot@thescore.com" + git config --local user.name "scorebet-bot" + git config --global gpg.format ssh + git config --global gpg.ssh.defaultKeyCommand "ssh-add -L" + git config --global commit.gpgsign true + git commit -am "CircleCI: Helm chart for edgebook ${CIRCLE_BRANCH} branch updated with \"${COMMIT_MESSAGE}\"" + git push origin $TARGET_BRANCH workflows: other-failing-workflow: From fdfa9b6da690894f79f61a52752b244e2a3c957f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:52:04 -0700 Subject: [PATCH 287/306] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07ce56e..2f8d056 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,8 +25,7 @@ jobs: failing_job: docker: - image: cimg/node:17.2.0 # the primary container, where your job's commands are run - steps: - - run: wqr + steps: - run: name: Commit new image to repo command: | From 6e3bfc4161fc74aac4264cc0c89a39780ba3ddb2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:59:28 -0700 Subject: [PATCH 288/306] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f8d056..1be5b7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,11 +31,11 @@ jobs: command: | export COMMIT_MESSAGE=$(git log -1 --pretty=oneline) cd ./edgebook-manifests - git config --local user.email "scorebet-bot@thescore.com" - git config --local user.name "scorebet-bot" - git config --global gpg.format ssh - git config --global gpg.ssh.defaultKeyCommand "ssh-add -L" - git config --global commit.gpgsign true + # git config --local user.email "scorebet-bot@thescore.com" + # git config --local user.name "scorebet-bot" + # git config --global gpg.format ssh + # git config --global gpg.ssh.defaultKeyCommand "ssh-add -L" + # git config --global commit.gpgsign true git commit -am "CircleCI: Helm chart for edgebook ${CIRCLE_BRANCH} branch updated with \"${COMMIT_MESSAGE}\"" git push origin $TARGET_BRANCH From 4c242bee23b81444ae591870a67e7e371732a1d5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:06:20 -0700 Subject: [PATCH 289/306] Update config.yml --- .circleci/config.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1be5b7a..7a64fdf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,23 +26,13 @@ jobs: docker: - image: cimg/node:17.2.0 # the primary container, where your job's commands are run steps: - - run: - name: Commit new image to repo - command: | - export COMMIT_MESSAGE=$(git log -1 --pretty=oneline) - cd ./edgebook-manifests - # git config --local user.email "scorebet-bot@thescore.com" - # git config --local user.name "scorebet-bot" - # git config --global gpg.format ssh - # git config --global gpg.ssh.defaultKeyCommand "ssh-add -L" - # git config --global commit.gpgsign true - git commit -am "CircleCI: Helm chart for edgebook ${CIRCLE_BRANCH} branch updated with \"${COMMIT_MESSAGE}\"" - git push origin $TARGET_BRANCH + - run: echo $test_env_var workflows: other-failing-workflow: jobs: - - failing_job + - failing_job: + context: my-context my-workflow: when: From 890b93e6fdce1416bfad2bddbf346a218f809091 Mon Sep 17 00:00:00 2001 From: martincircleci <97480042+martincircleci@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:20:39 -0400 Subject: [PATCH 290/306] [ci skip] Update config.yml with comment --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a64fdf..ce1d55a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,7 +55,7 @@ workflows: jobs: - hello-world/greet: to: "henna" - - + + #this is a comment - Marty From f4e5182538d19a89a3e68ac1e8b289c510d68367 Mon Sep 17 00:00:00 2001 From: martincircleci <97480042+martincircleci@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:29:47 -0400 Subject: [PATCH 291/306] [ci skip] Update requirements-dev.txt [ci skip] From aa3eb646a1e015b5e5a67e4a9ec973b042463b60 Mon Sep 17 00:00:00 2001 From: martincircleci <97480042+martincircleci@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:32:25 -0400 Subject: [PATCH 292/306] Update config.yml [ci skip] this yo --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce1d55a..598d76e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,6 +56,6 @@ workflows: - hello-world/greet: to: "henna" - #this is a comment - Marty + #this is a comment still - Marty From c0cfb876c282b2f9d2cf1a4b9e0f5c83fade99d3 Mon Sep 17 00:00:00 2001 From: Marty Date: Fri, 29 Sep 2023 16:02:18 -0400 Subject: [PATCH 293/306] [skip ci] Update from main From f1b4e70325502939563c2b469c182928548872e0 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:14:22 -0700 Subject: [PATCH 294/306] Update config.yml --- .circleci/config.yml | 62 ++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 45 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 598d76e..98b076b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,60 +2,32 @@ version: 2.1 orbs: hello-world: viar/hello-world@0.0.2 browser-tools: circleci/browser-tools@1.4.4 -parameters: - test-suite: - type: string - default: "" + jobs: hello-job: docker: - - image: cimg/node:17.2.0 # the primary container, where your job's commands are run - steps: - - checkout # check out the code in the project directory - deploy_testflight: - macos: - xcode: 14.3.1 - resource_class: macos.x86.medium.gen2 + - cimg/ruby:3.1-browsers steps: - - browser-tools/install-chrome: - # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 - chrome-version: 116.0.5845.96 - - browser-tools/install-chromedriver - failing_job: - docker: - - image: cimg/node:17.2.0 # the primary container, where your job's commands are run - steps: - - run: echo $test_env_var + - run: sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' update && sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' install -y libmagickcore-dev libmagic-dev + # deploy_testflight: + # macos: + # xcode: 14.3.1 + # resource_class: macos.x86.medium.gen2 + # steps: + # - browser-tools/install-chrome: + # # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 + # chrome-version: 116.0.5845.96 + # - browser-tools/install-chromedriver + # failing_job: + # docker: + # - image: cimg/node:17.2.0 # the primary container, where your job's commands are run + # steps: + # - run: echo $test_env_var workflows: other-failing-workflow: - jobs: - - failing_job: - context: my-context - - my-workflow: - when: - equal: [ test, << pipeline.parameters.test-suite >> ] - - jobs: - hello-job - - my-test-workflow: - # when: - # equal: [ test-1, << pipeline.parameters.test-suite >> ] - - - jobs: - - - hello-world/greet: - to: "henna" - my-failing-workflow: - jobs: - - hello-world/greet: - to: "henna" - - #this is a comment still - Marty From e86654581bdcf0dfef842f67b5f0283f7bab213e Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:17:27 -0700 Subject: [PATCH 295/306] Update config.yml --- .circleci/config.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98b076b..34abcba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,4 @@ version: 2.1 -orbs: - hello-world: viar/hello-world@0.0.2 - browser-tools: circleci/browser-tools@1.4.4 - jobs: hello-job: From a8fe5c3452ba4ba7c88bfc0ca0b498db65eebdde Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:19:19 -0700 Subject: [PATCH 296/306] Update config.yml --- .circleci/config.yml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34abcba..c753ec2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,29 +1,13 @@ version: 2.1 - jobs: - hello-job: + build: docker: - - cimg/ruby:3.1-browsers + - image: cimg/ruby:3.1-browsers steps: - run: sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' update && sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' install -y libmagickcore-dev libmagic-dev - # deploy_testflight: - # macos: - # xcode: 14.3.1 - # resource_class: macos.x86.medium.gen2 - # steps: - # - browser-tools/install-chrome: - # # TODO remove following line when fixed https://github.com/CircleCI-Public/browser-tools-orb/issues/90 - # chrome-version: 116.0.5845.96 - # - browser-tools/install-chromedriver - # failing_job: - # docker: - # - image: cimg/node:17.2.0 # the primary container, where your job's commands are run - # steps: - # - run: echo $test_env_var + workflows: - other-failing-workflow: + build-workflow: jobs: - - hello-job - - + - build From eb97c0c02fe73053b1a61bb995daf881f7ae6a9f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:34:46 -0700 Subject: [PATCH 297/306] Update config.yml --- .circleci/config.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c753ec2..cca3929 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,10 +1,15 @@ version: 2.1 jobs: build: - docker: - - image: cimg/ruby:3.1-browsers + machine: + image: ubuntu-2004:202107-02 + docker_layer_caching: false + resource_class: xlarge steps: - - run: sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' update && sudo apt-get -o 'Acquire::http::Timeout=10' -o 'Acquire::https::Timeout=10' install -y libmagickcore-dev libmagic-dev + - run: | + scpu + lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' + lscpu -p workflows: From 6fff843d72f9241581b7220f6cdb4c218116df9c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:37:30 -0700 Subject: [PATCH 298/306] 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 cca3929..e14f162 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: resource_class: xlarge steps: - run: | - scpu + lscpu lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' lscpu -p From da824be5750a252e5d09a3e29c27600c52625208 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:25:27 -0700 Subject: [PATCH 299/306] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e14f162..7a3c52e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,9 +10,12 @@ jobs: lscpu lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' lscpu -p + - run: wqr workflows: build-workflow: jobs: - - build + - build: + post-steps: + - run: ls /home/circleci/project/lib | grep LogsToElasticsearch From b8b9ad96dcd65ff495b89f3241d88eec63c258f5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:27:38 -0700 Subject: [PATCH 300/306] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a3c52e..05b1039 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,4 +18,7 @@ workflows: jobs: - build: post-steps: - - run: ls /home/circleci/project/lib | grep LogsToElasticsearch + - run: + command: ls /home/circleci/project/lib | grep LogsToElasticsearch + when: always + From 0fb2cda5e629c1b336965064e5756a36b37ccd5a Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:05:12 -0800 Subject: [PATCH 301/306] 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 05b1039..8455b6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 jobs: - build: + my_long/test_name_with_slash: machine: image: ubuntu-2004:202107-02 docker_layer_caching: false @@ -16,7 +16,7 @@ jobs: workflows: build-workflow: jobs: - - build: + - my_long/test_name_with_slash: post-steps: - run: command: ls /home/circleci/project/lib | grep LogsToElasticsearch From d0d4855ab38bcf310725b9268803718fa477cad9 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:58:51 -0800 Subject: [PATCH 302/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8455b6c..de11c12 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,3 +22,4 @@ workflows: command: ls /home/circleci/project/lib | grep LogsToElasticsearch when: always +#test From a5d715556f746953361dc3fdc9e106d80f8f05ce Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:59:49 -0800 Subject: [PATCH 303/306] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index de11c12..b113d93 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,3 +23,4 @@ workflows: when: always #test +#test From f1dfada15b204bc1543ad2eecba93a398fb073f7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:00:44 -0800 Subject: [PATCH 304/306] Update config.yml --- .circleci/config.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b113d93..b2dd1f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,26 +1,25 @@ version: 2.1 + +orbs: + node: circleci/node@4.5.0 + jobs: - my_long/test_name_with_slash: - machine: - image: ubuntu-2004:202107-02 - docker_layer_caching: false - resource_class: xlarge + fe: + executor: + name: node/default + tag: '16.3.0' + + working_directory: ~/repo + steps: - - run: | - lscpu - lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' - lscpu -p - - run: wqr - + - checkout + - run: sleep 50000 + workflows: - build-workflow: + sqlmonitor: jobs: - - my_long/test_name_with_slash: - post-steps: - - run: - command: ls /home/circleci/project/lib | grep LogsToElasticsearch - when: always + - fe #test #test From afdcbd4d35cfbbef8fc18ad60d503f3a6dcbb8d1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 3 Jun 2025 05:29:22 -0700 Subject: [PATCH 305/306] Update config.yml --- .circleci/config.yml | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b2dd1f3..f384ec3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,25 +1,20 @@ version: 2.1 -orbs: - node: circleci/node@4.5.0 +parameters: + image-tag: + type: string + default: "current" + workingdir: + type: string + default: "~/main" jobs: - fe: - executor: - name: node/default - tag: '16.3.0' - - working_directory: ~/repo - + build: + docker: + - image: cimg/node:<< pipeline.parameters.image-tag >> + environment: + IMAGETAG: << pipeline.parameters.image-tag >> + working_directory: << pipeline.parameters.workingdir >> steps: - - checkout - - run: sleep 50000 - - -workflows: - sqlmonitor: - jobs: - - fe - -#test -#test + - run: echo "Image tag used was ${IMAGETAG}" + - run: echo "$(pwd) == << pipeline.parameters.workingdir >>" From 64d23c89edfa0b6aed1991b4f39fff29435c12bf Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Tue, 3 Jun 2025 05:30:22 -0700 Subject: [PATCH 306/306] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f384ec3..79ae0dc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,3 +18,5 @@ jobs: steps: - run: echo "Image tag used was ${IMAGETAG}" - run: echo "$(pwd) == << pipeline.parameters.workingdir >>" + + #comment