Skip to content

Releases: aleks-fofanov/terraform-gitlab-runner-aws-spot

Allow customization of manager instance IMDS parameters

14 Sep 15:32
53ae86d
Compare
Choose a tag to compare

What

  • Allow customization of manager instance IMDS parameters
  • Bump null label modules to 0.25.0
  • Bump default docker-machine version to 0.16.2-gitlab.13
  • Bump default gitlab runner version to 14.2.0

Why

  • There is an issue with distributed cache feature related to how manager instance uses IMDS, setting parameter metadata_http_tokens_required to false should help to solve the problem with cache not being extracted from S3

Make spot block duration optional in the docker machine config

30 Aug 06:39
f5be7fd
Compare
Choose a tag to compare

What

  • Make amazonec2-block-duration-minutes param optional in the runner config

Why

  • Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new AWS customers from July 1, 2021. For customers who have previously used the feature, AWS will continue to support Spot Instances with a defined duration until December 31, 2022 (deprecation notice). If you don't need Spot Instances with a defined duration, please set spot_block_duration parameter to 0 in the runner config object

Add more pre-commit hooks, refactor module, switch to Github actions

21 Apr 19:44
Compare
Choose a tag to compare

What

  • Add more pre-commit hooks (validate, tflint, tfsec)
  • Replace Travis CI with Github Actions pre-commit Workflow
  • Split variable create_service_linked_roles into separate for spot and autoscaling service-linked roles

Why

  • Previously there was only one pre-commit hook - fmt
  • Switch from Travis CI to Github actions workflow which utilizes pre-commit hooks and does more checks in CI than Travis did
  • Previously it wasn't possible to create just missing service-linked role (i.e. spot or autoscaling)

Support TF 0.13

06 Apr 10:03
Compare
Choose a tag to compare

What

  • Support TF 0.13
  • Upgrade docker machine version to the latest
  • Fix issue when cloudwatch logs were not shipped
  • Update docs

Why

  • TF 0.13 and beyond was not supported
  • The logs were not shipped to Cloudwatch because of the changes in instance metadata service

Add support for autoscaling periods and requesting on-demand instances for worker nodes

10 Aug 10:38
Compare
Choose a tag to compare

What

  • Add support for autoscaling periods and remove Off peak time mode support
  • Add support for requesting on-demand instances
  • Add complete example to the repo
  • Replace template_file data sources with templatefile function

Why

  • Off peak time mode configuration is deprecated and will be removed in Gitlab runner release 14.0
  • templatefile is a recommended replacement for template_file data sources in TF 0.12

Fix typos in the scripts

26 May 09:05
Compare
Choose a tag to compare

What

  • Fix typo in unregister runner script
  • Fix typo in logging script

Why

  • There were a few typos, the one in the logging script prevented user-data script from execution due to syntax error

Initial release

26 May 06:50
Compare
Choose a tag to compare

Initial release