mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-24 21:50:00 +08:00
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:
+2
-2
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user