Skip to content

Commit 9d7a942

Browse files
committed
track agnhost version in dependencies.yaml
1 parent 1c548c3 commit 9d7a942

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

build/dependencies.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
dependencies:
2+
# agnhost: bump this one first
3+
- name: "agnhost"
4+
version: "2.20"
5+
refPaths:
6+
- path: test/images/agnhost/VERSION
7+
match: \d.\d
8+
- path: test/images/agnhost/agnhost.go
9+
match: "Version:"
10+
11+
# then after merge and successful postsubmit image push / promotion, bump this
12+
- name: "agnhost: dependents"
13+
version: "2.20"
14+
refPaths:
15+
- path: test/utils/image/manifest.go
16+
match: configs\[Agnhost\] = Config{promoterE2eRegistry, "agnhost", "\d+\.\d+"}
17+
218
# Bazel
319
- name: "repo-infra"
420
version: 0.0.12

test/images/agnhost/agnhost.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ import (
4949
)
5050

5151
func main() {
52-
rootCmd := &cobra.Command{Use: "app", Version: "2.20"}
52+
rootCmd := &cobra.Command{
53+
Use: "app",
54+
Version: "2.20",
55+
}
5356

5457
rootCmd.AddCommand(auditproxy.CmdAuditProxy)
5558
rootCmd.AddCommand(connect.CmdConnect)

0 commit comments

Comments
 (0)