From 958d9dba37519b628d2e491c4bc2d52c6c5a1a43 Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:45:56 -0500 Subject: [PATCH 1/8] Added dummy job for non deploy commits --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8447370..003bad3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,10 @@ defaults: &defaults docker: - image: circleci/node:12.2 jobs: + dummy: + - run: + name: Running dummy job + command: echo '' deploy: <<: *defaults steps: From 4ec07fab19fde2f0f626475310d3db8f1ffb965b Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:47:30 -0500 Subject: [PATCH 2/8] fix --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 003bad3..c2e3fb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,9 +5,10 @@ defaults: &defaults - image: circleci/node:12.2 jobs: dummy: - - run: - name: Running dummy job - command: echo '' + steps: + - run: + name: Running dummy job + command: echo '' deploy: <<: *defaults steps: From 682696502a81565ad9f37458ebcabe3c0cab7d93 Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:49:57 -0500 Subject: [PATCH 3/8] fix --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c2e3fb1..13c90c1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,6 +28,9 @@ jobs: workflows: version: 2 main: + dummy: + jobs: + - dummy jobs: - deploy: filters: From af58ff6bb8ff180cbe751e12f6a46446238f3888 Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:55:04 -0500 Subject: [PATCH 4/8] fix --- .circleci/config.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 13c90c1..7378909 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,13 +28,12 @@ jobs: workflows: version: 2 main: - dummy: + untagged-build: jobs: - dummy - jobs: - - deploy: - filters: - branches: - ignore: /.*/ - tags: - only: /^v\d+\.\d+\.\d+$/ \ No newline at end of file + tagged-build: + jobs: + - deploy: + filters: + tags: + only: /^v\d+\.\d+\.\d+$/ \ No newline at end of file From b27d692d35664c1e598164fbd55fff4365f6738a Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:56:02 -0500 Subject: [PATCH 5/8] fix --- .circleci/config.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7378909..e875510 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,13 +27,12 @@ jobs: curl -s -X POST -d "{\"tag_name\":\"$CIRCLE_TAG\",\"name\":\"$CIRCLE_TAG\",\"body\":\"iOS SDK version: ${ios_version}\nAndroid SDK version: ${android_version}\",\"draft\":false,\"prerelease\":false}" -H "Authorization: token $GITHUB_TOKEN" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/foursquare/pilgrim-sdk-react-native/releases" workflows: version: 2 - main: - untagged-build: - jobs: - - dummy - tagged-build: - jobs: - - deploy: - filters: - tags: - only: /^v\d+\.\d+\.\d+$/ \ No newline at end of file + untagged-build: + jobs: + - dummy + tagged-build: + jobs: + - deploy: + filters: + tags: + only: /^v\d+\.\d+\.\d+$/ \ No newline at end of file From e06ff7731dda41382ab19bb92129b19ceecef943 Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 11:58:33 -0500 Subject: [PATCH 6/8] fix --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e875510..6c0bf4b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,6 +5,7 @@ defaults: &defaults - image: circleci/node:12.2 jobs: dummy: + <<: *defaults steps: - run: name: Running dummy job From fc0050e3cac82f091d807ec36a71346ac80170f5 Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 12:00:10 -0500 Subject: [PATCH 7/8] fix --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6c0bf4b..9002ec7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,5 +35,7 @@ workflows: jobs: - deploy: filters: + branches: + ignore: /.*/ tags: only: /^v\d+\.\d+\.\d+$/ \ No newline at end of file From cfabdfff033182fc3a170f452d43171bfbcab9bc Mon Sep 17 00:00:00 2001 From: Brian Rojas Date: Tue, 21 Apr 2020 12:02:28 -0500 Subject: [PATCH 8/8] user smaller image --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9002ec7..b4c3610 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,8 @@ defaults: &defaults - image: circleci/node:12.2 jobs: dummy: - <<: *defaults + docker: + - image: cimg/base:2020.01 steps: - run: name: Running dummy job