Skip to content

Commit a3b6f21

Browse files
authored
Merge pull request #1113 from philips-labs/develop
Release
2 parents fd8f6a2 + 03165d1 commit a3b6f21

40 files changed

+1469
-1434
lines changed

.github/workflows/lambda-runner-binaries-syncer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- uses: actions/checkout@v2
2323
- name: Install dependencies
2424
run: yarn install
25+
- name: Run prettier
26+
run: yarn format-check
2527
- name: Run linter
2628
run: yarn lint
2729
- name: Run tests

.github/workflows/lambda-runners.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- name: Install dependencies
2222
run: yarn install
23+
- name: Run prettier
24+
run: yarn format-check
2325
- name: Run linter
2426
run: yarn lint
2527
- name: Run tests

.github/workflows/lambda-webhook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- name: Install dependencies
2222
run: yarn install
23+
- name: Run prettier
24+
run: yarn format-check
2325
- name: Run linter
2426
run: yarn lint
2527
- name: Run tests

.release/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,9 +3387,9 @@ path-key@^3.0.0, path-key@^3.1.0:
33873387
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
33883388

33893389
path-parse@^1.0.6:
3390-
version "1.0.6"
3391-
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
3392-
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
3390+
version "1.0.7"
3391+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
3392+
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
33933393

33943394
path-type@^2.0.0:
33953395
version "2.0.0"

CONTRIBUTING.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
We'd love for you to contribute to our source code and to make the Forest even better than it is today! Here are the guidelines we'd like you to follow:
44

5-
- [Question or Problem?](#question)
6-
- [Issues and Bugs](#issue)
7-
- [Feature Requests](#feature)
8-
- [Submission Guidelines](#submit)
9-
- [Further Info](#info)
5+
* [Question or Problem?](#question)
6+
* [Issues and Bugs](#issue)
7+
* [Feature Requests](#feature)
8+
* [Submission Guidelines](#submit)
9+
* [Further Info](#info)
1010

1111
## <a name="question"></a> Got a Question or Problem?
1212

@@ -27,7 +27,6 @@ You can request a new feature by submitting an issue to our [Github Repository][
2727
* **Major Changes** that you wish to contribute to the project should be discussed first on our [Slack group][slack] so that we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
2828
* **Small Changes** can be crafted and submitted to the [Github Repository][github] as a Pull Request.
2929

30-
3130
## <a name="docs"></a> Want a Doc Fix?
3231

3332
If you want to help improve the docs, it's a good idea to let others know what you're working on to minimize duplication of effort. Create a new issue (or comment on a related existing one) to let others know what you're working on.
@@ -37,6 +36,7 @@ For large fixes, please build and test the documentation before submitting the M
3736
## <a name="submit"></a> Submission Guidelines
3837

3938
### Submitting an Issue
39+
4040
Before you submit your issue search the archive, maybe your question was already answered.
4141

4242
If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
@@ -58,18 +58,18 @@ Before you submit your merge request consider the following guidelines:
5858
* Make your changes in a new git branch:
5959

6060
```shell
61-
git checkout -b my-fix-branch master
61+
git checkout -b my-fix-branch develop
6262
```
6363

6464
* Create your patch, **including appropriate test cases**.
6565
* Run the test suite and ensure that all tests pass.
66-
* Add a line in the CHANGELOG.md under Unreleased. This will be used form generating the release notes.
6766
* Install [pre-commit hooks](https://pre-commit.com/). The hooks runs some basic checks and update the docs. The commit will run the hooks, you can invoke the hooks manually `pre-commit run --all-files` as well.
6867
* Commit your changes using a descriptive commit message.
6968

7069
```shell
7170
git commit -a
7271
```
72+
7373
Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
7474

7575
* Build your changes locally to ensure all the tests pass:
@@ -79,7 +79,7 @@ Before you submit your merge request consider the following guidelines:
7979
git push origin my-fix-branch
8080
```
8181

82-
In Github, send a pull request to original master branch: f.e. `terraform-aws-vpc:master`.
82+
In Github, send a pull request to original develop branch: f.e. `terraform-aws-vpc:develop`.
8383
If we suggest changes, then:
8484

8585
* Make the required updates.
@@ -89,10 +89,10 @@ If we suggest changes, then:
8989

9090
If the PR gets too outdated we may ask you to rebase and force push to update the PR:
9191

92-
```shell
93-
git rebase master -i
94-
git push origin my-fix-branch -f
95-
```
92+
```shell
93+
git rebase develop -i
94+
git push origin my-fix-branch -f
95+
```
9696

9797
_WARNING: Squashing or reverting commits and force-pushing thereafter may remove Github comments on code that were previously made by you or others in your commits. Avoid any form of rebasing unless necessary._
9898

@@ -109,10 +109,10 @@ from the main (upstream) repository:
109109
git push origin --delete my-fix-branch
110110
```
111111
112-
* Check out the master branch:
112+
* Check out the develop branch:
113113
114114
```shell
115-
git checkout master -f
115+
git checkout develop -f
116116
```
117117
118118
* Delete the local branch:
@@ -121,10 +121,10 @@ from the main (upstream) repository:
121121
git branch -D my-fix-branch
122122
```
123123
124-
* Update your master with the latest upstream version:
124+
* Update your develop with the latest upstream version:
125125
126126
```shell
127-
git pull --ff upstream master
127+
git pull --ff upstream develop
128128
```
129129
130130
## <a name="info"></a> Info
@@ -136,5 +136,5 @@ Use the badge to sign-up.
136136
[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)
137137
138138
[contribute]: CONTRIBUTING.md
139-
[github]: https://github.com/philips-lam/terraform-aws-github-runner/issues
139+
[github]: https://github.com/philips-labs/terraform-aws-github-runner/issues
140140
[slack]: https://philips-software.slack.com/home

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ You are now ready to run action workloads on self hosted runner. Remember that b
233233

234234
### Encryption
235235

236-
The module support 3 scenario's to manage environment secrets and private key of the Lambda functions.
236+
The module support 2 scenarios to manage environment secrets and private key of the Lambda functions.
237237

238238
#### Encrypted via a module managed KMS key (default) <!-- omit in toc -->
239239

@@ -257,10 +257,6 @@ module "runners" {
257257
258258
```
259259

260-
#### No encryption <!-- omit in toc -->
261-
262-
Not advised but you can disable the encryption as by setting the variable `encrypt_secrets` to `false`.
263-
264260
### Idle runners
265261

266262
The module will scale down to zero runners be default, by specifying a `idle_config` config idle runners can be kept active. The scale down lambda checks if any of the cron expressions matches the current time with a marge of 5 seconds. When there is a match the number of runners specified in the idle config will be kept active. In case multiple cron expressions matches only the first one is taken in to account. Below an idle configuration for keeping runners active from 9 to 5 on working days.

examples/default/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Action runners deployment default example
22

3-
This modules shows how to create GitHub action runners. Lambda release will be downloaded from GitHub.
3+
This module shows how to create GitHub action runners. Lambda release will be downloaded from GitHub.
44

55
## Usages
66

7-
Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](../../README.md). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `<root>/.ci/build.sh`. In the `main.tf` you can simple remove the location of the lambda zip files, the default location will work in this case.
7+
Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](../../README.md). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `<root>/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
88

99
> Ensure you have set the version in `lambdas-download/main.tf` for running the example. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
1010

examples/permissions-boundary/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Action runners deployed with permissions boundary
22

3-
This modules shows how to create GitHub action runners with permissions boundaries and paths used in role, policies, and instance profiles.
3+
This module shows how to create GitHub action runners with permissions boundaries and paths used in role, policies, and instance profiles.
44

55
## Usages
66

7-
Steps for the full setup, such as creating a GitHub app can be find the module [README](../../README.md). First create the deploy role and boundary policies. This steps required an admin user.
7+
Steps for the full setup, such as creating a GitHub app can be find the module [README](../../README.md). First create the deploy role and boundary policies. These steps require an admin user.
88

99
> Ensure you have set the version in `lambdas-download/main.tf` for running the example. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
1010

examples/ubuntu/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Action runners deployment ubuntu example
22

3-
This modules shows how to create GitHub action runners using an Ubuntu AMI. Lambda release will be downloaded from GitHub.
3+
This module shows how to create GitHub action runners using an Ubuntu AMI. Lambda release will be downloaded from GitHub.
44

55
## Usages
66

7-
Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](../../README.md). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `<root>/.ci/build.sh`. In the `main.tf` you can simple remove the location of the lambda zip files, the default location will work in this case.
7+
Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](../../README.md). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `<root>/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
88

99
> Ensure you have set the version in `lambdas-download/main.tf` for running the example. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
1010

0 commit comments

Comments
 (0)