Merge pull request #66 from mstg/hotfix-deploy-impacted

Deploy objects with force_normal_tags should only apply
This commit is contained in:
resf-prow[bot] 2022-11-07 13:06:46 +00:00 committed by GitHub
commit ab5ae64ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -1,6 +0,0 @@
{
define_project(path)::
{
bazel_path: path
}
}

View File

@ -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"],
) )