Skip to content

Commit 939bee2

Browse files
committed
Merge branch 'release/0.11.0' into master
2 parents d394d35 + 5f3e982 commit 939bee2

File tree

31 files changed

+1566
-412
lines changed

31 files changed

+1566
-412
lines changed

.github/workflows/lambda-runners.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- name: Install dependencies
2323
run: yarn install
24+
- name: Run linter
25+
run: yarn lint
2426
- name: Run tests
2527
run: yarn test
2628
- name: Build distribution

.github/workflows/lambda-webhook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- name: Install dependencies
2323
run: yarn install
24+
- name: Run linter
25+
run: yarn lint
2426
- name: Run tests
2527
run: yarn test
2628
- name: Build distribution

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.30.0
3+
rev: v1.45.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_tflint

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.11.0] - 2021-03-01
11+
12+
### Added
13+
14+
- feat: Tag Volume Resources (#570)
15+
- feat: Retrieve installation id automatically if not present (triggered by ordinary webhook) (#515)
16+
17+
### Fixed
18+
19+
- fix(bucket): Adds bucket policy #536
20+
- fix: Upgrade vpc to 2.2.0 and pre-commit terraform hooks (#538)
21+
- fix(lint): Clean up lint (#534)
22+
1023
## [0.10.0] - 2021-01-27
1124

1225
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![Terraform registry](https://img.shields.io/github/v/release/philips-labs/terraform-aws-github-runner?label=Terraform%20Registry)](https://registry.terraform.io/modules/philips-labs/github-runner/aws/) ![Terraform checks](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Terraform%20root%20module%20checks/badge.svg) ![Lambda Webhook](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Agent%20Webhook/badge.svg) ![Lambda Runners](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Runners/badge.svg) ![Lambda Syncer](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Runner%20Binaries%20Syncer/badge.svg)
1+
[![awesome-runners](https://img.shields.io/badge/listed%20on-awesome--runners-blue.svg)](https://github.com/jonico/awesome-runners)[![Terraform registry](https://img.shields.io/github/v/release/philips-labs/terraform-aws-github-runner?label=Terraform%20Registry)](https://registry.terraform.io/modules/philips-labs/github-runner/aws/) ![Terraform checks](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Terraform%20root%20module%20checks/badge.svg) ![Lambda Webhook](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Agent%20Webhook/badge.svg) ![Lambda Runners](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Runners/badge.svg) ![Lambda Syncer](https://github.com/philips-labs/terraform-aws-github-runner/workflows/Lambda%20Runner%20Binaries%20Syncer/badge.svg)
2+
23

34
# Terraform module for scalable self hosted GitHub action runners <!-- omit in toc -->
45

@@ -89,7 +90,7 @@ Go to GitHub and create a new app. Beware you can create apps your organization
8990
3. Choose a website (mandatory, not required for the module).
9091
4. Disable the webhook for now (we will configure this later).
9192
5. Permissions for all runners:
92-
- Repository:
93+
- Repository:
9394
- `Actions`: Read-only (check for queued jobs)
9495
- `Checks`: Read-only (receive events for new builds)
9596
- `Metadata`: Read-only (default/required)

examples/default/vpc.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "vpc" {
2-
source = "git::https://github.com/philips-software/terraform-aws-vpc.git?ref=2.1.0"
2+
source = "git::https://github.com/philips-software/terraform-aws-vpc.git?ref=2.2.0"
33

44
environment = local.environment
55
aws_region = local.aws_region

examples/ubuntu/vpc.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "vpc" {
2-
source = "git::https://github.com/philips-software/terraform-aws-vpc.git?ref=2.1.0"
2+
source = "git::https://github.com/philips-software/terraform-aws-vpc.git?ref=2.2.0"
33

44
environment = local.environment
55
aws_region = local.aws_region

modules/download-lambda/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/.eslintrc.js

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
env:
2+
browser: true
3+
es2021: true
4+
extends:
5+
#- google
6+
- eslint:recommended
7+
- plugin:@typescript-eslint/recommended
8+
parser: "@typescript-eslint/parser"
9+
parserOptions:
10+
ecmaVersion: 12
11+
sourceType: module
12+
plugins:
13+
- "@typescript-eslint"
14+
rules:
15+
semi: error
16+
max-len:
17+
- error
18+
- 120
19+
20+
overrides:
21+
- files:
22+
- "*.ts"
23+
- "*.tsx"

0 commit comments

Comments
 (0)