operator.python.undeploy_deploy.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
def undeploy(ci):
if repository.exists(ci):
print("Undeploying " + ci)
ci_undeploy_task = deployment.createUndeployTask(ci)
deployit.startTaskAndWait(ci_undeploy_task.id)
else:
print("Skip undeploy of " + ci + ", CI does not exist")
xld_cr = "Environments/kubernetes-envs/xld/xld-cr"
xld_operator_app = "Environments/kubernetes-envs/xld/xld-operator-app"
undeploy(xld_cr)
undeploy(xld_operator_app)