Skip to content

Commit 6b6c674

Browse files
authored
Merge pull request #1422 from philips-labs/develop
release
2 parents c038a7e + 499b1a6 commit 6b6c674

File tree

15 files changed

+163
-155
lines changed

15 files changed

+163
-155
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191

9292
steps:
9393
- name: Generate provenance for release
94-
uses: philips-labs/slsa-provenance-action@v0.2.2
94+
uses: philips-labs/slsa-provenance-action@v0.4.0
9595
with:
9696
artifact_path: release-assets
9797
output_path: 'build.provenance'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ In case the setup does not work as intended follow the trace of events:
417417
| <a name="input_runners_scale_down_lambda_timeout"></a> [runners\_scale\_down\_lambda\_timeout](#input\_runners\_scale\_down\_lambda\_timeout) | Time out for the scale down lambda in seconds. | `number` | `60` | no |
418418
| <a name="input_runners_scale_up_lambda_timeout"></a> [runners\_scale\_up\_lambda\_timeout](#input\_runners\_scale\_up\_lambda\_timeout) | Time out for the scale up lambda in seconds. | `number` | `180` | no |
419419
| <a name="input_scale_down_schedule_expression"></a> [scale\_down\_schedule\_expression](#input\_scale\_down\_schedule\_expression) | Scheduler expression to check every x for scale down. | `string` | `"cron(*/5 * * * ? *)"` | no |
420+
| <a name="input_scale_up_reserved_concurrent_executions"></a> [scale\_up\_reserved\_concurrent\_executions](#input\_scale\_up\_reserved\_concurrent\_executions) | Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | `number` | `1` | no |
420421
| <a name="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids) | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. | `list(string)` | n/a | yes |
421422
| <a name="input_syncer_lambda_s3_key"></a> [syncer\_lambda\_s3\_key](#input\_syncer\_lambda\_s3\_key) | S3 key for syncer lambda function. Required if using S3 bucket to specify lambdas. | `any` | `null` | no |
422423
| <a name="input_syncer_lambda_s3_object_version"></a> [syncer\_lambda\_s3\_object\_version](#input\_syncer\_lambda\_s3\_object\_version) | S3 object version for syncer lambda function. Useful if S3 versioning is enabled on source bucket. | `any` | `null` | no |

examples/default/variables.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
variable "github_app_key_base64" {}
33

44
variable "github_app_id" {}
5-
6-
variable "github_app_client_id" {}
7-
8-
variable "github_app_client_secret" {}

examples/ubuntu/variables.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
variable "github_app_key_base64" {}
33

44
variable "github_app_id" {}
5-
6-
variable "github_app_client_id" {}
7-
8-
variable "github_app_client_secret" {}

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ module "runners" {
119119
runner_log_files = var.runner_log_files
120120
runner_group_name = var.runner_group_name
121121

122+
scale_up_reserved_concurrent_executions = var.scale_up_reserved_concurrent_executions
123+
122124
instance_profile_path = var.instance_profile_path
123125
role_path = var.role_path
124126
role_permissions_boundary = var.role_permissions_boundary

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"devDependencies": {
1818
"@octokit/rest": "^18.12.0",
1919
"@types/jest": "^27.0.1",
20-
"@types/node": "^16.11.6",
20+
"@types/node": "^16.11.7",
2121
"@types/request": "^2.48.4",
2222
"@typescript-eslint/eslint-plugin": "^4.33.0",
2323
"@typescript-eslint/parser": "^4.33.0",
2424
"@vercel/ncc": "^0.31.1",
25-
"aws-sdk": "^2.1023.0",
25+
"aws-sdk": "^2.1031.0",
2626
"eslint": "^7.32.0",
2727
"eslint-plugin-prettier": "4.0.0",
2828
"jest": "^27.3.1",

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,10 @@
769769
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
770770
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
771771

772-
"@types/node@*", "@types/node@^16.11.6":
773-
version "16.11.6"
774-
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.6.tgz#6bef7a2a0ad684cf6e90fcfe31cecabd9ce0a3ae"
775-
integrity sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==
772+
"@types/node@*", "@types/node@^16.11.7":
773+
version "16.11.7"
774+
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.7.tgz#36820945061326978c42a01e56b61cd223dfdc42"
775+
integrity sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==
776776

777777
"@types/prettier@^2.1.5":
778778
version "2.4.1"
@@ -1027,10 +1027,10 @@ asynckit@^0.4.0:
10271027
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
10281028
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
10291029

1030-
aws-sdk@^2.1023.0:
1031-
version "2.1023.0"
1032-
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1023.0.tgz#0de16e4e8878ccec4fcd0146322dcf94fdbe09ba"
1033-
integrity sha512-RAI8sUfK+00yL9i3xz5kbM3+t/0mjjnKhKyauXAlJN4seDYtIX5+BqMghpkZwvLBdi6idXIuz+FHWETHZccyuA==
1030+
aws-sdk@^2.1031.0:
1031+
version "2.1031.0"
1032+
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1031.0.tgz#1556a46907f13d25afd6c5e7af01f9185be3d272"
1033+
integrity sha512-XXrQG7l9WMYSg4fZNZctrgPjpTb6HPk1DaM2vXfhMHaNl8TyHjyeMkvU+CC0ctlPqgoCMLrGWI4Zxnq8yrsnXA==
10341034
dependencies:
10351035
buffer "4.9.2"
10361036
events "1.1.1"

modules/runners/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ No modules.
156156
| <a name="input_s3_bucket_runner_binaries"></a> [s3\_bucket\_runner\_binaries](#input\_s3\_bucket\_runner\_binaries) | n/a | <pre>object({<br> arn = string<br> })</pre> | n/a | yes |
157157
| <a name="input_s3_location_runner_binaries"></a> [s3\_location\_runner\_binaries](#input\_s3\_location\_runner\_binaries) | S3 location of runner distribution. | `string` | n/a | yes |
158158
| <a name="input_scale_down_schedule_expression"></a> [scale\_down\_schedule\_expression](#input\_scale\_down\_schedule\_expression) | Scheduler expression to check every x for scale down. | `string` | `"cron(*/5 * * * ? *)"` | no |
159+
| <a name="input_scale_up_reserved_concurrent_executions"></a> [scale\_up\_reserved\_concurrent\_executions](#input\_scale\_up\_reserved\_concurrent\_executions) | Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | `number` | `1` | no |
159160
| <a name="input_sqs_build_queue"></a> [sqs\_build\_queue](#input\_sqs\_build\_queue) | SQS queue to consume accepted build events. | <pre>object({<br> arn = string<br> })</pre> | n/a | yes |
160161
| <a name="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids) | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. | `list(string)` | n/a | yes |
161162
| <a name="input_tags"></a> [tags](#input\_tags) | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. | `map(string)` | `{}` | no |

modules/runners/lambdas/runners/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,29 @@
2121
"@types/jest": "^27.0.1",
2222
"@typescript-eslint/eslint-plugin": "^4.33.0",
2323
"@typescript-eslint/parser": "^4.33.0",
24-
"@vercel/ncc": "^0.31.1",
24+
"@vercel/ncc": "^0.32.0",
2525
"eslint": "^7.32.0",
2626
"eslint-plugin-prettier": "4.0.0",
2727
"jest": "27.3.1",
2828
"jest-mock-extended": "^2.0.1",
29-
"moment-timezone": "^0.5.33",
30-
"nock": "^13.2.0",
29+
"moment-timezone": "^0.5.34",
30+
"nock": "^13.2.1",
3131
"prettier": "2.4.1",
3232
"ts-jest": "^27.0.7",
3333
"ts-node": "^10.4.0",
3434
"ts-node-dev": "^1.1.6"
3535
},
3636
"dependencies": {
37-
"@aws-sdk/client-ssm": "^3.40.0",
37+
"@aws-sdk/client-ssm": "^3.41.0",
3838
"@octokit/auth-app": "3.6.0",
3939
"@octokit/rest": "^18.12.0",
4040
"@octokit/types": "^6.34.0",
4141
"@types/aws-lambda": "^8.10.85",
4242
"@types/express": "^4.17.11",
43-
"@types/node": "^16.11.6",
44-
"aws-sdk": "^2.1024.0",
43+
"@types/node": "^16.11.7",
44+
"aws-sdk": "^2.1031.0",
4545
"cron-parser": "^4.1.0",
4646
"tslog": "^3.2.2",
47-
"typescript": "^4.4.4"
47+
"typescript": "^4.5.2"
4848
}
4949
}

0 commit comments

Comments
 (0)