From a3c638bd11c7d236e8477577ce8786f9e400fb69 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Sun, 30 Jul 2023 23:15:06 +0100 Subject: [PATCH] Local testing --- .circleci/config.yml | 10 +++++++++- ci_local.sh | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ci_local.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index d5a6ae2..592ba1f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -137,6 +137,10 @@ workflows: jobs: - build-and-test: flavour: "Driver" + filters: + branches: + ignore: + - main_admin - android/deploy-to-play-store: filters: branches: @@ -152,11 +156,15 @@ workflows: jobs: - build-and-test: flavour: "Admin" + filters: + branches: + ignore: + - main_driver - android/deploy-to-play-store: filters: branches: only: - - main_driver + - main_admin requires: - build-and-test executor: diff --git a/ci_local.sh b/ci_local.sh new file mode 100644 index 0000000..eb23a82 --- /dev/null +++ b/ci_local.sh @@ -0,0 +1,2 @@ +circleci config process .circleci/local_config.yml > process.yml +circleci local execute -c process.yml build-and-test-1 -e $GIT_EMAIL="h.malik144@gmail.com" -e BASE64_KEYSTORE=$BASE64_KEYSTORE -e RELEASE_KEYSTORE=$RELEASE_KEYSTORE -e RELEASE_STORE_PASSWORD=$RELEASE_STORE_PASSWORD -e RELEASE_KEY_PASSWORD=$RELEASE_KEY_PASSWORD -e RELEASE_KEY_ALIAS=$RELEASE_KEY_ALIAS -e DOCKER_USERNAME=$DOCKER_USERNAME -e DOCKER_PASSWORD=$DOCKER_PASSWORD -e GOOGLE_SERVICES_KEY=$DRIVER_GOOGLE_SERVICES \ No newline at end of file