You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,29 @@ If you make changes to the `.proto` files, make sure to `make protos` to generat
33
33
34
34
## Tests
35
35
36
-
To run unit tests:
36
+
### unit tests
37
37
38
38
```
39
39
make test
40
40
```
41
41
42
42
If you need to update a golden file simply do `go test ./... -test.update-golden`.
43
+
44
+
### e2e tests
45
+
46
+
```
47
+
make e2e_local
48
+
```
49
+
This requires a local docker engine running
50
+
51
+
```
52
+
AZURE_TENANT_ID="xxx" AZURE_CLIENT_ID="yyy" AZURE_CLIENT_SECRET="yyy" make e2e_aci
53
+
```
54
+
55
+
This requires azure service principal credentials to login to azure.
56
+
To get the values to be set in local environment variables, you can create a new service principal once you're logged in azure (with `docker login azure`)
57
+
```
58
+
az ad sp create-for-rbac --name 'MyTestServicePrincipal' --sdk-auth
59
+
```
60
+
Running aci e2e tests will override your local login, the service principal credentials use a token that cannot be refreshed automatically.
61
+
You might need to run again `docker login azure` to properly use the command line after running ACI e2e tests.
0 commit comments