From 0935868db78c92b8fa08ac51f859d42298ef87e8 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Mon, 23 Dec 2024 19:46:58 +0100 Subject: [PATCH] chore(updatecli) hotfix on Ip tracking --- updatecli/updatecli.d/restricted-ips.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updatecli/updatecli.d/restricted-ips.yaml b/updatecli/updatecli.d/restricted-ips.yaml index e77e84e..6aa6952 100644 --- a/updatecli/updatecli.d/restricted-ips.yaml +++ b/updatecli/updatecli.d/restricted-ips.yaml @@ -54,7 +54,7 @@ sources: dependson: - aws-ci-jenkins-io-agents-2-hostname spec: - command: dig +short {{ source "aws-ci-jenkins-io-agents-2-hostname" }} | head -n1 + command: dig +short {{ source "aws-ci-jenkins-io-agents-2-hostname" }} | sort `# sorting is required as dig result is unordered` | head -n1 transformers: - addsuffix: '/32' aws-ci-jenkins-io-agents-2-ip-2: @@ -62,7 +62,7 @@ sources: dependson: - aws-ci-jenkins-io-agents-2-hostname spec: - command: dig +short {{ source "aws-ci-jenkins-io-agents-2-hostname" }} | tail -n1 + command: dig +short {{ source "aws-ci-jenkins-io-agents-2-hostname" }} | sort `# sorting is required as dig result is unordered` | tail -n1 transformers: - addsuffix: '/32' aws-ci-jenkins-io-agents-2-netmask-1: