Skip to main content

NPM version PyPI version Release

cdk-gitlab

High level CDK construct to provision GitLab integrations with AWS

Sample

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cdk_gitlab import Provider, FargateJobExecutor, FargateRunner, JobExecutorImage

provider = Provider(stack, "GitlabProvider", vpc=vpc)

# create a Amazon EKS cluster
provider.create_fargate_eks_cluster(stack, "GitlabEksCluster",
    cluster_options={
        "vpc": vpc,
        "version": eks.KubernetesVersion.V1_18
    }
)

# create a default fargate runner with its job executor
provider.create_fargate_runner()

# alternatively, create the runner and the executor indivicually.
# first, create the executor
executor = FargateJobExecutor(stack, "JobExecutor",
    image=JobExecutorImage.DEBIAN
)

# second, create the runner with the task definition of the executor
FargateRunner(stack, "FargateRunner",
    vpc=vpc,
    executor=executor
)

# TBD - create Amazon EC2 runner for the GitLab
provider.create_ec2_runner(...)

Fargate Runner with Aamzon ECS

On deployment with createFargateRunner(), the Fargate Runner will be provisioned in Amazon ECS with AWS Fargate and Amazon ECS Capacity Providers. By default, the FARGATE and FARGATE_SPOT capacity providers are available for the Amazon ECS cluster and the runner and job executor will run on FARGATE_SPOT. You can specify your custom clusterDefaultCapacityProviderStrategy and serviceDefaultCapacityProviderStrategy properties from the FargateRunner construct for different capacity provider strategies.

Deploy

cdk deploy -c GITLAB_REGISTRATION_TOKEN=<TOKEN>

Metadata

Release files for cdk-gitlab 0.1.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-gitlab 0.1.26
File Size Uploaded Provenance Actions
cdk-gitlab-0.1.26.tar.gz 42.5 kB Without provenance Details for cdk-gitlab-0.1.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdk-gitlab 0.1.26
File Interpreter ABI Platform Actions
cdk_gitlab-0.1.26-py3-none-any.whl Python 3 none any Details for cdk_gitlab-0.1.26-py3-none-any.whl

Total release size: 83.4 kB

Release files / cdk-gitlab-0.1.26.tar.gz

Download URL cdk-gitlab-0.1.26.tar.gz
Size 42.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bcf944bc879821e4af181ee75066e12a02e35b69e57d8f457d7c1506afbff575
BLAKE2b-256 checksum
How to use checksums
2a7c234f829a70eafd320058486666fb716b79c1a0d496560c665e1ed362c630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Release files / cdk_gitlab-0.1.26-py3-none-any.whl

Download URL cdk_gitlab-0.1.26-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7c4cee54a5df92b171fd0f0d0ed158fbe413de75f9aaf998373f154115bfe16
BLAKE2b-256 checksum
How to use checksums
b511db17e2f58e880c2e92be61eba1ddbbed3a6c2ffab5f58e89e4835eb3185e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Security for cdk-gitlab 0.1.26

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.26 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page