Separate ACI e2e tests, allowing to run a single one

This commit is contained in:
Guillaume Tardif
2020-07-07 18:29:24 +02:00
parent a2ea2347ba
commit 7cd0b3c159
2 changed files with 78 additions and 59 deletions

View File

@@ -60,6 +60,11 @@ az ad sp create-for-rbac --name 'MyTestServicePrincipal' --sdk-auth
Running aci e2e tests will override your local login, the service principal credentials use a token that cannot be refreshed automatically.
You might need to run again `docker login azure` to properly use the command line after running ACI e2e tests.
You can also run a single ACI test from the test suite :
```
AZURE_TENANT_ID="xxx" AZURE_CLIENT_ID="yyy" AZURE_CLIENT_SECRET="yyy" go test -v ./tests/aci-e2e -testify.m TestACIRunSingleContainer
```
## Release
To create a new release: