Skip to content

Commit

Permalink
OCI ISL update prototype: less prints to output
Browse files Browse the repository at this point in the history
  • Loading branch information
DwarKapex committed Sep 5, 2024
1 parent 0dbbe38 commit 62e1eb3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/_oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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

0 comments on commit 62e1eb3

Please sign in to comment.