From 9d7a94263a13157784acb8742000d7a50615cf11 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Thu, 20 Aug 2020 16:54:07 -0700 Subject: [PATCH 1/2] track agnhost version in dependencies.yaml --- build/dependencies.yaml | 16 ++++++++++++++++ test/images/agnhost/agnhost.go | 5 ++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/build/dependencies.yaml b/build/dependencies.yaml index 13cf3477f70..023c72bd6dd 100644 --- a/build/dependencies.yaml +++ b/build/dependencies.yaml @@ -1,4 +1,20 @@ dependencies: + # agnhost: bump this one first + - name: "agnhost" + version: "2.20" + refPaths: + - path: test/images/agnhost/VERSION + match: \d.\d + - path: test/images/agnhost/agnhost.go + match: "Version:" + + # then after merge and successful postsubmit image push / promotion, bump this + - name: "agnhost: dependents" + version: "2.20" + refPaths: + - path: test/utils/image/manifest.go + match: configs\[Agnhost\] = Config{promoterE2eRegistry, "agnhost", "\d+\.\d+"} + # Bazel - name: "repo-infra" version: 0.0.12 diff --git a/test/images/agnhost/agnhost.go b/test/images/agnhost/agnhost.go index df20445105f..e8f1f9ea0aa 100644 --- a/test/images/agnhost/agnhost.go +++ b/test/images/agnhost/agnhost.go @@ -49,7 +49,10 @@ import ( ) func main() { - rootCmd := &cobra.Command{Use: "app", Version: "2.20"} + rootCmd := &cobra.Command{ + Use: "app", + Version: "2.20", + } rootCmd.AddCommand(auditproxy.CmdAuditProxy) rootCmd.AddCommand(connect.CmdConnect) From 3e2cb2922b9a81d2846f781cceaf5ee44e39b79e Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Thu, 20 Aug 2020 16:54:56 -0700 Subject: [PATCH 2/2] synchronize agnhost image / app version --- build/dependencies.yaml | 2 +- test/images/agnhost/VERSION | 2 +- test/images/agnhost/agnhost.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/dependencies.yaml b/build/dependencies.yaml index 023c72bd6dd..f91d8ae302d 100644 --- a/build/dependencies.yaml +++ b/build/dependencies.yaml @@ -1,7 +1,7 @@ dependencies: # agnhost: bump this one first - name: "agnhost" - version: "2.20" + version: "2.22" refPaths: - path: test/images/agnhost/VERSION match: \d.\d diff --git a/test/images/agnhost/VERSION b/test/images/agnhost/VERSION index 2ef40bd8c62..4699fb07e80 100644 --- a/test/images/agnhost/VERSION +++ b/test/images/agnhost/VERSION @@ -1 +1 @@ -2.21 +2.22 diff --git a/test/images/agnhost/agnhost.go b/test/images/agnhost/agnhost.go index e8f1f9ea0aa..6e899f76e28 100644 --- a/test/images/agnhost/agnhost.go +++ b/test/images/agnhost/agnhost.go @@ -51,7 +51,7 @@ import ( func main() { rootCmd := &cobra.Command{ Use: "app", - Version: "2.20", + Version: "2.22", } rootCmd.AddCommand(auditproxy.CmdAuditProxy)