From 395a2297e4847e7bb99cbd6a2cb1b459cf0b129f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Thu, 21 Nov 2024 11:49:19 +0100 Subject: [PATCH 1/2] Remove Apple ID auth E2E tests --- e2e/bitrise.yml | 60 +------------------------------------------------ 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/e2e/bitrise.yml b/e2e/bitrise.yml index bce2d49..786e4c9 100644 --- a/e2e/bitrise.yml +++ b/e2e/bitrise.yml @@ -16,34 +16,13 @@ app: workflows: test_swiftpm: - before_run: - - _expose_xcode_version - steps: - - script: - inputs: - - content: |- - #!/bin/env bash - set -e - if [[ ${XCODE_MAJOR_VERSION} -gt 11 ]]; then - echo "This test case requires Xcode <= 11, skipping..." - exit 0 - fi - envman add --key XCODE_MAJOR_VERSION_AT_MOST_11 --value "true" - - bitrise-run: - run_if: |- - {{ enveq "XCODE_MAJOR_VERSION_AT_MOST_11" "true" }} - inputs: - - workflow_id: utility_test_swiftpm - - bitrise_config_path: ./e2e/bitrise.yml - - utility_test_swiftpm: envs: - SAMPLE_APP_URL: https://github.com/bitrise-io/sample-apps-ios-swiftpm.git - SAMPLE_APP_BRANCH: codesign-update - BITRISE_PROJECT_PATH: sample-swiftpm.xcodeproj - BITRISE_SCHEME: sample swiftpm - DESTINATION: generic/platform=iOS - - CODE_SIGNING_METHOD: apple-id + - CODE_SIGNING_METHOD: api-key - TEAM_ID: 72SA8V3WYL - CERTIFICATE_URL_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_URL_LIST - CERTIFICATE_PASSPHRASE_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_PASSPHRASE_LIST @@ -80,21 +59,6 @@ workflows: after_run: - _run - test_uitest_apple_id_signing: - envs: - - SAMPLE_APP_URL: https://github.com/bitrise-io/sample-apps-fastlane-test.git - - SAMPLE_APP_BRANCH: master - - BITRISE_PROJECT_PATH: sample-apps-fastlane-test.xcodeproj - - BITRISE_SCHEME: sample-apps-fastlane-test - - DESTINATION: generic/platform=iOS - - BITRISE_CONFIGURATION: Debug - - CODE_SIGNING_METHOD: apple-id - - TEAM_ID: 72SA8V3WYL - - CERTIFICATE_URL_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_URL_LIST - - CERTIFICATE_PASSPHRASE_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_PASSPHRASE_LIST - after_run: - - _run - test_uitest_api_key_override_signing: envs: - SAMPLE_APP_URL: https://github.com/bitrise-io/sample-apps-fastlane-test.git @@ -320,28 +284,6 @@ workflows: - xctestrun: $BITRISE_XCTESTRUN_FILE_PATH - destination: $DESTINATION_RUN_TEST - _expose_xcode_version: - steps: - - script: - title: Expose Xcode major version - inputs: - - content: |- - #!/bin/env bash - set -e - if [[ ! -z "$XCODE_MAJOR_VERSION" ]]; then - echo "Xcode major version already exposed: $XCODE_MAJOR_VERSION" - exit 0 - fi - version=`xcodebuild -version` - regex="Xcode ([0-9]*)." - if [[ ! $version =~ $regex ]]; then - echo "Failed to determine Xcode major version" - exit 1 - fi - xcode_major_version=${BASH_REMATCH[1]} - echo "Xcode major version: $xcode_major_version" - envman add --key XCODE_MAJOR_VERSION --value $xcode_major_version - _restore_api_envs: steps: - script: From 4a954449541847198c7213bb8ec2419e9ef75439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Thu, 21 Nov 2024 12:55:30 +0100 Subject: [PATCH 2/2] * --- e2e/bitrise.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/e2e/bitrise.yml b/e2e/bitrise.yml index 786e4c9..349787d 100644 --- a/e2e/bitrise.yml +++ b/e2e/bitrise.yml @@ -15,20 +15,6 @@ app: - BITFALL_APPSTORECONNECT_API_KEY_ISSUER_ID: $BITFALL_APPSTORECONNECT_API_KEY_ISSUER_ID workflows: - test_swiftpm: - envs: - - SAMPLE_APP_URL: https://github.com/bitrise-io/sample-apps-ios-swiftpm.git - - SAMPLE_APP_BRANCH: codesign-update - - BITRISE_PROJECT_PATH: sample-swiftpm.xcodeproj - - BITRISE_SCHEME: sample swiftpm - - DESTINATION: generic/platform=iOS - - CODE_SIGNING_METHOD: api-key - - TEAM_ID: 72SA8V3WYL - - CERTIFICATE_URL_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_URL_LIST - - CERTIFICATE_PASSPHRASE_LIST: $BITFALL_APPLE_APPLE_CERTIFICATE_PASSPHRASE_LIST - after_run: - - _run - manual_test_uitest_api_key_signing: envs: - SAMPLE_APP_URL: https://github.com/bitrise-io/sample-apps-fastlane-test.git