From 62e1eb3b964d1b5ed93153e382a417881f551c56 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Thu, 5 Sep 2024 00:12:27 -0700 Subject: [PATCH] OCI ISL update prototype: less prints to output --- .github/workflows/_oci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_oci.yaml b/.github/workflows/_oci.yaml index 51f11c18e..8745b9e14 100644 --- a/.github/workflows/_oci.yaml +++ b/.github/workflows/_oci.yaml @@ -53,13 +53,12 @@ jobs: id: new-ingress-list run: | description="JTB GitHub Runner ${{ inputs.JOB_ID }}" - runner_global_ip=${{ inputs.GLOBAL_CIDR }} if [[ "${{ inputs.ACTION }}" == "add" ]]; then sl_update='{"description": "'$description'", "icmp-options": null, "is-stateless": false, "protocol": "6", - "source": "'$runner_global_ip'", + "source": "'${{ inputs.GLOBAL_CIDR }}'", "source-type": "CIDR_BLOCK", "tcp-options": { "destination-port-range": { @@ -84,4 +83,4 @@ jobs: exit 1 fi - oci network security-list update --force --security-list-id ${{ secrets.OCI_SECURITY_LIST_ID }} --ingress-security-rules "$updated_isr" + oci network security-list update --force --security-list-id ${{ secrets.OCI_SECURITY_LIST_ID }} --ingress-security-rules "$updated_isr" >/dev/null 2>&1