Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Documentation of stage events #62

Closed
johannes-b opened this issue Feb 8, 2021 · 0 comments · Fixed by #67
Closed

Documentation of stage events #62

johannes-b opened this issue Feb 8, 2021 · 0 comments · Fixed by #67
Milestone

Comments

@johannes-b
Copy link
Member

In the https://github.com/keptn/spec/blob/master/cloudevents.md a section should be provided to explain the stage events fired by the shipyard-controller. Given the below example of a shipyard, the following stage events are fired:

  • sh.keptn.event.dev.artifact-delivery.triggered
  • sh.keptn.event.dev.artifact-delivery.finished
  • sh.keptn.event.staging.artifact-delivery.triggered
  • sh.keptn.event.staging.artifact-delivery.finished
apiVersion: "spec.keptn.sh/0.2.0"
kind: "Shipyard"
metadata:
  name: "shipyard-sockshop"
spec:
  stages:
    - name: "dev"
      sequences:
        - name: "artifact-delivery"
          tasks:
            - name: "deployment"
            - name: "test"
            - name: "evaluation"
            - name: "release"

    - name: "staging"
      sequences:
        - name: "artifact-delivery"
          triggers:
            - "dev.artifact-delivery.finished"
          tasks:
            - name: "deployment"
            - name: "test"
            - name: "evaluation"
            - name: "release"

Task: Provide documentation to explain:

  • The pattern of a stage event follows this format: sh.keptn.event.{stage}.{seqeunece}.{triggered | finished}
  • The result, status, and message properties represent the properties from the last successfully executed task in the sequence.
@johannes-b johannes-b added this to the 0.2.0 milestone Feb 8, 2021
bacherfl added a commit that referenced this issue Feb 24, 2021
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
bacherfl added a commit that referenced this issue Feb 24, 2021
#52 #62 describe cloud event type in more detail
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant