mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 11:21:25 +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],
|
||||
tags = ["manual"],
|
||||
)
|
||||
push_apply_commands = [
|
||||
":%s.push" % name,
|
||||
":%s.apply" % name,
|
||||
]
|
||||
if force_normal_tags:
|
||||
push_apply_commands = [
|
||||
":%s.apply" % name,
|
||||
]
|
||||
multirun(
|
||||
name = "%s.push_apply" % name,
|
||||
commands = [
|
||||
":%s.push" % name,
|
||||
":%s.apply" % name,
|
||||
],
|
||||
commands = push_apply_commands,
|
||||
tags = ["manual", "push_apply"],
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user