Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 8ebf0fb

Browse files
committed
Initial setup
0 parents  commit 8ebf0fb

File tree

11 files changed

+186
-0
lines changed

11 files changed

+186
-0
lines changed

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# state
2+
*.tfstate*
3+
4+
# Module directory
5+
.terraform/
6+
7+
# keys
8+
*id_rsa*
9+
10+
# other
11+
.idea
12+
.DS_Store
13+
*.out
14+
example/*.secrets*.tfvars
15+
.envrc

CONTRIBUTING.md

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# Contributing to Forest Terraform
2+
3+
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:
4+
5+
- [Question or Problem?](#question)
6+
- [Issues and Bugs](#issue)
7+
- [Feature Requests](#feature)
8+
- [Submission Guidelines](#submit)
9+
- [Further Info](#info)
10+
11+
## <a name="question"></a> Got a Question or Problem?
12+
13+
If you have questions about how to use the Forest, please direct these to the [Slack group / philips-software][slack].
14+
15+
[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)
16+
17+
## <a name="issue"></a> Found an Issue?
18+
19+
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our [Github Repository][github]. Even better you can submit a Pull Request with a fix.
20+
21+
**Please see the [Submission Guidelines](#submit) below.**
22+
23+
## <a name="feature"></a> Want a Feature?
24+
25+
You can request a new feature by submitting an issue to our [Github Repository][github]. If you would like to implement a new feature then consider what kind of change it is:
26+
27+
* **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.
28+
* **Small Changes** can be crafted and submitted to the [Github Repository][github] as a Pull Request.
29+
30+
31+
## <a name="docs"></a> Want a Doc Fix?
32+
33+
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.
34+
35+
For large fixes, please build and test the documentation before submitting the MR to be sure you haven't accidentally introduced any layout or formatting issues. You should also make sure that your commit message starts with "docs" and follows the **[Commit Message Guidelines](#commit)** outlined below.
36+
37+
## <a name="submit"></a> Submission Guidelines
38+
39+
### Submitting an Issue
40+
Before you submit your issue search the archive, maybe your question was already answered.
41+
42+
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:
43+
44+
* **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
45+
* **Motivation for or Use Case** - explain why this is a bug for you
46+
* **Forest Version(s)** - is it a regression?
47+
* **Reproduce the Error** - try to describe how to reproduce the error
48+
* **Related Issues** - has a similar issue been reported before?
49+
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
50+
causing the problem (line of code or commit)
51+
52+
**If you get help, help others. Good karma rulez!**
53+
54+
### Submitting a Merge Request
55+
Before you submit your merge request consider the following guidelines:
56+
57+
* Make your changes in a new git branch:
58+
59+
```shell
60+
git checkout -b my-fix-branch master
61+
```
62+
63+
* Create your patch, **including appropriate test cases**.
64+
* Run the test suite and ensure that all tests pass.
65+
* Add a line in the CHANGELOG.md under Unreleased. This will be used form generating the release notes.
66+
* Commit your changes using a descriptive commit message.
67+
68+
```shell
69+
git commit -a
70+
```
71+
Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
72+
73+
* Build your changes locally to ensure all the tests pass:
74+
* Push your branch to Github:
75+
76+
```shell
77+
git push origin my-fix-branch
78+
```
79+
80+
In Github, send a pull request to original master branch: f.e. `terraform-aws-vpc:master`.
81+
If we suggest changes, then:
82+
83+
* Make the required updates.
84+
* Re-run the test suite to ensure tests are still passing.
85+
* Commit your changes to your branch (e.g. `my-fix-branch`).
86+
* Push the changes to your Github repository (this will update your Pull Request).
87+
88+
If the PR gets too outdated we may ask you to rebase and force push to update the PR:
89+
90+
```shell
91+
git rebase master -i
92+
git push origin my-fix-branch -f
93+
```
94+
95+
_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._
96+
97+
That's it! Thank you for your contribution!
98+
99+
#### After your merge request is merged
100+
101+
After your pull request is merged, you can safely delete your branch and pull the changes
102+
from the main (upstream) repository:
103+
104+
* Delete the remote branch on Github either through the Github web UI or your local shell as follows:
105+
106+
```shell
107+
git push origin --delete my-fix-branch
108+
```
109+
110+
* Check out the master branch:
111+
112+
```shell
113+
git checkout master -f
114+
```
115+
116+
* Delete the local branch:
117+
118+
```shell
119+
git branch -D my-fix-branch
120+
```
121+
122+
* Update your master with the latest upstream version:
123+
124+
```shell
125+
git pull --ff upstream master
126+
```
127+
128+
## <a name="info"></a> Info
129+
130+
For more info, please reach out to the team on [Slack group / philips-software][slack] in the #forest channel.
131+
132+
Use the badge to sign-up.
133+
134+
[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)
135+
136+
[contribute]: CONTRIBUTING.md
137+
[github]: https://github.com/philips-lam/terraform-aws-github-runner/issues
138+
[slack]: https://philips-software.slack.com/home

LICENSE.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The MIT License (MIT) Copyright © 2020 Koninklijke Philips N.V, https://www.philips.com
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MAINTAINERS.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Gertjan Maas <[email protected]>
2+
Niek Palm <[email protected]>

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Terraform module for scalable self hosted GitHub action runners
2+
3+
> WIP: Module is in development
4+
5+
6+
7+
8+
## Philips Forest
9+
10+
This module is part of the Philips Forest.
11+
12+
```
13+
___ _
14+
/ __\__ _ __ ___ ___| |_
15+
/ _\/ _ \| '__/ _ \/ __| __|
16+
/ / | (_) | | | __/\__ \ |_
17+
\/ \___/|_| \___||___/\__|
18+
19+
Infrastructure
20+
```
21+
22+
Talk to the forestkeepers in the `forest`-channel on Slack.
23+
24+
[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)

examples/default/main.tf

Whitespace-only changes.

main.tf

Whitespace-only changes.

modules/lambda-webhook/.gitkeep

Whitespace-only changes.

modules/runners/.gitkeep

Whitespace-only changes.

outputs.tf

Whitespace-only changes.

variables.tf

Whitespace-only changes.

0 commit comments

Comments
 (0)