fix weekly e2e test permission issue
This commit is contained in:
parent
800ed76ce6
commit
042640b2df
6
.github/workflows/weekly-e2e.yaml
vendored
6
.github/workflows/weekly-e2e.yaml
vendored
@ -22,12 +22,12 @@ jobs:
|
||||
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')
|
||||
docker run --rm -v $(pwd):/src -w /src/test -e MSI_ID -e ARM_SUBSCRIPTION_ID -e ARM_TENANT_ID -e ARM_USE_MSI=true -e CHANGED_FOLDERS mcr.microsoft.com/azterraform sh -c "go mod tidy && go test -timeout=1440m -v ./e2e"
|
||||
cd .git
|
||||
sudo chmod -R a+rwX .
|
||||
sudo find . -type d -exec chmod g+s '{}' +
|
||||
- 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 '{}' +
|
||||
- name: Commit & Push changes
|
||||
uses: actions-js/push@master
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user