@pgarbe/cdk-bitbucket-server
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

CDK BitBucket Server Constructs

An CDK Construct to create repositories, webhooks and maybe more on BitBucket Server (formarly Stash). It's not working with BitBucket Cloud.

How to use it

See also examples folder. bitbucket-backend-stack creates the custom resource and shares the ServiceToken as output. bitbucket-stack uses ServiceToken and creates new BitBucket resources.

Ensure to have SSM Parameters config/bitbucket/host, config/bitbucket/username and config/bitbucket/password.

cdk deploy --app "npx ts-node bitbucket-backend-stack.ts"
cdk deploy --app "npx ts-node bitbucket-stack.ts"

Supported resources

[x] Repository
[x] WebHook
[x] Project

Next steps

[] Support cross account usage (see also #8470 ) [] Explicitly handle update of resources [] Explicitly handle delete of resources (using retention policy)

How to release

Set a new version with npm version command and push changes to GitHub.

npm version x.x.x
git push

/@pgarbe/cdk-bitbucket-server/

    Package Sidebar

    Install

    npm i @pgarbe/cdk-bitbucket-server

    Weekly Downloads

    101

    Version

    0.1.10

    License

    MIT

    Unpacked Size

    103 MB

    Total Files

    2869

    Last publish

    Collaborators

    • pgarbe