Skip to content

Conversation

@dongsupark
Copy link
Collaborator

@dongsupark dongsupark commented Mar 5, 2024

To be able to run functional_tests.sh with different parameters, make it configurable by environment variables, like RG, LOCATION, VM_SIZE.

For example, it is now possible to simply run like below, without having to manually update variables in the script:

RG="my-test-azinit" LOCATION="germanywestcentral" VM_SIZE="Standard_DS3_v2" make e2e-test

Also update the default RG name to e2etest-azinit, VM_NAME to AzInitFunctionalTest.

Testing done

Tested in Azure.

To be able to run functional_tests.sh with different parameters, make
it configurable by environment variables, like RG, LOCATION, VM_SIZE.

For example, it is now possible to simply run like below, without
having to manually update variables in the script:

```
RG="my-test-azinit" LOCATION="germanywestcentral" \
  VM_SIZE="Standard_DS3_v2" make e2e-test
```

Also update the default RG name to "e2etest-azinit",
VM_NAME to "AzInitFunctionalTest".
@dongsupark dongsupark force-pushed the param-functional-tests branch from 44139e3 to 968da03 Compare March 5, 2024 14:11
Copy link
Member

@jeremycline jeremycline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice.

@dongsupark
Copy link
Collaborator Author

Hmm, interesting, it is not sufficient for Jeremy to approve this PR.
So I requested again review from maintainers.

Copy link
Contributor

@anhvoms anhvoms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dongsupark dongsupark merged commit d5b140b into main Mar 7, 2024
@dongsupark dongsupark deleted the param-functional-tests branch March 7, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants