-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pedro/fix dashes azure #1606
Pedro/fix dashes azure #1606
Conversation
WalkthroughThe changes across all the files primarily involve adding escaped double quotes around the Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Files selected for processing (4)
- .github/workflows/manual-deploy-obscuro-gateway-database.yml (1 hunks)
- .github/workflows/manual-deploy-obscuro-gateway.yml (1 hunks)
- .github/workflows/manual-deploy-testnet-l1.yml (2 hunks)
- .github/workflows/manual-deploy-testnet-l2.yml (1 hunks)
Files skipped from review due to trivial changes (3)
- .github/workflows/manual-deploy-obscuro-gateway-database.yml
- .github/workflows/manual-deploy-obscuro-gateway.yml
- .github/workflows/manual-deploy-testnet-l2.yml
Additional comments (Suppressed): 2
.github/workflows/manual-deploy-testnet-l1.yml (2)
- 88-95: The addition of escaped double quotes around
${{env.RESOURCE_TAG_NAME}}
in theaz resource list
command ensures that the tag value is correctly parsed and passed to the Azure CLI command. This change prevents potential execution issues if the tag value contains special characters or whitespace. However, the same command is duplicated in lines 88-89 and 94-95. If the purpose of both commands is the same, consider removing the duplicate to adhere to the DRY principle.uses: azure/CLI@v1 with: inlineScript: | $(az resource list --tag \"${{env.RESOURCE_TAG_NAME}}\"=true --query '[]."id"' -o tsv | xargs -n1 az resource delete --verbose -g Testnet --ids) || true # This will clean up any lingering dependencies - might fail if there are no resources to cleanup - name: 'Delete VMs dependencies' uses: azure/CLI@v1 with: inlineScript: | $(az resource list --tag \"${{env.RESOURCE_TAG_NAME}}\"=true --query '[]."id"' -o tsv | xargs -n1 az resource delete --verbose -g Testnet --ids) || true - name: 'Create VM for "${{env.RESOURCE_NAME}}-${{ GITHUB.RUN_NUMBER }}" on Azure'
- 105-105: The addition of escaped double quotes around
${{env.RESOURCE_TAG_NAME}}
in theaz vm create
command ensures that the tag value is correctly parsed and passed to the Azure CLI command. This change prevents potential execution issues if the tag value contains special characters or whitespace.
Why this change is needed
Please provide a description and a link to the underlying ticket
What changes were made as part of this PR
Please provide a high level list of the changes made
PR checks pre-merging
Please indicate below by ticking the checkbox that you have read and performed the required
PR checks