mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-21 02:08:29 +00:00
Merge pull request #66 from mstg/hotfix-deploy-impacted
Deploy objects with force_normal_tags should only apply
This commit is contained in:
commit
ab5ae64ef8
@ -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