fix weekly e2e test
This commit is contained in:
parent
cdc2e20046
commit
bdf176ca43
9
.github/workflows/weekly-e2e.yaml
vendored
9
.github/workflows/weekly-e2e.yaml
vendored
@ -17,6 +17,11 @@ jobs:
|
||||
continue-on-error: true
|
||||
timeout-minutes: 1440
|
||||
run: |
|
||||
cd .git
|
||||
sudo chmod -R a+rwX .
|
||||
sudo find . -type d -exec chmod g+s '{}' +
|
||||
cd ..
|
||||
git config --global --add safe.directory '*'
|
||||
az login --identity --username $MSI_ID > /dev/null
|
||||
export ARM_SUBSCRIPTION_ID=$(az login --identity --username $MSI_ID | jq -r '.[0] | .id')
|
||||
export ARM_TENANT_ID=$(az login --identity --username $MSI_ID | jq -r '.[0] | .tenantId')
|
||||
@ -24,10 +29,6 @@ jobs:
|
||||
- name: Update
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform sh scripts/update-test-record.sh
|
||||
cd .git
|
||||
sudo chmod -R a+rwX .
|
||||
sudo find . -type d -exec chmod g+s '{}' +
|
||||
git config --global --add safe.directory '*'
|
||||
- name: Commit & Push changes
|
||||
uses: actions-js/push@master
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user