forked from keptn-sandbox/keptn-on-k3s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andreas Grabner <[email protected]>
- Loading branch information
1 parent
7ce6555
commit c06eb33
Showing
7 changed files
with
134 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
keptn_project_templates/delivery-simplenode/shipyard_small.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
apiVersion: spec.keptn.sh/0.2.0 | ||
kind: Shipyard | ||
metadata: | ||
name: "shipyard-delivery-simplenode" | ||
description: "3 stages delivery" | ||
spec: | ||
stages: | ||
- name: dev | ||
description: "Represents Dev Stage where all new artifacts will be deployed first." | ||
sequences: | ||
- name: delivery | ||
tasks: | ||
- name: deployment | ||
properties: | ||
deploymentstrategy: direct | ||
- name: test | ||
properties: | ||
teststrategy: functional | ||
- name: evaluation | ||
- name: release | ||
- name: staging | ||
description: "Represents Staging where good artifacts from dev will be promoted to" | ||
sequences: | ||
- name: delivery | ||
triggeredOn: | ||
- event: dev.delivery.finished | ||
tasks: | ||
- name: approval | ||
properties: | ||
pass: automatic | ||
warning: automatic | ||
- name: monaco | ||
- name: deployment | ||
properties: | ||
deploymentstrategy: direct | ||
- name: test | ||
properties: | ||
teststrategy: performance | ||
- name: evaluation | ||
- name: release | ||
- name: rollback | ||
triggeredOn: | ||
- event: "staging.delivery.finished" | ||
selector: | ||
match: | ||
result: "fail" | ||
tasks: | ||
- name: rollback | ||
- name: production | ||
description: "Represents Production. All staging artifacts need manual approval" | ||
sequences: | ||
- name: delivery | ||
triggeredOn: | ||
- event: staging.delivery.finished | ||
tasks: | ||
- name: approval | ||
properties: | ||
pass: manual | ||
warning: manual | ||
- name: monaco | ||
- name: deployment | ||
properties: | ||
deploymentstrategy: blue_green_service | ||
- name: test | ||
properties: | ||
teststrategy: performance | ||
- name: evaluation | ||
- name: release | ||
- name: rollback | ||
triggeredOn: | ||
- event: "production.delivery.finished" | ||
selector: | ||
match: | ||
result: "fail" | ||
tasks: | ||
- name: rollback |
File renamed without changes.
File renamed without changes.
Empty file.