Skip to content

Instantly share code, notes, and snippets.

@archit-harness
Last active July 25, 2023 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save archit-harness/7d507d603775725c671300290d14e79c to your computer and use it in GitHub Desktop.
Save archit-harness/7d507d603775725c671300290d14e79c to your computer and use it in GitHub Desktop.
pipeline:
name: SimpleCDPipeline
identifier: SimpleCDPipeline
projectIdentifier: Andy_Test_Project
orgIdentifier: default
stages:
- stage:
name: Stage1
identifier: Stage1
description: ""
type: Deployment
spec:
serviceConfig:
serviceRef: test
serviceDefinition:
type: Kubernetes
spec:
manifests:
- manifest:
identifier: nginx
type: K8sManifest
spec:
store:
type: Github
spec:
connectorRef: github_test
gitFetchType: Branch
paths:
- content/en/examples/application/nginx-app.yaml
repoName: https://github.com/kubernetes/website
branch: master
infrastructure:
environmentRef: env_1
infrastructureDefinition:
type: KubernetesDirect
spec:
connectorRef: KubernetesConnector
namespace: default
releaseName: release-1
execution:
steps:
- step:
name: Rollout Deployment
identifier: rolloutDeployment
type: K8sRollingDeploy
timeout: 10m
spec:
skipDryRun: false
tags: {}
failureStrategies:
- onFailure:
errors:
- AllErrors
action:
type: Abort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment