From 454e16a59af45ae20e53ce05fa70209dee4a72b1 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 9 Jun 2022 02:38:41 -0400 Subject: [PATCH] [CI] Remove the usage of python2 and move to python 3. (#15226) --- tools/devops/automation/templates/common/setup.yml | 9 --------- .../templates/sign-and-notarized/sign-and-notarized.yml | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/devops/automation/templates/common/setup.yml b/tools/devops/automation/templates/common/setup.yml index df5b6b339b..566ba5c619 100644 --- a/tools/devops/automation/templates/common/setup.yml +++ b/tools/devops/automation/templates/common/setup.yml @@ -35,15 +35,6 @@ steps: displayName: 'Show Environment' - powershell: | - Write-Host "Python version" - python --version - - Write-Host "Python location" - which python - - Write-Host "Python2 location" - which python2 - Write-Host "Python3 location" which python3 diff --git a/tools/devops/automation/templates/sign-and-notarized/sign-and-notarized.yml b/tools/devops/automation/templates/sign-and-notarized/sign-and-notarized.yml index f402f4151d..b4b2de7826 100644 --- a/tools/devops/automation/templates/sign-and-notarized/sign-and-notarized.yml +++ b/tools/devops/automation/templates/sign-and-notarized/sign-and-notarized.yml @@ -60,7 +60,7 @@ steps: - ${{ if or(eq(parameters.skipESRP, true), eq(variables['IsPR'], 'True')) }}: - bash: | security unlock-keychain -p $PRODUCTSIGN_KEYCHAIN_PASSWORD builder.keychain - echo "$PACKAGES" | xargs python $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN" + echo "$PACKAGES" | xargs python3 $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN" env: PRODUCTSIGN_KEYCHAIN_PASSWORD: ${{ parameters.keyringPass }} MAC_ENTITLEMENTS: $(Build.SourcesDirectory)/xamarin-macios/mac-entitlements.plist