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"

modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@
77
"start": "ts-node-dev src/local.ts",
88
"test": "NODE_ENV=test jest",
99
"test:watch": "NODE_ENV=test jest --watch",
10-
"lint": "yarn eslint --ext ts,tsx src",
10+
"lint": "yarn eslint src",
1111
"watch": "ts-node-dev --respawn --exit-child src/local.ts",
1212
"build": "ncc build src/lambda.ts -o dist",
1313
"dist": "yarn build && cd dist && zip ../runner-binaries-syncer.zip index.js",
1414
"format": "prettier --write \"**/*.ts\"",
1515
"format-check": "prettier --check \"**/*.ts\""
1616
},
1717
"devDependencies": {
18-
"@octokit/rest": "^18.0.14",
18+
"@octokit/rest": "^18.2.0",
1919
"@types/jest": "^26.0.20",
20-
"@types/node": "^14.14.22",
20+
"@types/node": "^14.14.31",
2121
"@types/request": "^2.48.4",
22-
"@typescript-eslint/eslint-plugin": "^4.0.0",
23-
"@typescript-eslint/parser": "^3.10.1",
22+
"@typescript-eslint/eslint-plugin": "^4.15.1",
23+
"@typescript-eslint/parser": "^4.15.1",
2424
"@zeit/ncc": "^0.22.1",
25-
"aws-sdk": "^2.831.0",
26-
"eslint": "^7.18.0",
25+
"aws-sdk": "^2.848.0",
26+
"eslint": "^7.20.0",
2727
"jest": "^26.6.3",
28-
"ts-jest": "^26.4.4",
28+
"ts-jest": "^26.5.1",
2929
"ts-node-dev": "^1.1.1",
30-
"typescript": "^4.1.3"
30+
"typescript": "^4.1.5"
3131
},
3232
"dependencies": {
3333
"yn": "^4.0.0"
3434
}
35-
}
35+
}

0 commit comments

Comments
 (0)