CDFoundation
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: CDEvents --- # CDEvents Community Summit 2022 * [Event Page on Sched](https://sched.co/10fUW) * [Google form](https://docs.google.com/forms/d/1iIKp_xh3Sx3Mh9hp_VYAIAyR_EkF-nVoTp2JkGkdErQ/edit#responses) Please join CDEvents Slack channel to learn more about CDEvents, discuss your use cases, contribute to the spec, and collaborate with your fellow community members. * CDFoundation Slack Invite: https://join.slack.com/t/cdeliveryfdn/shared_invite/zt-nwc0jjd0-G65oEpv5ynFfPD5oOX5Ogg * CDEvents Channel: #cdevents ## Event Title and Abstract [**CDEvents Contributor Summit**](https://sched.co/10fUW) ### Abstract CDEvents v0.1 is coming, let’s go implement it in the wild! We are building SDKs for go, java and python - let’s use them to add CDEvents to your project. Meet at cdCon, CDEvents users and developers, to learn about CDEvents and start using them! ## Attendees Please sign yourselves in: * < Name, pronouns, company, timezone> * Adam Kaplan, he/him/his, Red Hat, EDT (UTC-5:00) * Fatih Degirmenci, he/him/his, CDFoundation, CDT * Emil Bäckmark, he/him/his, Ericsson, CET (UTC+2) * Jalander Ramagiri, he/him/his. Ericsson Software Technology, IST (UTC+1) * Nicolas Favre-Felix, he/him/his. Apple (Spinnaker team), PDT * Melissa McKay, she/her/hers, JFrog, MDT ## Agenda - Introduction to CDEvents - CDEvents Use Cases - CDEvents Specification and SDKs ## Notes - Round of introduction - Intro to CDEvents - \[Erik\] Story about glue-code and interoperability in CI/CD - \[Andrea\] What is CDEvents - \[Erik\] Interoperability use case - \[Andrea\] Observability & Metrics use case - \[Nicolas\] Question about links between events - \[Nicolas\] Expecting to see structure to link events, to build a graph. Is this something that was considered or was it a consciuous decision to not include it? - \[Emil\] We discussed about this topic - see [issue 10](https://github.com/cdevents/spec/issues/10) - Relate events through a graph (via links) - Relate events through a context ID of some kind - \[Emil\] Links in [Eiffel](https://eiffel-community.github.io/). [Talk on linking events](https://www.youtube.com/watch?v=3iHGziX1dlA&list=PL2KXbZ9-EY9TWsV-Jz8ARSt1ko0Yd36ah) to achieve traceability and data aggregation (cdCon 2021) - \[Dave\] Potentially we could link events through context without having explicit links - \[Dave\] Is it possible to use a tool specific UUID (e.g. Cloud Build UUID) for the CDEvents UUID or would that be a separate UUID? If separate, can the Cloud Build UUID be included in the event to that it's possible to refer it based on other events - \[Andrea\] The Events UUID is an event specific one, unique within the source (event producer) - \[Andrea\] The Subject UUID could host something like the cloud build UUID - it's also unique within the source - \[Dave\] Is it possible to know that the subject UUID is specific to a certain platform? - \[Erik\] We have source that can be used to identify the platform, and the subject may also contain other fields - \[Andrea\] We also discussed vendor specific extensions that can be documented and a consumer could take advantage of those is they want to - \[Andrea\] About the context vs. links - In the [cdCon talk](https://cdcon2022.sched.com/event/10UYC/building-devops-metrics-for-your-choice-of-cd-tools-through-cdevents-andrea-frittoli-ibm-erik-sternerson-dowhile) we tried to correlate events based on subjects, without using links - Easier for initial implementation - Introducing links requires adding logic into the event source - It's convenient for PoC to use adapters and not change the source - \[Dave\] A producer having to query an event store to get the right link to produce a new event seems problematic, it would fire everything off with the context available to it - \[Emil\] We would need an event store, it works for Eiffel - \[Mauricio\] Producing links make sense when an event is produced as a consequence of another event, which may not always be the case - \[Mauricio\] Lean towards having links in the spec. What is the impact on the SDK? How are we going to make it easier for developers to create these links? - \[Dave\] For a change, we already have one ID i.e. the git sha, so we should rely on that instead of creating an extra event ID with links to it - \[Erik\] The change ID is available for a single artifact, but in composition cases it may not be obvious what such ID might be. It has been suggested in one of the talks that it could be a pURL? Links: - Is there a mechanism to fetch events associated to a workflow? Roadmap: - Correlation between events, solve the DORA Metrics PoC - Versions - SDK working group - Requirements - Testing - Python SDK (needed for [4 Keys](https://github.com/GoogleCloudPlatform/fourkeys)) - Alignment across SDKs in different languages CDEvents + OpenTelemetry interoperability - CDEvents does not implement any OpenTelemetry use case - Follow my change? ## Feedback - ### Suggested topics Specification discussion topics: - (Erik) revisiting the discussion on prescriptive vs descriptive events ([issue 36](https://github.com/cdevents/spec/issues/36)) - (Andrea) implementing an event receiver - (Emil) links/references/contexts & storage ([issue 10](https://github.com/cdevents/spec/issues/10)) ### Content Brainstorming Given that this summit is intended to be hands-on/design summit, here are few ideas to get the conversation going on. #### Hands-on with SIG Events PoC This would allow (new) contributors to see events in action by playing with the PoC. What would even be cooler is that we may have Spinnaker introduced the PoC by then, giving people option to choose look at different CI/CD tools. #### CloudEvents vs CDEvents Relation between CloudEvents and CDEvents, how CloudEvents are extended to support CI/CD Use Cases, what to consider while working with CDEvents. Adam +1 #### Existing Event Types and How to Introduce New Ones A deep dive session on existing event types, why they are created and how contributors can go and propose new ones. #### SDKs Go and Java SDKs are already available so contributors could be assisted while navigating through the code base and hints can be provided on how to create SDKs for other languages. #### How to Introduce CDEvents Support to Other CI/CD Tools Like how it is done for Tekton and Keptn and how it is currently being done for Spinnaker, contributors could learn how they can introduce CDEvents support for their favorite CI/CD tools and start doing it at the event. (E.g., is the SDK available already and if so what to think about) #### Realizing Your Use Cases A concrete or theoretical use case for events is brought up and we workshop together on what events should be sent at what stages, and also what may be missing from the spec for the solution to be improved. #### Settle core parts of the CDEvents protocol There are various sub topics that could be covered here, for example: - revisiting the discussion on prescriptive vs descriptive events ([issue 36](https://github.com/cdevents/spec/issues/36)) - subject/predicate structure ([pr 35](https://github.com/cdevents/spec/pull/35)) - links/references/contexts ([issue 10](https://github.com/cdevents/spec/issues/10)) - versioning of event types or the whole protocol ([issue 32](https://github.com/cdevents/spec/issues/32)) - aligning to SIG interop vocabulary ([issue 18](https://github.com/cdevents/spec/issues/18)), for example TaskRun vs Step - ## Event Page TBD ## Rooms Setup TBD ## Timeline TBD ## Agenda TBD ## Else TBD ## RSVP

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully