[macos] refactor XCode installation approach (#7858)

* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
This commit is contained in:
ilia-shipitsin
2023-07-06 11:36:08 +02:00
committed by GitHub
parent 406a7844ab
commit 63b7bc4bde
13 changed files with 57 additions and 142 deletions

View File

@@ -105,13 +105,6 @@ jobs:
-VIPassword ${{ secrets.VI_PASSWORD }} `
-Cluster ${{ env.ESXI_CLUSTER }}
- name: Create xcversion session cookie file
shell: bash
run: |
mkdir -p ${{ runner.temp }}/xcversion-cookie
cookie='${{ secrets.XCVERSION_AUTH_COOKIE }}'
echo "$cookie" > ${{ runner.temp }}/xcversion-cookie/cookie
- name: Build VM
run: |
$SensitiveData = @(
@@ -131,9 +124,6 @@ jobs:
-var="github_api_pat=${{ secrets.GH_FEED_TOKEN }}" `
-var="build_id=${{ env.VM_NAME }}" `
-var="baseimage_name=${{ inputs.base_image_name }}" `
-var="xcode_install_user=${{ secrets.XCODE_USER }}" `
-var="xcode_install_password=${{ secrets.XCODE_PASSWORD }}" `
-var="xcversion_auth_cookie=${{ env.XCVERSION_COOKIE_PATH }}" `
-color=false `
${{ inputs.template_path }} `
| Where-Object {