File tree Expand file tree Collapse file tree
.github/actions/update-firewall-rule Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 run : |
1515 AgentPublicIp=$(curl checkip.amazonaws.com)
1616 echo "##[warning]${{ inputs.action-to-execute }}ing $AgentPublicIp To Storage Account Firewall, Please Wait..."
17- az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --${{ inputs.action-to-execute }} --source-address-prefixes $AgentPublicIp
17+ az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --${{ inputs.action-to-execute }} sourceAddressPrefixes $AgentPublicIp
1818 sleep 30
19-
19+
2020 # CANONICAL az network nsg rule update --name MyNsgRule --nsg-name MyNsg --resource-group MyResourceGroup --source-address-prefixes 208.130.28/24
2121
2222 # # was echo "##[warning]Adding $AgentPublicIp To Storage Account Firewall, Please Wait..."
You can’t perform that action at this time.
0 commit comments