Skip to content

release #1422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 18, 2021
Merged

release #1422

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
fe65a5f
fix: clean up non used variables in examples (#1416)
npalm Nov 18, 2021
23ee630
feat: Add option to configure concurrent running scale up lambda (#1415)
heathsnow Nov 18, 2021
c5e260b
chore: Bump aws-sdk in /modules/webhook/lambdas/webhook (#1414)
dependabot[bot] Nov 18, 2021
dcedf9e
chore: Bump philips-labs/slsa-provenance-action from 0.2.2 to 0.4.0 (…
dependabot[bot] Nov 18, 2021
5df6c4b
chore: Bump @types/node in /modules/runners/lambdas/runners (#1413)
dependabot[bot] Nov 18, 2021
825c927
chore: Bump nock in /modules/runners/lambdas/runners (#1405)
dependabot[bot] Nov 18, 2021
884e720
chore: Bump aws-sdk (#1417)
dependabot[bot] Nov 18, 2021
bd20a8d
chore: Bump typescript in /modules/runners/lambdas/runners (#1419)
dependabot[bot] Nov 18, 2021
8863efb
chore: Bump @aws-sdk/client-ssm in /modules/webhook/lambdas/webhook (…
dependabot[bot] Nov 18, 2021
34ce7c0
chore: Bump @types/node in /modules/webhook/lambdas/webhook (#1412)
dependabot[bot] Nov 18, 2021
46df53d
chore: Bump nock in /modules/webhook/lambdas/webhook (#1410)
dependabot[bot] Nov 18, 2021
ec1e4c0
chore: Bump @vercel/ncc in /modules/runners/lambdas/runners (#1421)
dependabot[bot] Nov 18, 2021
406aa52
chore: Bump @aws-sdk/client-ssm in /modules/runners/lambdas/runners (…
dependabot[bot] Nov 18, 2021
f11a813
chore: Bump @types/node (#1409)
dependabot[bot] Nov 18, 2021
071e574
chore: Bump moment-timezone in /modules/runners/lambdas/runners (#1420)
dependabot[bot] Nov 18, 2021
499b1a6
chore: Bump aws-sdk in /modules/runners/lambdas/runners (#1418)
dependabot[bot] Nov 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

steps:
- name: Generate provenance for release
uses: philips-labs/slsa-provenance-action@v0.2.2
uses: philips-labs/slsa-provenance-action@v0.4.0
with:
artifact_path: release-assets
output_path: 'build.provenance'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ In case the setup does not work as intended follow the trace of events:
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
Expand Down
4 changes: 0 additions & 4 deletions examples/default/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
variable "github_app_key_base64" {}

variable "github_app_id" {}

variable "github_app_client_id" {}

variable "github_app_client_secret" {}
4 changes: 0 additions & 4 deletions examples/ubuntu/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
variable "github_app_key_base64" {}

variable "github_app_id" {}

variable "github_app_client_id" {}

variable "github_app_client_secret" {}
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ module "runners" {
runner_log_files = var.runner_log_files
runner_group_name = var.runner_group_name

scale_up_reserved_concurrent_executions = var.scale_up_reserved_concurrent_executions

instance_profile_path = var.instance_profile_path
role_path = var.role_path
role_permissions_boundary = var.role_permissions_boundary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"devDependencies": {
"@octokit/rest": "^18.12.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.11.6",
"@types/node": "^16.11.7",
"@types/request": "^2.48.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vercel/ncc": "^0.31.1",
"aws-sdk": "^2.1023.0",
"aws-sdk": "^2.1031.0",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "^27.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,10 @@
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==

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

"@types/prettier@^2.1.5":
version "2.4.1"
Expand Down Expand Up @@ -1027,10 +1027,10 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=

aws-sdk@^2.1023.0:
version "2.1023.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1023.0.tgz#0de16e4e8878ccec4fcd0146322dcf94fdbe09ba"
integrity sha512-RAI8sUfK+00yL9i3xz5kbM3+t/0mjjnKhKyauXAlJN4seDYtIX5+BqMghpkZwvLBdi6idXIuz+FHWETHZccyuA==
aws-sdk@^2.1031.0:
version "2.1031.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1031.0.tgz#1556a46907f13d25afd6c5e7af01f9185be3d272"
integrity sha512-XXrQG7l9WMYSg4fZNZctrgPjpTb6HPk1DaM2vXfhMHaNl8TyHjyeMkvU+CC0ctlPqgoCMLrGWI4Zxnq8yrsnXA==
dependencies:
buffer "4.9.2"
events "1.1.1"
Expand Down
1 change: 1 addition & 0 deletions modules/runners/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ No modules.
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
Expand Down
14 changes: 7 additions & 7 deletions modules/runners/lambdas/runners/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,29 @@
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vercel/ncc": "^0.31.1",
"@vercel/ncc": "^0.32.0",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "27.3.1",
"jest-mock-extended": "^2.0.1",
"moment-timezone": "^0.5.33",
"nock": "^13.2.0",
"moment-timezone": "^0.5.34",
"nock": "^13.2.1",
"prettier": "2.4.1",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.6"
},
"dependencies": {
"@aws-sdk/client-ssm": "^3.40.0",
"@aws-sdk/client-ssm": "^3.41.0",
"@octokit/auth-app": "3.6.0",
"@octokit/rest": "^18.12.0",
"@octokit/types": "^6.34.0",
"@types/aws-lambda": "^8.10.85",
"@types/express": "^4.17.11",
"@types/node": "^16.11.6",
"aws-sdk": "^2.1024.0",
"@types/node": "^16.11.7",
"aws-sdk": "^2.1031.0",
"cron-parser": "^4.1.0",
"tslog": "^3.2.2",
"typescript": "^4.4.4"
"typescript": "^4.5.2"
}
}
Loading