cdk-gitlab-runner 2.1.394 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +93 -117
- package/API.md +28 -47
- package/README.md +49 -17
- package/lib/gitlab-runner-autoscaling.d.ts +5 -0
- package/lib/gitlab-runner-autoscaling.js +9 -4
- package/lib/gitlab-runner-instance.d.ts +8 -38
- package/lib/gitlab-runner-instance.js +14 -6
- package/lib/integ.api.js +3 -2
- package/lib/integ.gitlab-runner-autoscaling.js +2 -1
- package/node_modules/compare-versions/LICENSE +21 -0
- package/node_modules/compare-versions/README.md +133 -0
- package/node_modules/compare-versions/lib/esm/compare.d.ts +19 -0
- package/node_modules/compare-versions/lib/esm/compare.js +44 -0
- package/node_modules/compare-versions/lib/esm/compare.js.map +1 -0
- package/node_modules/compare-versions/lib/esm/compareVersions.d.ts +8 -0
- package/node_modules/compare-versions/lib/esm/compareVersions.js +29 -0
- package/node_modules/compare-versions/lib/esm/compareVersions.js.map +1 -0
- package/node_modules/compare-versions/lib/esm/index.d.ts +5 -0
- package/node_modules/compare-versions/lib/esm/index.js +5 -0
- package/node_modules/compare-versions/lib/esm/index.js.map +1 -0
- package/node_modules/compare-versions/lib/esm/satisfies.d.ts +14 -0
- package/node_modules/compare-versions/lib/esm/satisfies.js +66 -0
- package/node_modules/compare-versions/lib/esm/satisfies.js.map +1 -0
- package/node_modules/compare-versions/lib/esm/utils.d.ts +7 -0
- package/node_modules/compare-versions/lib/esm/utils.js +37 -0
- package/node_modules/compare-versions/lib/esm/utils.js.map +1 -0
- package/node_modules/compare-versions/lib/esm/validate.d.ts +28 -0
- package/node_modules/compare-versions/lib/esm/validate.js +31 -0
- package/node_modules/compare-versions/lib/esm/validate.js.map +1 -0
- package/node_modules/compare-versions/lib/umd/index.js +216 -0
- package/node_modules/compare-versions/lib/umd/index.js.map +1 -0
- package/node_modules/compare-versions/package.json +45 -0
- package/node_modules/compare-versions/src/compare.ts +54 -0
- package/node_modules/compare-versions/src/compareVersions.ts +31 -0
- package/node_modules/compare-versions/src/index.ts +5 -0
- package/node_modules/compare-versions/src/satisfies.ts +69 -0
- package/node_modules/compare-versions/src/utils.ts +50 -0
- package/node_modules/compare-versions/src/validate.ts +36 -0
- package/package.json +7 -1
package/.jsii
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
"author"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
+
"bundled": {
|
|
10
|
+
"compare-versions": "^6.1.0"
|
|
11
|
+
},
|
|
9
12
|
"dependencies": {
|
|
10
13
|
"aws-cdk-lib": "^2.86.0",
|
|
11
14
|
"constructs": "^10.0.5"
|
|
@@ -3496,7 +3499,7 @@
|
|
|
3496
3499
|
},
|
|
3497
3500
|
"name": "cdk-gitlab-runner",
|
|
3498
3501
|
"readme": {
|
|
3499
|
-
"markdown": "[](https://badge.fury.io/js/cdk-gitlab-runner)\n[](https://badge.fury.io/py/cdk-gitlab-runner)\n[](https://github.com/neilkuan/cdk-gitlab-runner/actions/workflows/release.yml)\n\n\n\n\n\n\n\n\n\n\n# Welcome to `cdk-gitlab-runner`\nUse AWS CDK to create gitlab runner, and use [gitlab runner](https://gitlab.com/gitlab-org/gitlab-runner) to help you execute your Gitlab Pipeline Job.\n> GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab. [(source repo)](https://gitlab.com/gitlab-org/gitlab-runner)\n\n## Why\nGitlab provides [400 minutes per month for each free user](https://about.gitlab.com/pricing/), hosted Gitlab Runner to execute your gitlab pipeline job.That's pretty good and users don't need to manage gitlab runner. If it is just a simple ci job for test 400, it may be enough.\nBut what if you want to deploy to your AWS production environment through pipeline job?\nIs there any security consideration for using the hosted gitlab runner?!\n\nBut creating Gitlab Runner is not that simple, so I created this OSS so that you can quickly create Gitlab Runner and delete your Gitlab Runner via AWS CDK.\nIt will be used with AWS IAM Role, so you don't need to put AKSK in Gitlab environment variables.\n\n\n\n\n## Note\n### Default will help you generate below services:\n\n- VPC\n - Public Subnet (2)\n- EC2 (1 T3.micro)\n\n## Before start you need gitlab runner token in your `gitlab project` or `gitlab group`\n\n### In Group\n\nGroup > Settings > CI/CD\n\n\n### In Project\n\nProject > Settings > CI/CD > Runners\n\n\n## Usage\n\nReplace your gitlab runner token in `$GITLABTOKEN`\n\n## Install\nUse the npm dist tag to opt in CDKv1 or CDKv2:\n```bash\n// for CDKv2\nnpm install cdk-gitlab-runner\nor\nnpm install cdk-gitlab-runner@latest\n\n// for CDKv1\nnpm install cdk-gitlab-runner@cdkv1\n```\n\n## 💡💡💡 please click [here](https://github.com/neilkuan/cdk-gitlab-runner/tree/cdkv1#readme), if you are using aws-cdk v1.x.x version.💡💡💡\n\n### Instance Type\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\n// If want change instance type to t3.large .\nnew GitlabContainerRunner(this, 'runner-instance', { gitlabtoken: '$GITLABTOKEN', ec2type:'t3.large' });\n// OR\n// Just create a gitlab runner , by default instance type is t3.micro .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance', { gitlabtoken: '$GITLABTOKEN' });})\n```\n\n### Gitlab Server Customize Url .\n\nIf you want change what you want tag name .\n\n```typescript\n// If you want change what your self Gitlab Server Url .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance-change-tag', {\n gitlabtoken: '$GITLABTOKEN',\n gitlaburl: 'https://gitlab.my.com/',\n});\n```\n\n### Tags\n\nIf you want change what you want tag name .\n\n```typescript\n// If you want change what you want tag name .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance-change-tag', {\n gitlabtoken: '$GITLABTOKEN',\n tags: ['aa', 'bb', 'cc'],\n});\n```\n\n### IAM Policy\n\nIf you want add runner other IAM Policy like s3-readonly-access.\n\n```typescript\n// If you want add runner other IAM Policy like s3-readonly-access.\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { ManagedPolicy } from 'aws-cdk-lib/aws-iam';\n\nconst runner = new GitlabContainerRunner(this, 'runner-instance-add-policy', {\n gitlabtoken: '$GITLABTOKEN',\n tags: ['aa', 'bb', 'cc'],\n});\nrunner.runnerRole.addManagedPolicy(\n ManagedPolicy.fromAwsManagedPolicyName('AmazonS3ReadOnlyAccess'),\n);\n```\n\n### Security Group\n\nIf you want add runner other SG Ingress .\n\n```typescript\n// If you want add runner other SG Ingress .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer } from 'aws-cdk-lib/aws-ec2';\n\nconst runner = new GitlabContainerRunner(this, 'runner-add-SG-ingress', {\n gitlabtoken: 'GITLABTOKEN',\n tags: ['aa', 'bb', 'cc'],\n});\n\n// you can add ingress in your runner SG .\nrunner.defaultRunnerSG.connections.allowFrom(\n Peer.ipv4('0.0.0.0/0'),\n Port.tcp(80),\n);\n```\n\n### Use self VPC\n\n> 2020/06/27 , you can use your self exist VPC or new VPC , but please check your `vpc public Subnet` Auto-assign public IPv4 address must be Yes ,or `vpc private Subnet` route table associated `nat gateway` .\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer, Vpc, SubnetType } from 'aws-cdk-lib/aws-ec2';\nimport { ManagedPolicy } from 'aws-cdk-lib/aws-iam';\n\nconst newvpc = new Vpc(stack, 'VPC', {\n ipAddresses: IpAddresses.cidr('10.0.0.0/16'),\n maxAzs: 2,\n subnetConfiguration: [\n {\n cidrMask: 26,\n name: 'RunnerVPC',\n subnetType: SubnetType.PUBLIC,\n },\n ],\n natGateways: 0,\n});\n\nconst runner = new GitlabContainerRunner(this, 'testing', {\n gitlabtoken: '$GITLABTOKEN',\n ec2type: 't3.small',\n selfvpc: newvpc,\n});\n```\n\n### Use your self exist role\n\n> 2020/06/27 , you can use your self exist role assign to runner\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer } from 'aws-cdk-lib/aws-ec2';\nimport { ManagedPolicy, Role, ServicePrincipal } from 'aws-cdk-lib/aws-iam';\n\nconst role = new Role(this, 'runner-role', {\n assumedBy: new ServicePrincipal('ec2.amazonaws.com'),\n description: 'For Gitlab EC2 Runner Test Role',\n roleName: 'TestRole',\n});\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: '$GITLAB_TOKEN',\n ec2iamrole: role,\n});\nrunner.runnerRole.addManagedPolicy(\n ManagedPolicy.fromAwsManagedPolicyName('AmazonS3ReadOnlyAccess'),\n);\n```\n\n### Custom Gitlab Runner EBS szie\n\n> 2020/08/22 , you can change you want ebs size.\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: '$GITLAB_TOKEN',\n ebsSize: 50,\n});\n```\n\n### Control the number of runners with AutoScalingGroup\n\n> 2020/11/25 , you can set the number of runners.\n\n```typescript\nimport { GitlabRunnerAutoscaling } from 'cdk-gitlab-runner';\n\nnew GitlabRunnerAutoscaling(stack, 'testing', {\n gitlabToken: '$GITLAB_TOKEN',\n minCapacity: 2,\n maxCapacity: 2,\n});\n```\n\n### Support Spotfleet Gitlab Runner\n\n> 2020/08/27 , you can use spotfleet instance be your gitlab runner,\n> after create spotfleet instance will auto output instance id.\n\n```typescript\nimport { GitlabContainerRunner, BlockDuration } from 'cdk-gitlab-runner';\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: 'GITLAB_TOKEN',\n ec2type: 't3.large',\n spotFleet: true,\n});\n// configure the expiration after 1 hours\nrunner.expireAfter(Duration.hours(1));\n```\n\n> 2020/11/19, you setting job runtime bind host volumes.\n> see more https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersdocker-section\n\n```typescript\nimport { GitlabContainerRunner, BlockDuration } from 'cdk-gitlab-runner';\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: 'GITLAB_TOKEN',\n ec2type: 't3.large',\n dockerVolumes: [\n {\n hostPath: '/tmp/cache',\n containerPath: '/tmp/cache',\n },\n ],\n});\n```\n\n## Wait about 6 mins , If success you will see your runner in that page .\n\n\n\n#### you can use tag `gitlab` , `runner` , `awscdk` ,\n\n## Example _`gitlab-ci.yaml`_\n\n[gitlab docs see more ...](https://docs.gitlab.com/ee/ci/yaml/README.html)\n\n```yaml\ndockerjob:\n image: docker:18.09-dind\n variables:\n tags:\n - runner\n - awscdk\n - gitlab\n variables:\n DOCKER_TLS_CERTDIR: \"\"\n before_script:\n - docker info\n script:\n - docker info;\n - echo 'test 123';\n - echo 'hello world 1228'\n```\n\n### If your want to debug you can go to aws console\n\n# `In your runner region !!!`\n\n## AWS Systems Manager > Session Manager > Start a session\n\n\n\n#### click your `runner` and click `start session`\n\n#### in the brower console in put `bash`\n\n```bash\n# become to root\nsudo -i\n\n# list runner container .\nroot# docker ps -a\n\n# modify gitlab-runner/config.toml\n\nroot# cd /home/ec2-user/.gitlab-runner/ && ls\nconfig.toml\n```\n\n\n## :clap: Supporters\n[](https://github.com/neilkuan/cdk-gitlab-runner/stargazers)\n"
|
|
3502
|
+
"markdown": "[](https://badge.fury.io/js/cdk-gitlab-runner)\n[](https://badge.fury.io/py/cdk-gitlab-runner)\n[](https://github.com/neilkuan/cdk-gitlab-runner/actions/workflows/release.yml)\n\n\n\n\n\n\n\n\n\n\n# Welcome to `cdk-gitlab-runner`\nUse AWS CDK to create gitlab runner, and use [gitlab runner](https://gitlab.com/gitlab-org/gitlab-runner) to help you execute your Gitlab Pipeline Job.\n> GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab. [(source repo)](https://gitlab.com/gitlab-org/gitlab-runner)\n\n## Why\nGitlab provides [400 minutes per month for each free user](https://about.gitlab.com/pricing/), hosted Gitlab Runner to execute your gitlab pipeline job.That's pretty good and users don't need to manage gitlab runner. If it is just a simple ci job for test 400, it may be enough.\nBut what if you want to deploy to your AWS production environment through pipeline job?\nIs there any security consideration for using the hosted gitlab runner?!\n\nBut creating Gitlab Runner is not that simple, so I created this OSS so that you can quickly create Gitlab Runner and delete your Gitlab Runner via AWS CDK.\nIt will be used with AWS IAM Role, so you don't need to put AKSK in Gitlab environment variables.\n\n\n\n\n## Note\n### Default will help you generate below services:\n\n- VPC\n - Public Subnet (2)\n- EC2 (1 T3.micro)\n\n## Before start you need gitlab runner token in your `gitlab project` or `gitlab group`\n\n## In Group before Gitlab 15.10\nThis registration process is only supported in GitLab Runner 15.10 or later\nThis registration process is not supported in GitLab Runner 15.9 or earlier and only available as an experimental feature in GitLab Runner 15.10 and 15.11. You should upgrade to GitLab Runner 16.0 or later to use a stable version of this registration process. [Check this issue](https://github.com/neilkuan/cdk-gitlab-runner/issues/1796)\n\nGroup > Settings > CI/CD\n\n\n## In Group after Gitlab 15.10\nThis registration process is only supported in GitLab Runner 15.10 or later\nThis registration process is not supported in GitLab Runner 15.9 or earlier and only available as an experimental feature in GitLab Runner 15.10 and 15.11. You should upgrade to GitLab Runner 16.0 or later to use a stable version of this registration process. [Check this issue](https://github.com/neilkuan/cdk-gitlab-runner/issues/1796)\n\nGroup > Build > Runners\n\n\n\n\n\n\n### In Project before Gitlab 15.10\nThis registration process is only supported in GitLab Runner 15.10 or later\nThis registration process is not supported in GitLab Runner 15.9 or earlier and only available as an experimental feature in GitLab Runner 15.10 and 15.11. You should upgrade to GitLab Runner 16.0 or later to use a stable version of this registration process. [Check this issue](https://github.com/neilkuan/cdk-gitlab-runner/issues/1796)\n\nProject > Settings > CI/CD > Runners\n\n\n### In Project after Gitlab 15.10\nThis registration process is only supported in GitLab Runner 15.10 or later\nThis registration process is not supported in GitLab Runner 15.9 or earlier and only available as an experimental feature in GitLab Runner 15.10 and 15.11. You should upgrade to GitLab Runner 16.0 or later to use a stable version of this registration process. [Check this issue](https://github.com/neilkuan/cdk-gitlab-runner/issues/1796)\n\nProject > Settings > CI/CD > Runners\n\n\n## Usage\n\nReplace your gitlab runner token in `$GITLABTOKEN`\n\n## Install\nUse the npm dist tag to opt in CDKv1 or CDKv2:\n```bash\n// for CDKv2\nnpm install cdk-gitlab-runner\nor\nnpm install cdk-gitlab-runner@latest\n\n// for CDKv1\nnpm install cdk-gitlab-runner@cdkv1\n```\n\n## 💡💡💡 please click [here](https://github.com/neilkuan/cdk-gitlab-runner/tree/cdkv1#readme), if you are using aws-cdk v1.x.x version.💡💡💡\n\n### Instance Type\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\n// If want change instance type to t3.large .\nnew GitlabContainerRunner(this, 'runner-instance', { gitlabtoken: 'glrt-GITLABTOKEN', ec2type:'t3.large',gitlabRunnerVersion: '15.10' });\n// OR\n// Just create a gitlab runner , by default instance type is t3.micro .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance', { gitlabtoken: 'glrt-GITLABTOKEN', gitlabRunnerVersion: '15.10' });\n```\n\n### Gitlab Server Customize Url .\n\nIf you want change what you want tag name .\n\n```typescript\n// If you want change what your self Gitlab Server Url .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance-change-tag', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlaburl: 'https://gitlab.my.com/',\n gitlabRunnerVersion: '15.10'\n});\n```\n\n### Tags\n\nIf you want change what you want tag name .\n!!! Not support Gitlab Runner 15.10 and later !!!\n```typescript\n// If you want change what you want tag name .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(this, 'runner-instance-change-tag', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n tags: ['aa', 'bb', 'cc'],\n});\n```\n\n### IAM Policy\n\nIf you want add runner other IAM Policy like s3-readonly-access.\n\n```typescript\n// If you want add runner other IAM Policy like s3-readonly-access.\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { ManagedPolicy } from 'aws-cdk-lib/aws-iam';\n\nconst runner = new GitlabContainerRunner(this, 'runner-instance-add-policy', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n tags: ['aa', 'bb', 'cc'],\n});\nrunner.runnerRole.addManagedPolicy(\n ManagedPolicy.fromAwsManagedPolicyName('AmazonS3ReadOnlyAccess'),\n);\n```\n\n### Security Group\n\nIf you want add runner other SG Ingress .\n\n```typescript\n// If you want add runner other SG Ingress .\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer } from 'aws-cdk-lib/aws-ec2';\n\nconst runner = new GitlabContainerRunner(this, 'runner-add-SG-ingress', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n tags: ['aa', 'bb', 'cc'],\n});\n\n// you can add ingress in your runner SG .\nrunner.defaultRunnerSG.connections.allowFrom(\n Peer.ipv4('0.0.0.0/0'),\n Port.tcp(80),\n);\n```\n\n### Use self VPC\n\n> 2020/06/27 , you can use your self exist VPC or new VPC , but please check your `vpc public Subnet` Auto-assign public IPv4 address must be Yes ,or `vpc private Subnet` route table associated `nat gateway` .\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer, Vpc, SubnetType } from 'aws-cdk-lib/aws-ec2';\nimport { ManagedPolicy } from 'aws-cdk-lib/aws-iam';\n\nconst newvpc = new Vpc(stack, 'VPC', {\n ipAddresses: IpAddresses.cidr('10.0.0.0/16'),\n maxAzs: 2,\n subnetConfiguration: [\n {\n cidrMask: 26,\n name: 'RunnerVPC',\n subnetType: SubnetType.PUBLIC,\n },\n ],\n natGateways: 0,\n});\n\nconst runner = new GitlabContainerRunner(this, 'testing', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n ec2type: 't3.small',\n selfvpc: newvpc,\n});\n```\n\n### Use your self exist role\n\n> 2020/06/27 , you can use your self exist role assign to runner\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\nimport { Port, Peer } from 'aws-cdk-lib/aws-ec2';\nimport { ManagedPolicy, Role, ServicePrincipal } from 'aws-cdk-lib/aws-iam';\n\nconst role = new Role(this, 'runner-role', {\n assumedBy: new ServicePrincipal('ec2.amazonaws.com'),\n description: 'For Gitlab EC2 Runner Test Role',\n roleName: 'TestRole',\n});\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n ec2iamrole: role,\n});\nrunner.runnerRole.addManagedPolicy(\n ManagedPolicy.fromAwsManagedPolicyName('AmazonS3ReadOnlyAccess'),\n);\n```\n\n### Custom Gitlab Runner EBS szie\n\n> 2020/08/22 , you can change you want ebs size.\n\n```typescript\nimport { GitlabContainerRunner } from 'cdk-gitlab-runner';\n\nnew GitlabContainerRunner(stack, 'testing', {\n gitlabtoken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n ebsSize: 50,\n});\n```\n\n### Control the number of runners with AutoScalingGroup\n\n> 2020/11/25 , you can set the number of runners.\n\n```typescript\nimport { GitlabRunnerAutoscaling } from 'cdk-gitlab-runner';\n\nnew GitlabRunnerAutoscaling(stack, 'testing', {\n gitlabToken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n minCapacity: 2,\n maxCapacity: 2,\n});\n```\n\n### Support Spotfleet Gitlab Runner\n\n> 2020/08/27 , you can use spotfleet instance be your gitlab runner,\n> after create spotfleet instance will auto output instance id.\n\n```typescript\nimport { GitlabContainerRunner, BlockDuration } from 'cdk-gitlab-runner';\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabToken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n ec2type: 't3.large',\n spotFleet: true,\n});\n// configure the expiration after 1 hours\nrunner.expireAfter(Duration.hours(1));\n```\n\n> 2020/11/19, you setting job runtime bind host volumes.\n> see more https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersdocker-section\n\n```typescript\nimport { GitlabContainerRunner, BlockDuration } from 'cdk-gitlab-runner';\n\nconst runner = new GitlabContainerRunner(stack, 'testing', {\n gitlabToken: 'glrt-GITLABTOKEN',\n gitlabRunnerVersion: '15.10',\n ec2type: 't3.large',\n dockerVolumes: [\n {\n hostPath: '/tmp/cache',\n containerPath: '/tmp/cache',\n },\n ],\n});\n```\n\n## Wait about 6 mins , If success you will see your runner in that page .\n\n\n\n#### you can use tag `gitlab` , `runner` , `awscdk` ,\n> !!!!! Not Support Gitlab Runner after 15.10 and later\n## Example _`gitlab-ci.yaml`_\n\n[gitlab docs see more ...](https://docs.gitlab.com/ee/ci/yaml/README.html)\n\n```yaml\ndockerjob:\n image: docker:18.09-dind\n variables:\n tags:\n - runner\n - awscdk\n - gitlab\n variables:\n DOCKER_TLS_CERTDIR: \"\"\n before_script:\n - docker info\n script:\n - docker info;\n - echo 'test 123';\n - echo 'hello world 1228'\n```\n\n### If your want to debug you can go to aws console\n\n# `In your runner region !!!`\n\n## AWS Systems Manager > Session Manager > Start a session\n\n\n\n#### click your `runner` and click `start session`\n\n#### in the brower console in put `bash`\n\n```bash\n# become to root\nsudo -i\n\n# list runner container .\nroot# docker ps -a\n\n# modify gitlab-runner/config.toml\n\nroot# cd /home/ec2-user/.gitlab-runner/ && ls\nconfig.toml\n```\n\n\n## :clap: Supporters\n[](https://github.com/neilkuan/cdk-gitlab-runner/stargazers)\n"
|
|
3500
3503
|
},
|
|
3501
3504
|
"repository": {
|
|
3502
3505
|
"type": "git",
|
|
@@ -3579,7 +3582,7 @@
|
|
|
3579
3582
|
},
|
|
3580
3583
|
"locationInModule": {
|
|
3581
3584
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3582
|
-
"line":
|
|
3585
|
+
"line": 308
|
|
3583
3586
|
},
|
|
3584
3587
|
"parameters": [
|
|
3585
3588
|
{
|
|
@@ -3605,7 +3608,7 @@
|
|
|
3605
3608
|
"kind": "class",
|
|
3606
3609
|
"locationInModule": {
|
|
3607
3610
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3608
|
-
"line":
|
|
3611
|
+
"line": 271
|
|
3609
3612
|
},
|
|
3610
3613
|
"methods": [
|
|
3611
3614
|
{
|
|
@@ -3615,7 +3618,7 @@
|
|
|
3615
3618
|
},
|
|
3616
3619
|
"locationInModule": {
|
|
3617
3620
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3618
|
-
"line":
|
|
3621
|
+
"line": 579
|
|
3619
3622
|
},
|
|
3620
3623
|
"name": "createUserData",
|
|
3621
3624
|
"parameters": [
|
|
@@ -3653,7 +3656,7 @@
|
|
|
3653
3656
|
},
|
|
3654
3657
|
"locationInModule": {
|
|
3655
3658
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3656
|
-
"line":
|
|
3659
|
+
"line": 555
|
|
3657
3660
|
},
|
|
3658
3661
|
"name": "expireAfter",
|
|
3659
3662
|
"parameters": [
|
|
@@ -3679,7 +3682,7 @@
|
|
|
3679
3682
|
"immutable": true,
|
|
3680
3683
|
"locationInModule": {
|
|
3681
3684
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3682
|
-
"line":
|
|
3685
|
+
"line": 295
|
|
3683
3686
|
},
|
|
3684
3687
|
"name": "defaultRunnerSG",
|
|
3685
3688
|
"type": {
|
|
@@ -3694,7 +3697,7 @@
|
|
|
3694
3697
|
"immutable": true,
|
|
3695
3698
|
"locationInModule": {
|
|
3696
3699
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3697
|
-
"line":
|
|
3700
|
+
"line": 280
|
|
3698
3701
|
},
|
|
3699
3702
|
"name": "runnerEc2",
|
|
3700
3703
|
"type": {
|
|
@@ -3709,7 +3712,7 @@
|
|
|
3709
3712
|
"immutable": true,
|
|
3710
3713
|
"locationInModule": {
|
|
3711
3714
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3712
|
-
"line":
|
|
3715
|
+
"line": 275
|
|
3713
3716
|
},
|
|
3714
3717
|
"name": "runnerRole",
|
|
3715
3718
|
"type": {
|
|
@@ -3724,7 +3727,7 @@
|
|
|
3724
3727
|
"immutable": true,
|
|
3725
3728
|
"locationInModule": {
|
|
3726
3729
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3727
|
-
"line":
|
|
3730
|
+
"line": 305
|
|
3728
3731
|
},
|
|
3729
3732
|
"name": "spotFleetInstanceId",
|
|
3730
3733
|
"type": {
|
|
@@ -3739,7 +3742,7 @@
|
|
|
3739
3742
|
"immutable": true,
|
|
3740
3743
|
"locationInModule": {
|
|
3741
3744
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3742
|
-
"line":
|
|
3745
|
+
"line": 300
|
|
3743
3746
|
},
|
|
3744
3747
|
"name": "spotFleetRequestId",
|
|
3745
3748
|
"type": {
|
|
@@ -3754,7 +3757,7 @@
|
|
|
3754
3757
|
"immutable": true,
|
|
3755
3758
|
"locationInModule": {
|
|
3756
3759
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3757
|
-
"line":
|
|
3760
|
+
"line": 285
|
|
3758
3761
|
},
|
|
3759
3762
|
"name": "vpc",
|
|
3760
3763
|
"type": {
|
|
@@ -3775,10 +3778,26 @@
|
|
|
3775
3778
|
"kind": "interface",
|
|
3776
3779
|
"locationInModule": {
|
|
3777
3780
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3778
|
-
"line":
|
|
3781
|
+
"line": 50
|
|
3779
3782
|
},
|
|
3780
3783
|
"name": "GitlabContainerRunnerProps",
|
|
3781
3784
|
"properties": [
|
|
3785
|
+
{
|
|
3786
|
+
"abstract": true,
|
|
3787
|
+
"docs": {
|
|
3788
|
+
"stability": "experimental",
|
|
3789
|
+
"summary": "Gitlab Runner version Please give me gitlab runner version."
|
|
3790
|
+
},
|
|
3791
|
+
"immutable": true,
|
|
3792
|
+
"locationInModule": {
|
|
3793
|
+
"filename": "src/gitlab-runner-instance.ts",
|
|
3794
|
+
"line": 55
|
|
3795
|
+
},
|
|
3796
|
+
"name": "gitlabRunnerVersion",
|
|
3797
|
+
"type": {
|
|
3798
|
+
"primitive": "string"
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3782
3801
|
{
|
|
3783
3802
|
"abstract": true,
|
|
3784
3803
|
"docs": {
|
|
@@ -3790,7 +3809,7 @@
|
|
|
3790
3809
|
"immutable": true,
|
|
3791
3810
|
"locationInModule": {
|
|
3792
3811
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3793
|
-
"line":
|
|
3812
|
+
"line": 65
|
|
3794
3813
|
},
|
|
3795
3814
|
"name": "gitlabtoken",
|
|
3796
3815
|
"type": {
|
|
@@ -3808,7 +3827,7 @@
|
|
|
3808
3827
|
"immutable": true,
|
|
3809
3828
|
"locationInModule": {
|
|
3810
3829
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3811
|
-
"line":
|
|
3830
|
+
"line": 176
|
|
3812
3831
|
},
|
|
3813
3832
|
"name": "concurrentJobs",
|
|
3814
3833
|
"optional": true,
|
|
@@ -3828,7 +3847,7 @@
|
|
|
3828
3847
|
"immutable": true,
|
|
3829
3848
|
"locationInModule": {
|
|
3830
3849
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3831
|
-
"line":
|
|
3850
|
+
"line": 247
|
|
3832
3851
|
},
|
|
3833
3852
|
"name": "dockerVolumes",
|
|
3834
3853
|
"optional": true,
|
|
@@ -3852,7 +3871,7 @@
|
|
|
3852
3871
|
"immutable": true,
|
|
3853
3872
|
"locationInModule": {
|
|
3854
3873
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3855
|
-
"line":
|
|
3874
|
+
"line": 155
|
|
3856
3875
|
},
|
|
3857
3876
|
"name": "ebsSize",
|
|
3858
3877
|
"optional": true,
|
|
@@ -3871,7 +3890,7 @@
|
|
|
3871
3890
|
"immutable": true,
|
|
3872
3891
|
"locationInModule": {
|
|
3873
3892
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3874
|
-
"line":
|
|
3893
|
+
"line": 126
|
|
3875
3894
|
},
|
|
3876
3895
|
"name": "ec2iamrole",
|
|
3877
3896
|
"optional": true,
|
|
@@ -3890,7 +3909,7 @@
|
|
|
3890
3909
|
"immutable": true,
|
|
3891
3910
|
"locationInModule": {
|
|
3892
3911
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3893
|
-
"line":
|
|
3912
|
+
"line": 87
|
|
3894
3913
|
},
|
|
3895
3914
|
"name": "ec2type",
|
|
3896
3915
|
"optional": true,
|
|
@@ -3901,7 +3920,7 @@
|
|
|
3901
3920
|
{
|
|
3902
3921
|
"abstract": true,
|
|
3903
3922
|
"docs": {
|
|
3904
|
-
"default": "public.ecr.aws/gitlab/gitlab-runner:latest",
|
|
3923
|
+
"default": "public.ecr.aws/gitlab/gitlab-runner:latest !!! <--- latest now > 16.0 Gitlab Runner version",
|
|
3905
3924
|
"example": "new GitlabRunnerAutoscaling(stack, 'runner', { gitlabToken: 'GITLAB_TOKEN', gitlabRunnerImage: 'gitlab/gitlab-runner:alpine' });",
|
|
3906
3925
|
"stability": "experimental",
|
|
3907
3926
|
"summary": "Image URL of Gitlab Runner."
|
|
@@ -3909,7 +3928,7 @@
|
|
|
3909
3928
|
"immutable": true,
|
|
3910
3929
|
"locationInModule": {
|
|
3911
3930
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3912
|
-
"line":
|
|
3931
|
+
"line": 76
|
|
3913
3932
|
},
|
|
3914
3933
|
"name": "gitlabRunnerImage",
|
|
3915
3934
|
"optional": true,
|
|
@@ -3928,7 +3947,7 @@
|
|
|
3928
3947
|
"immutable": true,
|
|
3929
3948
|
"locationInModule": {
|
|
3930
3949
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3931
|
-
"line":
|
|
3950
|
+
"line": 144
|
|
3932
3951
|
},
|
|
3933
3952
|
"name": "gitlaburl",
|
|
3934
3953
|
"optional": true,
|
|
@@ -3946,7 +3965,7 @@
|
|
|
3946
3965
|
"immutable": true,
|
|
3947
3966
|
"locationInModule": {
|
|
3948
3967
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3949
|
-
"line":
|
|
3968
|
+
"line": 200
|
|
3950
3969
|
},
|
|
3951
3970
|
"name": "instanceInterruptionBehavior",
|
|
3952
3971
|
"optional": true,
|
|
@@ -3964,7 +3983,7 @@
|
|
|
3964
3983
|
"immutable": true,
|
|
3965
3984
|
"locationInModule": {
|
|
3966
3985
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3967
|
-
"line":
|
|
3986
|
+
"line": 193
|
|
3968
3987
|
},
|
|
3969
3988
|
"name": "keyName",
|
|
3970
3989
|
"optional": true,
|
|
@@ -3983,7 +4002,7 @@
|
|
|
3983
4002
|
"immutable": true,
|
|
3984
4003
|
"locationInModule": {
|
|
3985
4004
|
"filename": "src/gitlab-runner-instance.ts",
|
|
3986
|
-
"line":
|
|
4005
|
+
"line": 186
|
|
3987
4006
|
},
|
|
3988
4007
|
"name": "runnerDescription",
|
|
3989
4008
|
"optional": true,
|
|
@@ -4002,7 +4021,7 @@
|
|
|
4002
4021
|
"immutable": true,
|
|
4003
4022
|
"locationInModule": {
|
|
4004
4023
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4005
|
-
"line":
|
|
4024
|
+
"line": 109
|
|
4006
4025
|
},
|
|
4007
4026
|
"name": "selfvpc",
|
|
4008
4027
|
"optional": true,
|
|
@@ -4021,7 +4040,7 @@
|
|
|
4021
4040
|
"immutable": true,
|
|
4022
4041
|
"locationInModule": {
|
|
4023
4042
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4024
|
-
"line":
|
|
4043
|
+
"line": 166
|
|
4025
4044
|
},
|
|
4026
4045
|
"name": "spotFleet",
|
|
4027
4046
|
"optional": true,
|
|
@@ -4029,77 +4048,18 @@
|
|
|
4029
4048
|
"primitive": "boolean"
|
|
4030
4049
|
}
|
|
4031
4050
|
},
|
|
4032
|
-
{
|
|
4033
|
-
"abstract": true,
|
|
4034
|
-
"docs": {
|
|
4035
|
-
"default": "- tag1: gitlab .",
|
|
4036
|
-
"deprecated": "- use tags ['runner', 'gitlab', 'awscdk']",
|
|
4037
|
-
"example": "new GitlabContainerRunner(stack, 'runner', { gitlabtoken: 'GITLAB_TOKEN', tag1: 'aa' });",
|
|
4038
|
-
"stability": "deprecated",
|
|
4039
|
-
"summary": "Gitlab Runner register tag1 ."
|
|
4040
|
-
},
|
|
4041
|
-
"immutable": true,
|
|
4042
|
-
"locationInModule": {
|
|
4043
|
-
"filename": "src/gitlab-runner-instance.ts",
|
|
4044
|
-
"line": 131
|
|
4045
|
-
},
|
|
4046
|
-
"name": "tag1",
|
|
4047
|
-
"optional": true,
|
|
4048
|
-
"type": {
|
|
4049
|
-
"primitive": "string"
|
|
4050
|
-
}
|
|
4051
|
-
},
|
|
4052
|
-
{
|
|
4053
|
-
"abstract": true,
|
|
4054
|
-
"docs": {
|
|
4055
|
-
"default": "- tag2: awscdk .",
|
|
4056
|
-
"deprecated": "- use tags ['runner', 'gitlab', 'awscdk']",
|
|
4057
|
-
"example": "new GitlabContainerRunner(stack, 'runner', { gitlabtoken: 'GITLAB_TOKEN', tag2: 'bb' });",
|
|
4058
|
-
"stability": "deprecated",
|
|
4059
|
-
"summary": "Gitlab Runner register tag2 ."
|
|
4060
|
-
},
|
|
4061
|
-
"immutable": true,
|
|
4062
|
-
"locationInModule": {
|
|
4063
|
-
"filename": "src/gitlab-runner-instance.ts",
|
|
4064
|
-
"line": 144
|
|
4065
|
-
},
|
|
4066
|
-
"name": "tag2",
|
|
4067
|
-
"optional": true,
|
|
4068
|
-
"type": {
|
|
4069
|
-
"primitive": "string"
|
|
4070
|
-
}
|
|
4071
|
-
},
|
|
4072
|
-
{
|
|
4073
|
-
"abstract": true,
|
|
4074
|
-
"docs": {
|
|
4075
|
-
"default": "- tag3: runner .",
|
|
4076
|
-
"deprecated": "- use tags ['runner', 'gitlab', 'awscdk']",
|
|
4077
|
-
"example": "new GitlabContainerRunner(stack, 'runner', { gitlabtoken: 'GITLAB_TOKEN', tag3: 'cc' });",
|
|
4078
|
-
"stability": "deprecated",
|
|
4079
|
-
"summary": "Gitlab Runner register tag3 ."
|
|
4080
|
-
},
|
|
4081
|
-
"immutable": true,
|
|
4082
|
-
"locationInModule": {
|
|
4083
|
-
"filename": "src/gitlab-runner-instance.ts",
|
|
4084
|
-
"line": 157
|
|
4085
|
-
},
|
|
4086
|
-
"name": "tag3",
|
|
4087
|
-
"optional": true,
|
|
4088
|
-
"type": {
|
|
4089
|
-
"primitive": "string"
|
|
4090
|
-
}
|
|
4091
|
-
},
|
|
4092
4051
|
{
|
|
4093
4052
|
"abstract": true,
|
|
4094
4053
|
"docs": {
|
|
4095
4054
|
"default": "- ['runner', 'gitlab', 'awscdk']",
|
|
4055
|
+
"see": " - https://docs.gitlab.com/ee/ci/runners/new_creation_workflow.html",
|
|
4096
4056
|
"stability": "experimental",
|
|
4097
|
-
"summary": "tags for the runner."
|
|
4057
|
+
"summary": "tags for the runner Unsupported Gitlab Runner 15.10 and later."
|
|
4098
4058
|
},
|
|
4099
4059
|
"immutable": true,
|
|
4100
4060
|
"locationInModule": {
|
|
4101
4061
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4102
|
-
"line":
|
|
4062
|
+
"line": 133
|
|
4103
4063
|
},
|
|
4104
4064
|
"name": "tags",
|
|
4105
4065
|
"optional": true,
|
|
@@ -4122,7 +4082,7 @@
|
|
|
4122
4082
|
"immutable": true,
|
|
4123
4083
|
"locationInModule": {
|
|
4124
4084
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4125
|
-
"line":
|
|
4085
|
+
"line": 207
|
|
4126
4086
|
},
|
|
4127
4087
|
"name": "validUntil",
|
|
4128
4088
|
"optional": true,
|
|
@@ -4141,7 +4101,7 @@
|
|
|
4141
4101
|
"immutable": true,
|
|
4142
4102
|
"locationInModule": {
|
|
4143
4103
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4144
|
-
"line":
|
|
4104
|
+
"line": 230
|
|
4145
4105
|
},
|
|
4146
4106
|
"name": "vpcSubnet",
|
|
4147
4107
|
"optional": true,
|
|
@@ -4166,7 +4126,7 @@
|
|
|
4166
4126
|
},
|
|
4167
4127
|
"locationInModule": {
|
|
4168
4128
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4169
|
-
"line":
|
|
4129
|
+
"line": 249
|
|
4170
4130
|
},
|
|
4171
4131
|
"parameters": [
|
|
4172
4132
|
{
|
|
@@ -4192,7 +4152,7 @@
|
|
|
4192
4152
|
"kind": "class",
|
|
4193
4153
|
"locationInModule": {
|
|
4194
4154
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4195
|
-
"line":
|
|
4155
|
+
"line": 222
|
|
4196
4156
|
},
|
|
4197
4157
|
"methods": [
|
|
4198
4158
|
{
|
|
@@ -4202,7 +4162,7 @@
|
|
|
4202
4162
|
},
|
|
4203
4163
|
"locationInModule": {
|
|
4204
4164
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4205
|
-
"line":
|
|
4165
|
+
"line": 482
|
|
4206
4166
|
},
|
|
4207
4167
|
"name": "createUserData",
|
|
4208
4168
|
"parameters": [
|
|
@@ -4235,7 +4195,7 @@
|
|
|
4235
4195
|
"immutable": true,
|
|
4236
4196
|
"locationInModule": {
|
|
4237
4197
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4238
|
-
"line":
|
|
4198
|
+
"line": 231
|
|
4239
4199
|
},
|
|
4240
4200
|
"name": "autoscalingGroup",
|
|
4241
4201
|
"type": {
|
|
@@ -4250,7 +4210,7 @@
|
|
|
4250
4210
|
"immutable": true,
|
|
4251
4211
|
"locationInModule": {
|
|
4252
4212
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4253
|
-
"line":
|
|
4213
|
+
"line": 226
|
|
4254
4214
|
},
|
|
4255
4215
|
"name": "instanceRole",
|
|
4256
4216
|
"type": {
|
|
@@ -4265,7 +4225,7 @@
|
|
|
4265
4225
|
"immutable": true,
|
|
4266
4226
|
"locationInModule": {
|
|
4267
4227
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4268
|
-
"line":
|
|
4228
|
+
"line": 241
|
|
4269
4229
|
},
|
|
4270
4230
|
"name": "securityGroup",
|
|
4271
4231
|
"type": {
|
|
@@ -4280,7 +4240,7 @@
|
|
|
4280
4240
|
"immutable": true,
|
|
4281
4241
|
"locationInModule": {
|
|
4282
4242
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4283
|
-
"line":
|
|
4243
|
+
"line": 246
|
|
4284
4244
|
},
|
|
4285
4245
|
"name": "topicAlarm",
|
|
4286
4246
|
"type": {
|
|
@@ -4295,7 +4255,7 @@
|
|
|
4295
4255
|
"immutable": true,
|
|
4296
4256
|
"locationInModule": {
|
|
4297
4257
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4298
|
-
"line":
|
|
4258
|
+
"line": 236
|
|
4299
4259
|
},
|
|
4300
4260
|
"name": "vpc",
|
|
4301
4261
|
"type": {
|
|
@@ -4316,10 +4276,26 @@
|
|
|
4316
4276
|
"kind": "interface",
|
|
4317
4277
|
"locationInModule": {
|
|
4318
4278
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4319
|
-
"line":
|
|
4279
|
+
"line": 21
|
|
4320
4280
|
},
|
|
4321
4281
|
"name": "GitlabRunnerAutoscalingProps",
|
|
4322
4282
|
"properties": [
|
|
4283
|
+
{
|
|
4284
|
+
"abstract": true,
|
|
4285
|
+
"docs": {
|
|
4286
|
+
"stability": "experimental",
|
|
4287
|
+
"summary": "Gitlab Runner version Please give me gitlab runner version."
|
|
4288
|
+
},
|
|
4289
|
+
"immutable": true,
|
|
4290
|
+
"locationInModule": {
|
|
4291
|
+
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4292
|
+
"line": 26
|
|
4293
|
+
},
|
|
4294
|
+
"name": "gitlabRunnerVersion",
|
|
4295
|
+
"type": {
|
|
4296
|
+
"primitive": "string"
|
|
4297
|
+
}
|
|
4298
|
+
},
|
|
4323
4299
|
{
|
|
4324
4300
|
"abstract": true,
|
|
4325
4301
|
"docs": {
|
|
@@ -4330,7 +4306,7 @@
|
|
|
4330
4306
|
"immutable": true,
|
|
4331
4307
|
"locationInModule": {
|
|
4332
4308
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4333
|
-
"line":
|
|
4309
|
+
"line": 33
|
|
4334
4310
|
},
|
|
4335
4311
|
"name": "gitlabToken",
|
|
4336
4312
|
"type": {
|
|
@@ -4348,7 +4324,7 @@
|
|
|
4348
4324
|
"immutable": true,
|
|
4349
4325
|
"locationInModule": {
|
|
4350
4326
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4351
|
-
"line":
|
|
4327
|
+
"line": 216
|
|
4352
4328
|
},
|
|
4353
4329
|
"name": "alarms",
|
|
4354
4330
|
"optional": true,
|
|
@@ -4372,7 +4348,7 @@
|
|
|
4372
4348
|
"immutable": true,
|
|
4373
4349
|
"locationInModule": {
|
|
4374
4350
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4375
|
-
"line":
|
|
4351
|
+
"line": 134
|
|
4376
4352
|
},
|
|
4377
4353
|
"name": "desiredCapacity",
|
|
4378
4354
|
"optional": true,
|
|
@@ -4392,7 +4368,7 @@
|
|
|
4392
4368
|
"immutable": true,
|
|
4393
4369
|
"locationInModule": {
|
|
4394
4370
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4395
|
-
"line":
|
|
4371
|
+
"line": 203
|
|
4396
4372
|
},
|
|
4397
4373
|
"name": "dockerVolumes",
|
|
4398
4374
|
"optional": true,
|
|
@@ -4416,7 +4392,7 @@
|
|
|
4416
4392
|
"immutable": true,
|
|
4417
4393
|
"locationInModule": {
|
|
4418
4394
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4419
|
-
"line":
|
|
4395
|
+
"line": 163
|
|
4420
4396
|
},
|
|
4421
4397
|
"name": "ebsSize",
|
|
4422
4398
|
"optional": true,
|
|
@@ -4435,7 +4411,7 @@
|
|
|
4435
4411
|
"immutable": true,
|
|
4436
4412
|
"locationInModule": {
|
|
4437
4413
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4438
|
-
"line":
|
|
4414
|
+
"line": 44
|
|
4439
4415
|
},
|
|
4440
4416
|
"name": "gitlabRunnerImage",
|
|
4441
4417
|
"optional": true,
|
|
@@ -4454,7 +4430,7 @@
|
|
|
4454
4430
|
"immutable": true,
|
|
4455
4431
|
"locationInModule": {
|
|
4456
4432
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4457
|
-
"line":
|
|
4433
|
+
"line": 152
|
|
4458
4434
|
},
|
|
4459
4435
|
"name": "gitlabUrl",
|
|
4460
4436
|
"optional": true,
|
|
@@ -4473,7 +4449,7 @@
|
|
|
4473
4449
|
"immutable": true,
|
|
4474
4450
|
"locationInModule": {
|
|
4475
4451
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4476
|
-
"line":
|
|
4452
|
+
"line": 94
|
|
4477
4453
|
},
|
|
4478
4454
|
"name": "instanceRole",
|
|
4479
4455
|
"optional": true,
|
|
@@ -4492,7 +4468,7 @@
|
|
|
4492
4468
|
"immutable": true,
|
|
4493
4469
|
"locationInModule": {
|
|
4494
4470
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4495
|
-
"line":
|
|
4471
|
+
"line": 55
|
|
4496
4472
|
},
|
|
4497
4473
|
"name": "instanceType",
|
|
4498
4474
|
"optional": true,
|
|
@@ -4511,7 +4487,7 @@
|
|
|
4511
4487
|
"immutable": true,
|
|
4512
4488
|
"locationInModule": {
|
|
4513
4489
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4514
|
-
"line":
|
|
4490
|
+
"line": 123
|
|
4515
4491
|
},
|
|
4516
4492
|
"name": "maxCapacity",
|
|
4517
4493
|
"optional": true,
|
|
@@ -4530,7 +4506,7 @@
|
|
|
4530
4506
|
"immutable": true,
|
|
4531
4507
|
"locationInModule": {
|
|
4532
4508
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4533
|
-
"line":
|
|
4509
|
+
"line": 112
|
|
4534
4510
|
},
|
|
4535
4511
|
"name": "minCapacity",
|
|
4536
4512
|
"optional": true,
|
|
@@ -4548,7 +4524,7 @@
|
|
|
4548
4524
|
"immutable": true,
|
|
4549
4525
|
"locationInModule": {
|
|
4550
4526
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4551
|
-
"line":
|
|
4527
|
+
"line": 101
|
|
4552
4528
|
},
|
|
4553
4529
|
"name": "spotInstance",
|
|
4554
4530
|
"optional": true,
|
|
@@ -4566,7 +4542,7 @@
|
|
|
4566
4542
|
"immutable": true,
|
|
4567
4543
|
"locationInModule": {
|
|
4568
4544
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4569
|
-
"line":
|
|
4545
|
+
"line": 141
|
|
4570
4546
|
},
|
|
4571
4547
|
"name": "tags",
|
|
4572
4548
|
"optional": true,
|
|
@@ -4590,7 +4566,7 @@
|
|
|
4590
4566
|
"immutable": true,
|
|
4591
4567
|
"locationInModule": {
|
|
4592
4568
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4593
|
-
"line":
|
|
4569
|
+
"line": 77
|
|
4594
4570
|
},
|
|
4595
4571
|
"name": "vpc",
|
|
4596
4572
|
"optional": true,
|
|
@@ -4609,7 +4585,7 @@
|
|
|
4609
4585
|
"immutable": true,
|
|
4610
4586
|
"locationInModule": {
|
|
4611
4587
|
"filename": "src/gitlab-runner-autoscaling.ts",
|
|
4612
|
-
"line":
|
|
4588
|
+
"line": 186
|
|
4613
4589
|
},
|
|
4614
4590
|
"name": "vpcSubnet",
|
|
4615
4591
|
"optional": true,
|
|
@@ -4630,7 +4606,7 @@
|
|
|
4630
4606
|
"kind": "enum",
|
|
4631
4607
|
"locationInModule": {
|
|
4632
4608
|
"filename": "src/gitlab-runner-instance.ts",
|
|
4633
|
-
"line":
|
|
4609
|
+
"line": 253
|
|
4634
4610
|
},
|
|
4635
4611
|
"members": [
|
|
4636
4612
|
{
|
|
@@ -4659,6 +4635,6 @@
|
|
|
4659
4635
|
"symbolId": "src/gitlab-runner-instance:InstanceInterruptionBehavior"
|
|
4660
4636
|
}
|
|
4661
4637
|
},
|
|
4662
|
-
"version": "2.1
|
|
4663
|
-
"fingerprint": "
|
|
4638
|
+
"version": "2.2.1",
|
|
4639
|
+
"fingerprint": "3p6uEN4TRlXbjK+opiRPx0+pc+nzvulFw1+OkKSu6qQ="
|
|
4664
4640
|
}
|