From 8945f44ee3cfdb8fbaf3fd99dc12ae73b7e4abbd Mon Sep 17 00:00:00 2001 From: Dipti Pai Date: Tue, 27 Aug 2024 00:03:38 -0700 Subject: [PATCH] Update README.md Signed-off-by: Dipti Pai --- oci/tests/integration/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/oci/tests/integration/README.md b/oci/tests/integration/README.md index 34555410..b9347d3f 100644 --- a/oci/tests/integration/README.md +++ b/oci/tests/integration/README.md @@ -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: @@ -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 ... ```