Add nocron ear and deployer rules for the crash environment

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171027505
This commit is contained in:
bbilbo 2017-10-04 10:27:40 -07:00 committed by Ben McIlwain
parent 9d8e48cf24
commit 6b113603db

View file

@ -213,7 +213,7 @@ registry_ear_file(
# had cron.xml removed. We do this because it's necessary to deploy them in
# this way when restoring a backup.
#
# "nocron" archives are currently prepared for production and alpha. To
# "nocron" archives are currently prepared for production, alpha and crash. To
# prepare them for another environment, just do something similar.
registry_ear_file(
name = "registry_alpha_nocron_ear",
@ -292,6 +292,26 @@ registry_ear_file(
},
)
# The "nocron" files are, unsurprisingly, versions of the archives that have
# had cron.xml removed. We do this because it's necessary to deploy them in
# this way when restoring a backup.
#
# "nocron" archives are currently prepared for production, alpha and crash. To
# prepare them for another environment, just do something similar.
registry_ear_file(
name = "registry_crash_nocron_ear",
out = "registry_crash_nocron.ear",
configs = {
"env/common/META-INF/appengine-application.xml": "META-INF/appengine-application.xml",
"env/common/META-INF/application.xml": "META-INF/application.xml",
},
wars = {
"registry_default_crash_nocron.war": "default",
"registry_backend_crash.war": "backend",
"registry_tools_crash.war": "tools",
},
)
zip_file(
name = "registry_default_crash_war",
srcs = [
@ -305,6 +325,13 @@ zip_file(
deps = [":registry_default_war"],
)
zip_file(
name = "registry_default_crash_nocron_war",
out = "registry_default_crash_nocron.war",
exclude = ["WEB-INF/cron.xml"],
deps = [":registry_default_crash_war"],
)
zip_file(
name = "registry_backend_crash_war",
srcs = [