mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-14 10:32:22 +08:00
format check changes
This commit is contained in:
parent
9390dc6380
commit
6627812069
@ -36,7 +36,7 @@ export async function deploy(
|
|||||||
kubectl,
|
kubectl,
|
||||||
trafficSplitMethod
|
trafficSplitMethod
|
||||||
)
|
)
|
||||||
core.endGroup();
|
core.endGroup()
|
||||||
core.debug('Deployed manifest files: ' + deployedManifestFiles)
|
core.debug('Deployed manifest files: ' + deployedManifestFiles)
|
||||||
|
|
||||||
// check manifest stability
|
// check manifest stability
|
||||||
@ -48,7 +48,7 @@ export async function deploy(
|
|||||||
])
|
])
|
||||||
)
|
)
|
||||||
await checkManifestStability(kubectl, resourceTypes)
|
await checkManifestStability(kubectl, resourceTypes)
|
||||||
core.endGroup();
|
core.endGroup()
|
||||||
|
|
||||||
if (deploymentStrategy == DeploymentStrategy.BLUE_GREEN) {
|
if (deploymentStrategy == DeploymentStrategy.BLUE_GREEN) {
|
||||||
core.startGroup('Routing blue green')
|
core.startGroup('Routing blue green')
|
||||||
@ -56,7 +56,7 @@ export async function deploy(
|
|||||||
core.getInput('route-method', {required: true})
|
core.getInput('route-method', {required: true})
|
||||||
)
|
)
|
||||||
await routeBlueGreen(kubectl, inputManifestFiles, routeStrategy)
|
await routeBlueGreen(kubectl, inputManifestFiles, routeStrategy)
|
||||||
core.endGroup();
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
||||||
// print ingresses
|
// print ingresses
|
||||||
@ -70,7 +70,7 @@ export async function deploy(
|
|||||||
ingressResource.name
|
ingressResource.name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
core.endGroup();
|
core.endGroup()
|
||||||
|
|
||||||
// annotate resources
|
// annotate resources
|
||||||
core.startGroup('Annotating resources')
|
core.startGroup('Annotating resources')
|
||||||
@ -86,5 +86,5 @@ export async function deploy(
|
|||||||
resourceTypes,
|
resourceTypes,
|
||||||
allPods
|
allPods
|
||||||
)
|
)
|
||||||
core.endGroup();
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user