feat: fix sh pipeline not running to completion
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9cd7004f10
commit
508c1e2025
@ -72,7 +72,7 @@ func Ci(ctx context.Context) error {
|
|||||||
|
|
||||||
_, err := droneTemplates.
|
_, err := droneTemplates.
|
||||||
WithExec([]string{
|
WithExec([]string{
|
||||||
"drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), "||", "true",
|
"sh", "-c", fmt.Sprintf("drone template add --namespace %s --name %s --data @%s || true", namespace, name, name),
|
||||||
}).
|
}).
|
||||||
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),
|
||||||
|
Loading…
Reference in New Issue
Block a user