always green
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2023-04-08 12:24:15 +02:00
parent ed5d4674d7
commit 9cd7004f10
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -70,13 +70,10 @@ func Ci(ctx context.Context) error {
log.Printf("running for: %s", entry) log.Printf("running for: %s", entry)
_, _ = droneTemplates.
WithExec([]string{
"drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name),
}).
Stdout(ctx)
_, err := droneTemplates. _, err := droneTemplates.
WithExec([]string{
"drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), "||", "true",
}).
WithExec([]string{ WithExec([]string{
"drone", "template", "update", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), "drone", "template", "update", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name),
}). }).