Skip to content

Commit 88bc451

Browse files
committed
Release 0.1.0
1 parent 50907b2 commit 88bc451

File tree

5 files changed

+38
-26
lines changed

5 files changed

+38
-26
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.1.0] - 2025-05-25
10+
### Added
11+
- #30 - Add parameter to terraform to set max number of runners (#31)
12+
13+
### Updated
14+
- #17 - adding tests for syncer (#33)
15+
- #20 #21 - Improve docs, add readme, add hook generate terraform docs
16+
917
## [0.0.1] - 2020-05-19
1018
### Added
1119
- First release.
1220

13-
[Unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.0.1..HEAD
21+
[Unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.1.0..HEAD
22+
[0.1.0]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.0.1..v0.1.0
1423
[0.0.1]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.0.1

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,22 @@ Go to GitHub and create a new app. Beware you can create apps your organization
8888
First you need to download the lambda releases. The lambda code is available as a GitHub release asset. Downloading can be done with the provided terraform module for example. Note that this requires `curl` to be installed on your machine. Create an empty workspace with the following terraform code:
8989

9090
```terraform
91-
module "lambdas" {
92-
source = "../../../modules/download-lambda"
91+
module "github-runner_download-lambda" {
92+
source = "philips-labs/github-runner/aws//modules/download-lambda"
93+
version = "0.1.0"
94+
9395
lambdas = [
9496
{
9597
name = "webhook"
96-
tag = "v0.0.1"
98+
tag = "v0.1.0"
9799
},
98100
{
99101
name = "runners"
100-
tag = "v0.0.1"
102+
tag = "v0.1.0"
101103
},
102104
{
103105
name = "runner-binaries-syncer"
104-
tag = "v0.0.1"
106+
tag = "v0.1.0"
105107
}
106108
]
107109
}
@@ -118,8 +120,9 @@ For local development you can build all the lambda's at once using `.ci/build.sh
118120
Next create a second terraform workspace and initiate the module, see the examples for more details.
119121

120122
```terraform
121-
module "runners" {
122-
source = "git::https://github.com/philips-labs/terraform-aws-github-runner.git?ref=master"
123+
module "github-runner" {
124+
source = "philips-labs/github-runner/aws"
125+
version = "0.1.0"
123126
124127
aws_region = "eu-west-1"
125128
vpc_id = "vpc-123"
@@ -146,7 +149,7 @@ module "runners" {
146149

147150
```bash
148151
terraform init
149-
terrafrom apply
152+
terraform apply
150153
```
151154

152155
Check the terraform output for the API gateway url (endpoint), which you need in the next step. The lambda for syncing the GitHub distribution will be executed by a trigger via CloudWatch. To ensure the binary is cached, trigger the `runner-binaries-syncer` manually. The payload does not matter. (e.g. `aws lambda invoke --function-name <environment>-syncer response.json`)

examples/default/lambdas-download/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ module "lambdas" {
33
lambdas = [
44
{
55
name = "webhook"
6-
tag = "v0.0.1"
6+
tag = "v0.1.0"
77
},
88
{
99
name = "runners"
10-
tag = "v0.0.1"
10+
tag = "v0.1.0"
1111
},
1212
{
1313
name = "runner-binaries-syncer"
14-
tag = "v0.0.1"
14+
tag = "v0.1.0"
1515
}
1616
]
1717
}

examples/permissions-boundary/lambdas-download/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ module "lambdas" {
33
lambdas = [
44
{
55
name = "webhook"
6-
tag = "v0.0.1"
6+
tag = "v0.1.0"
77
},
88
{
99
name = "runners"
10-
tag = "v0.0.1"
10+
tag = "v0.1.0"
1111
},
1212
{
1313
name = "runner-binaries-syncer"
14-
tag = "v0.0.1"
14+
tag = "v0.1.0"
1515
}
1616
]
1717
}

modules/download-lambda/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ module "lambdas" {
1010
lambdas = [
1111
{
1212
name = "webhook"
13-
tag = "v0.0.1"
13+
tag = "v0.1.0"
1414
},
1515
{
1616
name = "runners"
17-
tag = "v0.0.1"
17+
tag = "v0.1.0"
1818
},
1919
{
2020
name = "runner-binaries-syncer"
21-
tag = "v0.0.1"
21+
tag = "v0.1.0"
2222
}
2323
]
2424
}
@@ -32,20 +32,20 @@ No requirements.
3232
## Providers
3333

3434
| Name | Version |
35-
|------|---------|
36-
| null | n/a |
35+
| ---- | ------- |
36+
| null | n/a |
3737

3838
## Inputs
3939

40-
| Name | Description | Type | Default | Required |
41-
|------|-------------|------|---------|:--------:|
42-
| lambdas | Name and tag for lambdas to download. | <pre>list(object({<br> name = string<br> tag = string<br> }))</pre> | n/a | yes |
40+
| Name | Description | Type | Default | Required |
41+
| ------- | ------------------------------------- | --------------------------------------------------------------------------- | ------- | :------: |
42+
| lambdas | Name and tag for lambdas to download. | <pre>list(object({<br> name = string<br> tag = string<br> }))</pre> | n/a | yes |
4343

4444
## Outputs
4545

46-
| Name | Description |
47-
|------|-------------|
48-
| files | n/a |
46+
| Name | Description |
47+
| ----- | ----------- |
48+
| files | n/a |
4949

5050
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
5151

0 commit comments

Comments
 (0)