mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 08:30:56 +01:00
32 lines
808 B
Markdown
32 lines
808 B
Markdown
|
### How does the packaging system work?
|
||
|
|
||
|
```mermaid
|
||
|
sequenceDiagram
|
||
|
participant e as Evergreen
|
||
|
participant osfs as Obtain SBOM from Silk
|
||
|
participant silk as Silk
|
||
|
participant scons as SCons
|
||
|
participant p as Packager
|
||
|
participant s3 as S3
|
||
|
participant curator as Curator
|
||
|
|
||
|
|
||
|
e ->> e: Trigger package task
|
||
|
e ->> osfs: Invoke script
|
||
|
osfs ->> silk: Query for SBOM
|
||
|
silk ->> osfs: Return SBOM
|
||
|
osfs ->> e: Return SBOM
|
||
|
e ->> scons: Invoke build (including SCons)
|
||
|
scons ->> scons: Build distribution tarball (including SBOM)
|
||
|
scons ->> e: Return distribution tarball
|
||
|
e ->> p: Invoke packager
|
||
|
p ->> p: Build local package
|
||
|
p ->> s3: Upload package
|
||
|
s3 ->> p: Return success
|
||
|
p ->> p: Test package
|
||
|
p ->> curator: Upload package to 3P package managers (on release only)
|
||
|
curator ->> p: Return success
|
||
|
p ->> e: Return success
|
||
|
|
||
|
```
|