-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Use Case 1
Environment group, all environments, all infrastructures
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
group: my-groupEnvironment group, 1 environment, all infrastructures
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
group:
name: my-group
parallel: true
items:
- name: prod
deploy-to: allEnvironment group, 1 environment, 1 infrastructures
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
group:
name: my-group
parallel: true
items:
- name: dev
deploy-to: infra3Environment group, 1 environment, multiple infrastructures
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
group:
name: my-group
parallel: true
items:
- name: stage
deploy-to:
- infra1
- infra2Environment group, match environment, match infrastructure
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
group:
name: my-group
parallel: true
items:
- match: prod # match any environment that contains "prod". e.g. this would match prod1, prod2
deploy-to: infra # match any infrastructure that contains "infra". e.g. this would match infra1, infra2Alternative
pipeline:
service:
items:
- petstore-frontend
- petstore-backend
environment:
parallel: true
group: foo # add "group" to environment
items:
- name: prod
deploy-to: all
- name: stage
deploy-to:
- infra1
- infra2
- name: dev
deploy-to: infra3
# add "match" block to match environments
- match: prod-us-*
- match:
name:
- prod-us-*
- prod-eu-*
deploy-to:
- cluster-us-*
- cluster-eu-*
stages:
- steps:
- go buildReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels