Skip to content

Latest commit

 

History

History
928 lines (505 loc) · 94.7 KB

CHANGELOG.md

File metadata and controls

928 lines (505 loc) · 94.7 KB

Changelog

1.0.0-develop.1 (2022-11-02)

⚠ BREAKING CHANGES

  • var.volume_size replaced by var.block_device_mappings
  • The module is upgraded to AWS Terraform provider 4.x

Features

Bug Fixes

  • added server_side_encryption key to download trigger for distribution (#2207) (404e3b6)
  • Autoupdate should be disabled by default (#1797) (828bed6)
  • Avoid non semantic commontes can be merged. (#1969) (ad1c872)
  • Create SQS DLQ policy only if DLQ is created (#1839) (c88a005)
  • don't apply extra labels unless defined (#2181) (c0b11bb)
  • Don't delete busy runners (#1832) (0e9b083)
  • examples: Update AMI filter (#1673) (39c019c)
  • examples: Upgrading ubuntu example to 22.04 (#2250) (d4b7650), closes #2103
  • Ignore case for runner labels. (#2315) (014985a)
  • images: avoid wrong AMI could be selected for ubuntu focal (#2214) (76be94b)
  • Incorrect path of Runner logs (#2233) (98eff98)
  • Limit AWS Terraform Provider to 3.* (#1741) (0cf2b5d)
  • Outputs for pool need to account for complexity (#1970) (2d92906)
  • Preventing that lambda webhook fails when it tries to process an installation_repositories event (#2288) (8656c83)
  • Remove asterik in permission for runner lambda to describe instances (9b9da03)
  • Remove resource group from module (#2512) (2628352)
  • replaced old environment variable (#2146) (f2072f7)
  • replacing deprecated set-output in workflow (#2564) (aa0afdd)
  • Retention days was used instead of kms key id for pool (#1855) (aa29d93)
  • runner: Cannot disable cloudwatch agent (#1738) (0f798ca)
  • runner: Don't treat the string "false" as true. (#2051) (b67c7dc)
  • runners: Fetch instance environment tag though metadata (#2346) (27db290)
  • runners: Pass allocation strategy (#2345) (68d3445)
  • runners: Set the default Windows AMI to Server 2022 (#2325) (78e99d1)
  • set explicit permissions on s3 for syncer lambda (#2145) (aa7edd1)
  • set kms key on aws_s3_object when encryption is enabled (#2147) (b4dc706)
  • Set the minimal AWS provider to 3.50 (#1937) (16095d8)
  • syncer: Fix for windows binaries in action runner syncer (#1716) (63e0e27)
  • Update ubuntu example to fix /opt/hostedtoolcache (#2302) (8eea748)
  • Upgrade Amazon base AMI to Amazon Linux 2 kernel 5x (#1812) (9aa5532)
  • Volume size is ingored (#2014) (b733248), closes #1954
  • Webhook lambda misleading log (#2291) (c6275f9)
  • webhook: Use x-hub-signature-256 header as default (#2434) (9c3e495)
  • Wrong block device mapping (#2019) (185ef20)
  • Wrong block device mapping (#2019) (c42a467)

1.13.0 (2022-10-14)

Features

  • Experimental feature - Duplicate workflow job event to extra queue (#2268) (985e722)

1.12.0 (2022-10-12)

Features

Bug Fixes

1.11.0 (2022-10-06)

Features

  • Support s3 bucket logging for distribution cache bucket (#2430) (69578e0)

1.10.0 (2022-09-24)

Features

  • Download runner release via latest release API (#2455) (e75e092)

1.9.1 (2022-09-18)

Bug Fixes

  • webhook: Use x-hub-signature-256 header as default (#2434) (9c3e495)

1.9.0 (2022-09-16)

Features

  • Add option to enable access log for API gateway (#2387) (fcd9fba)
  • add s3_location_runner_distribution var as expandable for userdata (#2371) (05fe737)
  • Encrypted data at REST on SQS by default (#2431) (7f3f4bf)
  • images: Allow passing instance type when building windows image (#2369) (eca23bf)

Bug Fixes

  • runners: Fetch instance environment tag though metadata (#2346) (27db290)
  • runners: Set the default Windows AMI to Server 2022 (#2325) (78e99d1)

1.8.1 (2022-08-17)

Bug Fixes

1.8.0 (2022-08-15)

Features

  • Add option to disable lambda to sync runner binaries (#2314) (9f7d32d)

Bug Fixes

1.7.0 (2022-08-04)

Features

  • Webhook accept jobs where not all labels are provided in job. (#2209) (6d9116f)

Bug Fixes

1.6.0 (2022-08-03)

Features

Bug Fixes

  • Incorrect path of Runner logs (#2233) (98eff98)
  • Preventing that lambda webhook fails when it tries to process an installation_repositories event (#2288) (8656c83)
  • Update ubuntu example to fix /opt/hostedtoolcache (#2302) (8eea748)
  • Webhook lambda misleading log (#2291) (c6275f9)

1.5.0 (2022-07-08)

Features

  • Add ubuntu-jammy example image based on existing ubuntu-focal (#2102) (486ae91)

Bug Fixes

  • images: avoid wrong AMI could be selected for ubuntu focal (#2214) (76be94b)

1.4.1 (2022-06-30)

Bug Fixes

  • added server_side_encryption key to download trigger for distribution (#2207) (404e3b6)

1.4.0 (2022-06-23)

Features

Bug Fixes

  • don't apply extra labels unless defined (#2181) (c0b11bb)
  • Remove asterik in permission for runner lambda to describe instances (9b9da03)

1.3.0 (2022-06-14)

Features

Bug Fixes

  • replaced old environment variable (#2146) (f2072f7)
  • set explicit permissions on s3 for syncer lambda (#2145) (aa7edd1)
  • set kms key on aws_s3_object when encryption is enabled (#2147) (b4dc706)

1.2.0 (2022-05-20)

Features

1.1.1 (2022-05-17)

Bug Fixes

  • runner: Don't treat the string "false" as true. (#2051) (b67c7dc)

1.1.0 (2022-05-10)

Features

  • Add option to enable detailed monitoring for runner launch template (#2024) (e73a267)

1.0.0 (2022-05-09)

⚠ BREAKING CHANGES

  • var.volume_size replaced by var.block_device_mappings
  • The module is upgraded to AWS Terraform provider 4.x

Features

  • Improve syncer s3 kms encryption (38ed5be)
  • Remove var.volume_size in favour of var.block_device_mappings (4e97048)
  • Support AWS 4.x Terraform provider (#1739) (cfb6da2)

Bug Fixes

0.40.4 (2022-05-06)

Bug Fixes

0.40.3 (2022-05-05)

Bug Fixes

0.40.2 (2022-04-25)

Bug Fixes

  • Outputs for pool need to account for complexity (#1970) (2d92906)

0.40.1 (2022-04-25)

Bug Fixes

  • Avoid non semantic commontes can be merged. (#1969) (ad1c872)

0.40.0 (2022-04-13)

Features

  • Support multi runner process support for runner scale down. (#1859) (3658d6a)

Bug Fixes

0.39.0 (2022-03-25)

Features

Bug Fixes

0.38.0 (2022-03-21)

Features

  • Add option for ephemeral to check builds status before scaling (#1854) (7eb0bda)

Bug Fixes

  • Retention days was used instead of kms key id for pool (#1855) (aa29d93)

0.37.0 (2022-03-10)

Features

Bug Fixes

  • Autoupdate should be disabled by default (#1797) (828bed6)
  • Create SQS DLQ policy only if DLQ is created (#1839) (c88a005)
  • Upgrade Amazon base AMI to Amazon Linux 2 kernel 5x (#1812) (9aa5532)

0.36.0 (2022-02-25)

Features

  • runner: Add option to disable auto update (#1791) (c2a834f)

0.35.0 (2022-02-18)

Features

  • Parameterise delete_on_termination (#1758) (6282351), closes #1745
  • runner: Ability to disable default runner security group creation (#1718) (94779f8)

0.34.2 (2022-02-11)

Bug Fixes

0.34.1 (2022-02-10)

Bug Fixes

  • syncer: Fix for windows binaries in action runner syncer (#1716) (63e0e27)

0.34.0 (2022-02-05)

Features

  • Add output image id used in launch template (#1676) (a49fab4)

0.33.0 (2022-01-28)

Features

  • images: Added ubuntu-focual example packer configuration (#1644) (997b171)

Bug Fixes

0.32.0 (2022-01-19)

Features

  • runner: Replace patch by install ICU package for ARM runners (#1624) (74cfa51)

Bug Fixes

  • images: use new runner install location (#1628) (36c1bf5)
  • packer: Add missing RUNNER_ARCHITECTURE for amazn-linux2 (#1647) (ec497a2)

0.31.0 (2022-01-14)

Features

Bug Fixes

  • webhook: depcrated warning on ts-jest mocked (#1615) (56c1ece)

0.30.1 (2022-01-13)

Bug Fixes

  • runnrs: Pool runners to allow multiple pool_config objects (#1621) (c9c7c69)

0.30.0 (2022-01-12)

Features

  • Add scheduled / pull based scaling for org level runners (#1577) (8197432)

0.29.0 (2022-01-11)

Features

  • Strict label check and replace disable_check_wokflow_job_labels by opt in enable_workflow_job_labels_check (#1591) (405b11d)

0.28.0 (2022-01-06)

Features

Bug Fixes

0.27.2 (2021-12-22)

Bug Fixes

0.27.1 (2021-12-21)

Bug Fixes

  • add --preserve-env to start-runner.sh to enable RUNNER_ALLOW_RUNASROOT (#1537) (1cd9cd3)
  • remove export from install script. (#1538) (d32ca1b)

0.27.0 (2021-12-16)

Features

0.26.1 (2021-12-08)

Bug Fixes

0.26.0 (2021-12-03)

Features

  • Add hooks for prebuilt images (AMI), including amazon linux packer example (#1444) (060daac)

Bug Fixes

  • add runners binaries bucket as terraform output (5809fee)

0.25.2 (2021-12-01)

Bug Fixes

0.25.1 (2021-11-18)

Bug Fixes

0.25.0 (2021-11-18)

Features

  • Add option to configure concurrent running scale up lambda (#1415) (23ee630)

Bug Fixes

0.24.0 (2021-11-09)

Features

Bug Fixes

  • update return codes, no error code for job that are ignored (#1381) (f9f705f)

0.23.1 (2021-11-04)

Bug Fixes

  • configurable metadata options for runners (#1377) (f37df23)

0.23.0 (2021-11-04)

Features

  • add option to format logging in JSON for lambdas (#1228) (a250b96)
  • add option to specify SSE config for dist bucket (#1324) (ae84302)

Bug Fixes

0.22.0 (2021-11-01)

Features

Bug Fixes

  • add validation to distribution_bucket_name variable (#1356) (6522317)

0.21.1 (2021-10-21)

Bug Fixes

  • logging: Adjusting scale logging messages and levels (#1286) (665e1a6)
  • logging: Adjusting webhook logs and levels (#1287) (9df5fb8)
  • Update launch template to use metadata service v2 (#1278) (ef16287)

0.21.0 (2021-10-11)

Features

  • Ignore github managed labels and add check disable option (#1244) (859fa38)
  • remove unused app client since SSH key is used to secure app authorization (#1223) (4cb5cf1)
  • upgrade Terraform version of module 1.0.x (#1254) (2a817dc)

0.20.1 (2021-10-07)

Bug Fixes

  • Upgrade lambda runtime to node 14.x (#1203) (570949a)
  • webhook: remove node fetch (ca14ac5)
  • webhook: replace node-fetch by axios #1247 (80fff4b)
  • added more detailed logging for scaling up and down (#1222) (9aa7456)

0.20.0 (2021-10-01)

Features

  • Add option to disable SSL verification support for GitHub Enterprise Server (#1216) (3c3ef19), closes #1207

0.19.1 (2021-09-30)

Bug Fixes

  • instance_types from a Set to a List, so instance order preference is preserved (#1154) (150d227)

0.19.0 (2021-09-30)

Features

Bug Fixes

0.18.1 (2021-08-26)

Bug Fixes

0.18.0 (2021-08-19)

Features

Bug Fixes

  • replace depcrated 'request' dependency by 'node-fetch' (#903) (#1082) (fb51756)

0.17.0 (2021-08-06)

Features

  • Adding support for new workflow_job event. (#1019) (a74e10b)

0.16.0 (2021-08-05)

Features

Bug Fixes

  • change module exports and upgrade vercel to latest release (#1005) (f8f8981)
  • reduce permission required for session manager (#1018) (09476eb)

0.15.1 (2021-07-13)

Bug Fixes

  • apply patch for broken scale up lambda #980 (b957e26)

0.15.0 (2021-07-07)

Features

  • Added support for white listing of repositories (#915) (b1f451a)

0.14.0 (2021-06-17)

Features

Bug Fixes

0.13.1 (2021-06-01)

Bug Fixes

  • .gitignore for 'secrets.auto.tfvars' (38d7df0)
  • Add some essential dependecies on ubuntu example (0079d16)
  • fail to download wrong tag of lambda (#840) (1112ca8)
  • increase runner sync lambda memory setting and upgrade npm dependencies (#844) (b9e36e9)
  • revert dependency updates on runner module (#784) (76cdbe3)
  • ubuntu example runner_log_files variable (5b3fc5b)
  • ubuntu example to log syslog instead of messages (#785) (fb3e5d2)
  • Update ubuntu example with assume_role comment (2478daf)
  • upgrade runner module to support upgrade octokit auth-app (#786) (e110318)
  • docs: fix variable name create_service_linked_role_spot in readme (#750) (42b0427), closes #736

0.13.0 (2021-03-28)

Features

  • Allow setting the market_options runners module to disable spot instances (#657) (7487643)

0.12.0 (2021-03-09)

Features

  • syncer: account access control for distribution cache bucket (#585) (05c1c11)

Bug Fixes

  • Pass runner_group_name to runner module (#603) (54070b3)

0.11.0 - 2021-03-01

Added

  • feat: Tag Volume Resources (#570)
  • feat: Retrieve installation id automatically if not present (triggered by ordinary webhook) (#515)

Fixed

  • fix(bucket): Adds bucket policy #536
  • fix: Upgrade vpc to 2.2.0 and pre-commit terraform hooks (#538)
  • fix(lint): Clean up lint (#534)

0.10.0 - 2021-01-27

Added

  • Support runner groups (#496)

0.9.1 - 2021-01-22

Fixed

  • fix(ghes): Corrects preview option #482 @mcaulifn @samuelb

0.9.0 - 2021-01-21

Added

  • Add support for GitHub Enterprise Server (GHES) #412, #481, #467 @mcaulifn @jonico
  • Allow configuring additional security groups #392 @surminus

Changed

  • Log groups per type of logging #476
  • Copy directory after installing zip #444 @masterful
  • Update ubuntu example with rootless docker and non privileged user #433
  • Changed strategy in scaling. Previous the module scaled by checking for any queued workflow for the repo initiation the check_run event. Now the module scales only if the correlated check_run is still in queued state. #423

Fixed

  • Fix missing permissions for CloudWatch Agent #445 @bennettp123
  • Swap scale up/scale down timeout description #468 @jonico
  • Fix for invalid configuration #466 @jonico
  • Add ssm:GetParameter to runner-ssm-parameters #446 @bennettp123
  • Replace crypto #429
  • Scale up lambda deprecated attribute #410

Migrations

Changes related to logging groups introduced via #476 will destroy existing logging group in AWS cloudwatch for runners log. In case you would like to keep the logging ensure you remove the log group from the state before running an apply

export RESOURCE=$(terraform state list | grep "aws_cloudwatch_log_group.runner")
terraform state rm $RESOURCE

0.8.1 - 2020-12-08

Changed

  • Policy is missing for streaming logs to cloudwatch #388

0.8.0 - 2020-12-08

Changed

  • Examples upgraded to Terraform 13 (#372)

Added

  • Streaming runner logs to cloudwatch #375

0.7.0 - 2020-12-04

Changed

  • Small clarifications in the README #368 @lrytz

Added

  • Allow operator to pass in a list of managed IAM policy ARNs for the runner role #361 @jpalomaki
  • expand options for sourcing lambda to include S3 #292 @eky5006

0.6.0 - 2020-10-10

Added

  • Only allow tagging and termination of runner instances #201 @jpalomaki

Fixed

  • Fix pagination with listing self-hosted runners #202 @HenryNguyen5

0.5.0 - 2020-08-25

Added

  • feat: Manage log groups via module. When upgrading you have to import the log groups by AWS into your state. See below the example commands for the default example.
terraform import module.runners.module.runner_binaries.aws_cloudwatch_log_group.syncer "/aws/lambda/default-syncer"
terraform import module.runners.module.runners.aws_cloudwatch_log_group.scale_up "/aws/lambda/default-scale-up"
terraform import module.runners.module.runners.aws_cloudwatch_log_group.scale_down "/aws/lambda/default-scale-down"
terraform import module.runners.module.webhook.aws_cloudwatch_log_group.webhook "/aws/lambda/default-webhook"
  • feat: Expose ami-filters and user-data template file location to users to allow use of custom AMIs

  • feat: Added option to binaries syncer to upgrade to pre-releases, preventing any auto-updating on startup. Option runner_allow_prerelease_binaries is disabled by default. (#141, #165) @sjagoe

  • feat: SSM policies are by default disabled, set enable_ssm_on_runners to true to enable access to the runner instances via SSM. (#143) @HenryNguyen5

  • feat: Log full sqs event (#147) @HenryNguyen5

0.4.0 - 2020-08-10

Added

  • feat: idle runners #113

0.3.0 - 2020-08-06

Added

  • feat: Add support for ARM64 runners #102 @bdruth
  • feat: added variables in the root module to allow passing in pre and and post install #45 @jaydenrasmussen

Updated

  • fix: Build script not entering all the module directories (#103) @alonsohki
  • fix: Remove Orphan AWS runners (#79)
  • fix: documentation for downloading lambdas (#78) @@bendavies
  • fix: Rename variable and fix variables descriptions (#75) @bendavies @leoblanc

0.2.0 - 2020-06-15

Added

  • #34 encrypt secrets via KMS (#37)

0.1.0 - 2020-05-25

Added

  • #30 - Add parameter to terraform to set max number of runners (#31)

Updated

  • #17 - adding tests for syncer (#33)
  • #20 #21 - Improve docs, add readme, add hook generate terraform docs

0.0.1 - 2020-05-19

Added

  • First release.