From cb7f3f4e07081833cfa198574e4f10c9e791e5b1 Mon Sep 17 00:00:00 2001 From: Jack Alto Date: Fri, 19 Apr 2024 11:44:22 -0400 Subject: [PATCH 1/4] Use circleci context in setup step - SSDK-666 --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f9c9aadf1..cdeded3f2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -251,6 +251,7 @@ commands: CircleCI inputs only private key, however Xcode requires both private and public keys in ~/.ssh folder mbx-ci tool injects key "id_rsa_3bcd47bf579ce536b04d5f125ed3b33e" with potential name be changed This oneliner generates public key for an existing private + context: SDK Registry Token steps: - run: name: Generate SSH Public Key from private From a2e4747e45607ca0f05eaa0fe0cae692a146b675 Mon Sep 17 00:00:00 2001 From: Jack Alto Date: Fri, 19 Apr 2024 11:48:58 -0400 Subject: [PATCH 2/4] Update circleci config - SSDK-666 --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdeded3f2..900c10582 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,6 +98,7 @@ jobs: steps: - checkout - setup-authentication + context: SDK Registry Token - ios-prestart-simulator - upgrade-carthage - install-swiftlint @@ -135,6 +136,7 @@ jobs: - checkout - parse-release-version - setup-authentication + context: SDK Registry Token - install-mbx-ci-darwin - restore_cache: keys: @@ -158,6 +160,7 @@ jobs: - checkout - parse-release-version - setup-authentication + context: SDK Registry Token - install-mbx-ci-darwin - run: name: Update documentation @@ -180,6 +183,7 @@ jobs: steps: - checkout - setup-authentication + context: SDK Registry Token - upgrade-carthage - parse-release-version - run: make ios @@ -199,6 +203,7 @@ jobs: steps: - checkout - setup-authentication + context: SDK Registry Token - parse-release-version - run: rm '/usr/local/lib/python3.9/site-packages/six.py' - run: brew install awscli gh @@ -225,6 +230,7 @@ jobs: - checkout - parse-release-version - setup-authentication + context: SDK Registry Token - install-mbx-ci-darwin - run: scripts/generate_podspecs.sh - run: @@ -241,6 +247,7 @@ jobs: steps: - checkout - setup-authentication + context: SDK Registry Token - run: brew install xcodegen - run: make validate-spm-build @@ -251,7 +258,6 @@ commands: CircleCI inputs only private key, however Xcode requires both private and public keys in ~/.ssh folder mbx-ci tool injects key "id_rsa_3bcd47bf579ce536b04d5f125ed3b33e" with potential name be changed This oneliner generates public key for an existing private - context: SDK Registry Token steps: - run: name: Generate SSH Public Key from private @@ -280,6 +286,7 @@ commands: ios-install-carthage-dependencies: steps: - setup-authentication + context: SDK Registry Token - run: make deps ios-prestart-simulator: From 7abc439f5f863eb088cfc4f65bd1fb40868ebeb8 Mon Sep 17 00:00:00 2001 From: Jack Alto Date: Fri, 19 Apr 2024 11:52:23 -0400 Subject: [PATCH 3/4] Update circleci config - SSDK-666 --- .circleci/config.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 900c10582..8a201d0f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,10 +10,12 @@ workflows: develop-build: jobs: - pre-check: + context: SDK Registry Token filters: tags: only: /v.*/ - build: + context: SDK Registry Token requires: - pre-check filters: @@ -23,6 +25,7 @@ workflows: requires: - pre-check - release-pre-check: + context: SDK Registry Token requires: - pre-check filters: @@ -98,7 +101,6 @@ jobs: steps: - checkout - setup-authentication - context: SDK Registry Token - ios-prestart-simulator - upgrade-carthage - install-swiftlint @@ -136,7 +138,6 @@ jobs: - checkout - parse-release-version - setup-authentication - context: SDK Registry Token - install-mbx-ci-darwin - restore_cache: keys: @@ -160,7 +161,6 @@ jobs: - checkout - parse-release-version - setup-authentication - context: SDK Registry Token - install-mbx-ci-darwin - run: name: Update documentation @@ -183,7 +183,6 @@ jobs: steps: - checkout - setup-authentication - context: SDK Registry Token - upgrade-carthage - parse-release-version - run: make ios @@ -203,7 +202,6 @@ jobs: steps: - checkout - setup-authentication - context: SDK Registry Token - parse-release-version - run: rm '/usr/local/lib/python3.9/site-packages/six.py' - run: brew install awscli gh @@ -230,7 +228,6 @@ jobs: - checkout - parse-release-version - setup-authentication - context: SDK Registry Token - install-mbx-ci-darwin - run: scripts/generate_podspecs.sh - run: @@ -247,7 +244,6 @@ jobs: steps: - checkout - setup-authentication - context: SDK Registry Token - run: brew install xcodegen - run: make validate-spm-build @@ -286,7 +282,6 @@ commands: ios-install-carthage-dependencies: steps: - setup-authentication - context: SDK Registry Token - run: make deps ios-prestart-simulator: From 4d99b35b8bc2961f0de61ae19a7a34cad36a5a4b Mon Sep 17 00:00:00 2001 From: Jack Alto Date: Fri, 19 Apr 2024 11:57:03 -0400 Subject: [PATCH 4/4] Update circleci config - SSDK-666 --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8a201d0f5..69bf96ee0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,6 +22,7 @@ workflows: tags: only: /v.*/ - spm-build: + context: SDK Registry Token requires: - pre-check - release-pre-check: