added blue green strategy (#47)

* added blue green strategy

* Addressed review comments

* addressed pr comments

* updated names in test

* addressed final pr comments
This commit is contained in:
Sundar
2020-07-13 08:59:05 +05:30
committed by GitHub
parent c9b54fdae2
commit b4bc3003e8
26 changed files with 2893 additions and 175 deletions
+2 -2
View File
@@ -67,10 +67,10 @@ export async function run() {
await deploy(new Kubectl(kubectlPath, namespace), manifests, strategy);
}
else if (action === 'promote') {
await promote(true);
await promote();
}
else if (action === 'reject') {
await reject(true);
await reject();
}
else {
core.setFailed('Not a valid action. The allowed actions are deploy, promote, reject');