High level CDK construct to provision GitLab integrations with AWS
Project description
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_eks_cluster(stack, "GitlabEksCluster", 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={"task": executor.task_definition_arn} ) # TBD - create Amazon EC2 runner for the GitLab provider.create_ec2_runner(...)
Deploy
cdk deploy -c GITLAB_REGISTRATION_TOKEN=<TOKEN>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size cdk_gitlab-0.1.7-py3-none-any.whl (34.5 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size cdk-gitlab-0.1.7.tar.gz (35.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for cdk_gitlab-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d58de18d67980de761e34d58fc2acbb7602c2c4d09a57abb60f8f2cac689f66a |
|
MD5 | 1f607d75d0a95594169966e70186a9c1 |
|
BLAKE2-256 | 07917299f7d8632f9610450f854b08e1eb70e1165a59a99b7e7668cdb0b563d9 |