Create pipeline container_pipeline_rmt
+57 · 1 file changed
-
.harness/container_pipeline_rmt.yaml+57 −0
@@ -0,0 +1,57 @@ +pipeline: + name: container_pipeline_rmt + identifier: container_pipeline_rmt + projectIdentifier: default_project + orgIdentifier: default + tags: {} + stages: + - stage: + name: deploy-container + identifier: deploycontainer + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: harness_deploy_container + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + artifacts: + primary: + type: Acr + spec: + tag: <+input> + environment: + environmentRef: test + deployToAll: false + infrastructureDefinitions: + - identifier: harness_k8sinfra + execution: + steps: + - step: + name: Rollout Deployment + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + pruningEnabled: false + delegateSelectors: + - kubernetes-delegate + rollbackSteps: + - step: + name: Rollback Rollout Deployment + identifier: rollbackRolloutDeployment + type: K8sRollingRollback + timeout: 10m + spec: + pruningEnabled: false + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback