Skip to content

Instantly share code, notes, and snippets.

@mcasimir
Last active January 29, 2024 18:37
Show Gist options
  • Save mcasimir/db4fe96f43f4a92c42f7c644ad09b07b to your computer and use it in GitHub Desktop.
Save mcasimir/db4fe96f43f4a92c42f7c644ad09b07b to your computer and use it in GitHub Desktop.
graph TB
    start -->|"When triggered by CI or Draft Tag"| compile[Compile]
    compile --> tests[Tests]
    compile -->|"generates"| binary[Binary Executable]
    binary -->|"is uploaded to"| s3a[Evergreen S3]
    compile -->|"when Compile is successful"| package[Package]
    compile -->|"when Compile is successful"| e2e[E2E Tests]
    package -->|"generates"| distributable[Distributable Package]
    distributable -->|"is uploaded to"| s3b[Evergreen S3]
    package -->|"when Package is successful"| smoke[Smoke Tests]
    e2e -->|"when all (E2E) Tests are successful"| draftCheck{Is triggered by draft tag?}
    draftCheck -->|Yes| draft[Draft]
    draftCheck -->|No| publish[Publish]
    draft -->|"downloads all Distributable Packages"| downloadCenter[Download Center]
    draft -->|"publishes all distributable Packages to Draft Release"| gitHubRelease[GitHub Release]
    downloadCenter -->|"uploads Release Configuration"| barque[Barque]
    gitHubRelease --> barque
    barque -->|"Triggers Barque PPA update"| ppaUpdate[MongoDB PPA]
    publish -->|"Creates new PR with updated formula"| homebrew[Official Homebrew Repository]
    publish -->|"Publishes npm Packages"| npmRegistry[npm Registry]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment