Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Dipti Pai <[email protected]>
  • Loading branch information
dipti-pai committed Aug 27, 2024
1 parent 298b453 commit 8945f44
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions oci/tests/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ metadata:
workloads to access ACR.
- Azure CLI, need to be logged in using `az login` as a User (not a Service
Principal).
- (To run the git integration tests) An Azure DevOps organization, personal access token for accessing repositories within the organization. The scope required for the personal access token is:
- An Azure DevOps organization, personal access token for accessing repositories within the organization. The scope required for the personal access token is:
- Project and Team - read, write and manage access
- Member Entitlement Management (Read & Write)
- Code - Full
- Please take a look at the [terraform provider](https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/guides/authenticating_using_the_personal_access_token#create-a-personal-access-token) for more explanation.
- A valid Azure devops configuration is needed even if git is not being tested.

**NOTE:** To use Service Principal (for example in CI environment), set the
`ARM-*` variables in `.env`, source it and authenticate Azure CLI with:
Expand Down Expand Up @@ -259,14 +260,13 @@ Run the test with `make test-*`, setting the test app image with variable
`fluxcd/testapp:test`, will be used.

```console
$ make test-azure-oci
make test PROVIDER_ARG="-provider azure -category oci"
$ make test-azure
make test PROVIDER_ARG="-provider azure"
docker image inspect fluxcd/testapp:test >/dev/null
TEST_IMG=fluxcd/testapp:test go test -timeout 30m -v ./ -provider azure -category oci --tags=integration
2024/07/19 13:07:14 Terraform binary: /snap/bin/terraform
2024/07/19 13:07:14 Init Terraform
2024/07/19 13:07:18 Checking for an empty Terraform state
2024/07/19 13:07:18 Applying Terraform
TEST_IMG=fluxcd/testapp:test go test -timeout 30m -v ./ -run "^.*" -provider azure --tags=integration
2024/08/26 23:39:13 Terraform binary: /snap/bin/terraform
2024/08/26 23:39:13 Init Terraform
2024/08/26 23:39:15 Applying Terraform
...
```

Expand Down

0 comments on commit 8945f44

Please sign in to comment.