mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-24 03:28:28 +00:00
Deploy objects with force_normal_tags should only apply
This commit is contained in:
parent
37a958bad0
commit
0eaaf4dbfe
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
define_project(path)::
|
|
||||||
{
|
|
||||||
bazel_path: path
|
|
||||||
}
|
|
||||||
}
|
|
@ -121,12 +121,17 @@ def peridot_k8s(name, src, tags = [], outs = [], static = False, prod_only = Fal
|
|||||||
commands = dependent_push + [":%s_container" % name],
|
commands = dependent_push + [":%s_container" % name],
|
||||||
tags = ["manual"],
|
tags = ["manual"],
|
||||||
)
|
)
|
||||||
|
push_apply_commands = [
|
||||||
|
":%s.push" % name,
|
||||||
|
":%s.apply" % name,
|
||||||
|
]
|
||||||
|
if force_normal_tags:
|
||||||
|
push_apply_commands = [
|
||||||
|
":%s.apply" % name,
|
||||||
|
]
|
||||||
multirun(
|
multirun(
|
||||||
name = "%s.push_apply" % name,
|
name = "%s.push_apply" % name,
|
||||||
commands = [
|
commands = push_apply_commands,
|
||||||
":%s.push" % name,
|
|
||||||
":%s.apply" % name,
|
|
||||||
],
|
|
||||||
tags = ["manual", "push_apply"],
|
tags = ["manual", "push_apply"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user