From fd45813ef5b896b7fe4b44a9256264b2f9edf909 Mon Sep 17 00:00:00 2001 From: Bob Bergman Date: Mon, 19 Nov 2018 13:28:08 -0700 Subject: [PATCH 1/5] tests experimental plugin builds from tnoonan's npm reg --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c12ae1e7f..be11bee17 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,9 +12,10 @@ jobs: machine: true working_directory: ~/ci_app environment: + SFDX_NPM_REGISTRY: http://ec2-18-234-205-250.compute-1.amazonaws.com:4873 # from https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_standalone.htm # and https://developer.salesforce.com/media/salesforce-cli/manifest.json - - DX_CLI_URL: https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz + DX_CLI_URL: https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz steps: - checkout - run: @@ -28,6 +29,12 @@ jobs: ./sfdx/install sfdx mkdir tmp + - run: + name: Install Plugin + command: | + echo 'y' > input + sfdx plugins:install salesforce-alm < input + sfdx plugins --core - run: name: Create hub key command: | From 617d1c08adeabc25061ddd0f1a6d3654502310f4 Mon Sep 17 00:00:00 2001 From: Bob Bergman Date: Mon, 19 Nov 2018 13:43:21 -0700 Subject: [PATCH 2/5] update wait time on org create --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index be11bee17..bdf4818a4 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,7 @@ jobs: echo 'Running tests' sfdx force:auth:jwt:grant --clientid $HUB_CONSUMER_KEY --jwtkeyfile assets/server.key --username $HUB_SFDC_USER --setdefaultdevhubusername -a hub sfdx force --help - sfdx force:org:create -s -f ~/ci_app/config/project-scratch-def.json -a circle_build_$CIRCLE_BUILD_NUM --wait 2 + sfdx force:org:create -s -f ~/ci_app/config/project-scratch-def.json -a circle_build_$CIRCLE_BUILD_NUM --wait 5 sfdx force:source:push -u circle_build_$CIRCLE_BUILD_NUM - run: name: Run Apex Tests From 607d28a3a72c8bf316ac52f76b627d00eeb5fbc7 Mon Sep 17 00:00:00 2001 From: Gabriel Favoretto Date: Thu, 30 Jan 2020 15:35:58 -0300 Subject: [PATCH 3/5] send changes --- force-app/main/default/classes/myclass.cls | 10 ++++++++++ sfdx-circleci | 1 + 2 files changed, 11 insertions(+) create mode 160000 sfdx-circleci diff --git a/force-app/main/default/classes/myclass.cls b/force-app/main/default/classes/myclass.cls index 1e869cfcc..84af32fc8 100755 --- a/force-app/main/default/classes/myclass.cls +++ b/force-app/main/default/classes/myclass.cls @@ -4,6 +4,16 @@ public with sharing class myclass { } public String getAppVersion() { + + Integer i,j = 0; + + for(i = 0; 1< 1001; i++){ + + j++; + j++; + + } + return '1.0.0'; } } diff --git a/sfdx-circleci b/sfdx-circleci new file mode 160000 index 000000000..ce75bedc7 --- /dev/null +++ b/sfdx-circleci @@ -0,0 +1 @@ +Subproject commit ce75bedc7c7dd4ab6237ad28bc71893ec4b7d70a From d516c4605406efb33dd70b982c8613d47e25ed09 Mon Sep 17 00:00:00 2001 From: Gabriel Favoretto Date: Thu, 30 Jan 2020 15:43:50 -0300 Subject: [PATCH 4/5] Alter conflicts --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bdf4818a4..5882b8e81 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,7 @@ jobs: echo 'Running tests' sfdx force:auth:jwt:grant --clientid $HUB_CONSUMER_KEY --jwtkeyfile assets/server.key --username $HUB_SFDC_USER --setdefaultdevhubusername -a hub sfdx force --help - sfdx force:org:create -s -f ~/ci_app/config/project-scratch-def.json -a circle_build_$CIRCLE_BUILD_NUM --wait 5 + sfdx force:org:create -s -f ~/ci_app/config/project-scratch-def.json -a circle_build_$CIRCLE_BUILD_NUM --wait 4 sfdx force:source:push -u circle_build_$CIRCLE_BUILD_NUM - run: name: Run Apex Tests From be7d9272b56576ab3b8bf9953eae40af69eb990a Mon Sep 17 00:00:00 2001 From: Gabriel Favoretto Date: Thu, 30 Jan 2020 16:40:13 -0300 Subject: [PATCH 5/5] test --- force-app/main/default/classes/myclass.cls | 1 + 1 file changed, 1 insertion(+) diff --git a/force-app/main/default/classes/myclass.cls b/force-app/main/default/classes/myclass.cls index 84af32fc8..8de59db0a 100755 --- a/force-app/main/default/classes/myclass.cls +++ b/force-app/main/default/classes/myclass.cls @@ -11,6 +11,7 @@ public with sharing class myclass { j++; j++; + j++; }