E2E / debugd: Replace remains of ingressFirewall with debugCluster flag

This commit is contained in:
Nils Hanke 2022-09-06 10:38:14 +02:00 committed by Nils Hanke
parent 72d4456b3f
commit dd4ccdd390
2 changed files with 4 additions and 11 deletions

View File

@ -127,9 +127,9 @@ runs:
env:
GCP_CLUSTER_SERVICE_ACCOUNT_KEY: ${{ inputs.gcpClusterServiceAccountKey }}
- name: Add debugd firewall rule
- name: Enable debugCluster flag
run: |
yq eval -i '(.ingressFirewall) += {"name": "debugd", "description": "debugd default port", "protocol": "tcp", "iprange": "0.0.0.0/0", "fromport": 4000, "toport": 0}' constellation-conf.yaml
yq eval -i '(.debugCluster) = true' constellation-conf.yaml
shell: bash
if: ${{ inputs.isDebugImage == 'true' }}
@ -185,5 +185,5 @@ runs:
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: serial-logs
path: '*.log'
path: "*.log"
if: ${{ always() && !env.ACT }}

View File

@ -32,14 +32,7 @@ With `cdbg` and `yq` installed in your path:
constellation-conf.yaml
yq -i \
".ingressFirewall += {
\"name\": \"debugd\",
\"description\": \"debugd default port\",
\"protocol\": \"tcp\",
\"iprange\": \"0.0.0.0/0\",
\"fromport\": 4000,
\"toport\": 0
}" \
"(.debugCluster) = true" \
constellation-conf.yaml
```