Skip to content

About

Repo containing all the MongoDB artifacts (snaps / rocks)

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

mongodb-artifacts

This repository contains MongoDB packaging artifacts used by Canonical, including snaps and rocks for MongoDB server deployments.

Repository structure

The main directory structure is:

mongodb-artifacts/
├── LICENSE
├── README.md
└── mongodb/
    ├── snaps/
    |   ├── charmed/ # Snap for Charmed MongoDB Operator
    │   └── slim/
    │       ├── mongodb-server-replicaset/ # Snap for a MongoDB replica set deployment.
    │       └── mongodb-server-sharded/ # Snap for a full MongoDB sharded deployment that includes both `mongod` and `mongos`.
    └── rocks/
        ├── charmed/ # Rock for Charmed MongoDB Operator
        └── slim/
            ├── mongodb-server-replicaset/ # Rock for a MongoDB replica set deployment.
            └── mongodb-server-sharded/ # Rock for a full MongoDB sharded deployment that includes both `mongod` and `mongos`.
└── mongos/
    ├── snaps/
    │   └── slim/
    │       └── mongos/ # Snap for the MongoDB sharded cluster query router only (`mongos`).
    └── rocks/
    │   └── slim/
            └── mongos/ # Rock for the MongoDB sharded cluster query router only (`mongos`).

Getting started

This repository contains packaging artifacts for MongoDB in both Snap and Rock formats. To work on an artifact, clone the repository and change into the appropriate subdirectory. Each artifact includes its own README.md and CONTRIBUTING.md with build and usage instructions.

Snaps (example):

git clone https://github.com/canonical/mongodb-artifacts.git
cd mongodb-artifacts/mongodb/snaps/slim/<snap-name>
snapcraft pack

Rocks (example):

git clone https://github.com/canonical/mongodb-artifacts.git
cd mongodb-artifacts/mongodb/rocks/slim/<rock-name>
rockcraft pack

Scripts

There are some scripts available in scripts/ The only script currently is set-version.sh

Usage: bash scripts/set-version.sh X.Y.Z-W

This will update all the charms and rocks .version field to the provided version.

Project & Community

MongoDB artifacts is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.

Contributing

If you want to contribute, see the CONTRIBUTING.md file in the relevant snap subdirectory for clone, build, lint, and test instructions.

License

This repository is licensed under the Apache License 2.0. See LICENSE for details.

About

Repo containing all the MongoDB artifacts (snaps / rocks)

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages