File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 9
9
NGINX_TRANSFORMED_CONFIG_DIR_PATH : /etc/nginx/
10
10
NGINX_ROOT_CONFIG_FILE : nginx.conf
11
11
TEST_RESOURCE_GROUP_NAME : n4a-long-eastus2-workload
12
+ TEST_SECURITY_GROUP_NAME : n4a-long-eastus2-workload-pub
12
13
NGINX_CERT_NAME : n4a-long-eastus2-basic-crt
13
14
NGINX_VAULT_NAME : nlbtest-customer
14
15
28
29
--username "${{ secrets.AZURE_CLIENT_ID }}" \
29
30
--password "${{ secrets.AZURE_CLIENT_SECRET }}" \
30
31
--tenant "${{ secrets.AZURE_TENANT_ID }}"
31
-
32
+ - name : get runner ip addresses
33
+ id : ip
34
+ uses : haythem/public-ip@v1.3
35
+ - name : allow runner ip access to the longivity deployment
36
+ shell : bash
37
+ run : |
38
+ az network nsg rule create \
39
+ --resource-group "$TEST_RESOURCE_GROUP_NAME"\
40
+ --nsg-name "$TEST_SECURITY_GROUP_NAME"\
41
+ --name allow_github_runner_access \
42
+ --priority 1003 \
43
+ --direction Inbound \
44
+ --access Allow \
45
+ --protocol Tcp \
46
+ --source-address-prefixes "${{ steps.ip.outputs.ipv4 }}/32" \
47
+ --source-port-ranges "*" \
48
+ --destination-address-prefixes "*" \
49
+ --destination-port-ranges 80 443
32
50
- name : " Update config - single file"
33
51
shell : bash
34
52
run : |
You can’t perform that action at this time.
0 commit comments