Skip to content

Commit 793150a

Browse files
authored
Migrate to README.yaml format, add travis (#19)
* refactor(readme): migrate to yaml format, add travis
1 parent ce857e6 commit 793150a

File tree

6 files changed

+202
-29
lines changed

6 files changed

+202
-29
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
addons:
2+
apt:
3+
packages:
4+
- git
5+
- make
6+
- curl
7+
8+
install:
9+
- make init
10+
11+
script:
12+
- make terraform/install
13+
- make terraform/get-plugins
14+
- make terraform/get-modules
15+
- make terraform/lint

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export DOCKER_IMAGE ?= $(DOCKER_ORG)/terraform-root-modules
33
export DOCKER_TAG ?= latest
44
export DOCKER_IMAGE_NAME ?= $(DOCKER_IMAGE):$(DOCKER_TAG)
55
export DOCKER_BUILD_FLAGS =
6-
6+
export README_DEPS ?= docs/targets.md docs/terraform.md
77
-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness)
88

99
all: init deps build install run

README.md

Lines changed: 100 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
![Cloud Posse](https://cloudposse.com/logo-300x69.png)
1+
<!-- This file was automatically generated by the `build-harness`. Make all changes to `README.yaml` and run `make readme` to rebuild this file. -->
22

3-
# terraform-root-modules ![Build Status](https://g.codefresh.io/api/badges/build?repoOwner=cloudposse&repoName=terraform-root-modules&branch=master&pipelineName=terraform-root-modules&accountName=cloudposse)
3+
[![Cloud Posse](https://cloudposse.com/logo-300x69.png)](https://cloudposse.com)
4+
5+
# terraform-root-modules [![Build Status](https://travis-ci.org/cloudposse/terraform-root-modules.svg?branch=master)](https://travis-ci.org/cloudposse/terraform-root-modules) [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-root-modules.svg)](https://travis-ci.org/cloudposse/terraform-root-modules/releases) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
46

57

68
This is a collection of reusable root modules for CloudPosse AWS accounts.
79

810

11+
---
12+
13+
This project is part of our comprehensive ["SweetOps"](https://docs.cloudposse.com) approach towards DevOps.
14+
15+
16+
It's 100% Open Source and licensed under the [APACHE2](LICENSE).
17+
18+
19+
20+
921
## Usage
1022

1123
Use the `terraform-root-modules` Docker image as the base image in the application `Dockerfile`, and copy the modules from `/aws` folder into `/conf` folder
@@ -22,13 +34,59 @@ WORKDIR /conf/
2234
```
2335

2436

37+
38+
39+
40+
41+
## Makefile Targets
42+
```
43+
Available targets:
44+
45+
help This help screen
46+
help/all Display help for all targets
47+
48+
```
49+
50+
51+
52+
53+
## Related Projects
54+
55+
Check out these related projects.
56+
57+
- [audit.cloudposse.co](https://github.com/cloudposse/audit.cloudposse.co) - Example Terraform Reference Architecture of a Geodesic Module for an Audit Logs Organization in AWS.
58+
- [prod.cloudposse.co](https://github.com/cloudposse/prod.cloudposse.co) - Example Terraform Reference Architecture of a Geodesic Module for a Production Organization in AWS.
59+
- [staging.cloudposse.co](https://github.com/cloudposse/staging.cloudposse.co) - Example Terraform Reference Architecture of a Geodesic Module for a Staging Organization in AWS.
60+
- [dev.cloudposse.co](https://github.com/cloudposse/dev.cloudposse.co) - Example Terraform Reference Architecture of a Geodesic Module for a Development Sandbox Organization in AWS.
61+
62+
2563
## Help
2664

2765
**Got a question?**
2866

29-
File a GitHub [issue](https://github.com/cloudposse/terraform-root-modules/issues), send us an [email](mailto:[email protected]) or reach out to us on [Gitter](https://gitter.im/cloudposse/).
67+
File a GitHub [issue](https://github.com/cloudposse/terraform-root-modules/issues), send us an [email][email] or join our [Slack Community][slack].
68+
69+
## Commerical Support
70+
71+
Work directly with our team of DevOps experts via email, slack, and video conferencing.
72+
73+
We provide *commercial support* for all of our [Open Source][github] projects. As a *Dedicated Support* customer, you have access to our team of subject matter experts at a fraction of the cost of a fulltime engineer.
74+
75+
[![E-Mail](https://img.shields.io/badge/[email protected])](mailto:[email protected])
76+
77+
- **Questions.** We'll use a Shared Slack channel between your team and ours.
78+
- **Troubleshooting.** We'll help you triage why things aren't working.
79+
- **Code Reviews.** We'll review your Pull Requests and provide constructive feedback.
80+
- **Bug Fixes.** We'll rapidly work to fix any bugs in our projects.
81+
- **Build New Terraform Modules.** We'll develop original modules to provision infrastructure.
82+
- **Cloud Architecture.** We'll assist with your cloud strategy and design.
83+
- **Implementation.** We'll provide hands on support to implement our reference architectures.
3084

3185

86+
## Community Forum
87+
88+
Get access to our [Open Source Community Forum][slack] on Slack. It's **FREE** to join for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build *sweet* infrastructure.
89+
3290
## Contributing
3391

3492
### Bug Reports & Feature Requests
@@ -37,22 +95,26 @@ Please use the [issue tracker](https://github.com/cloudposse/terraform-root-modu
3795

3896
### Developing
3997

40-
If you are interested in being a contributor and want to get involved in developing `terraform-root-modules`, we would love to hear from you! Shoot us an [email](mailto:[email protected]).
98+
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://github.com/orgs/cloudposse/projects/3) with our other projects, we would love to hear from you! Shoot us an [email](mailto:[email protected]).
4199

42100
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
43101

44102
1. **Fork** the repo on GitHub
45103
2. **Clone** the project to your own machine
46104
3. **Commit** changes to your own branch
47105
4. **Push** your work back up to your fork
48-
5. Submit a **Pull request** so that we can review your changes
106+
5. Submit a **Pull Request** so that we can review your changes
107+
108+
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
49109

50-
**NOTE:** Be sure to merge the latest from "upstream" before making a pull request!
110+
## Copyright
51111

112+
Copyright © 2017-2018 [Cloud Posse, LLC](https://cloudposse.com)
52113

53-
## License
54114

55-
[APACHE 2.0](LICENSE) © 2018 [Cloud Posse, LLC](https://cloudposse.com)
115+
## License
116+
117+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
56118

57119
See [LICENSE](LICENSE) for full details.
58120

@@ -64,7 +126,7 @@ See [LICENSE](LICENSE) for full details.
64126
"License"); you may not use this file except in compliance
65127
with the License. You may obtain a copy of the License at
66128

67-
http://www.apache.org/licenses/LICENSE-2.0
129+
https://www.apache.org/licenses/LICENSE-2.0
68130

69131
Unless required by applicable law or agreed to in writing,
70132
software distributed under the License is distributed on an
@@ -74,35 +136,45 @@ See [LICENSE](LICENSE) for full details.
74136
under the License.
75137

76138

77-
## About
139+
## Trademarks
78140

79-
`terraform-root-modules` is maintained and funded by [Cloud Posse, LLC][website].
141+
All other trademarks referenced herein are the property of their respective owners.
80142

81-
![Cloud Posse](https://cloudposse.com/logo-300x69.png)
143+
## About
144+
145+
This project is maintained and funded by [Cloud Posse, LLC][website]. Like it? Please let us know at <[email protected]>
82146

147+
[![Cloud Posse](https://cloudposse.com/logo-300x69.png)](https://cloudposse.com)
83148

84-
Like it? Please let us know at <hello@cloudposse.com>
149+
We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. We love [Open Source Software](https://github.com/cloudposse/)!
85150

86-
We love [Open Source Software](https://github.com/cloudposse/)!
151+
We offer paid support on all of our projects.
87152

88-
See [our other projects][community]
89-
or [hire us][hire] to help build your next cloud platform.
153+
Check out [our other projects][github], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation.
90154

155+
[docs]: https://docs.cloudposse.com/
91156
[website]: https://cloudposse.com/
92-
[community]: https://github.com/cloudposse/
157+
[github]: https://github.com/cloudposse/
158+
[jobs]: https://cloudposse.com/jobs/
93159
[hire]: https://cloudposse.com/contact/
160+
[slack]: https://slack.cloudposse.com/
161+
[linkedin]: https://www.linkedin.com/company/cloudposse
162+
[twitter]: https://twitter.com/cloudposse/
163+
[email]: mailto:[email protected]
164+
165+
166+
### Contributors
94167

168+
| [![Erik Osterman][osterman_avatar]](osterman_homepage)<br/>[Erik Osterman][osterman_homepage] | [![Igor Rodionov][goruha_avatar]](goruha_homepage)<br/>[Igor Rodionov][goruha_homepage] | [![Andriy Knysh][aknysh_avatar]](aknysh_homepage)<br/>[Andriy Knysh][aknysh_homepage] | [![Marc Tamsky][tamsky_avatar]](tamsky_homepage)<br/>[Marc Tamsky][tamsky_homepage] |
169+
|---|---|---|---|
95170

96-
## Contributors
171+
[osterman_homepage]: https://github.com/osterman
172+
[osterman_avatar]: https://github.com/osterman.png?size=150
173+
[goruha_homepage]: https://github.com/goruha
174+
[goruha_avatar]: https://github.com/goruha.png?size=150
175+
[aknysh_homepage]: https://github.com/aknysh
176+
[aknysh_avatar]: https://github.com/aknysh.png?size=150
177+
[tamsky_homepage]: https://github.com/tamsky
178+
[tamsky_avatar]: https://github.com/tamsky.png?size=150
97179

98-
| [![Erik Osterman][erik_img]][erik_web]<br/>[Erik Osterman][erik_web] | [![Andriy Knysh][andriy_img]][andriy_web]<br/>[Andriy Knysh][andriy_web] |[![Igor Rodionov][igor_img]][igor_web]<br/>[Igor Rodionov][igor_img]|[![Sarkis Varozian][sarkis_img]][sarkis_web]<br/>[Sarkis Varozian][sarkis_web] |
99-
|-------------------------------------------------------|------------------------------------------------------------------|------------------------------------------------------------------|------------------------------------------------------------------|
100180

101-
[erik_img]: http://s.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb?s=144
102-
[erik_web]: https://github.com/osterman/
103-
[andriy_img]: https://avatars0.githubusercontent.com/u/7356997?v=4&u=ed9ce1c9151d552d985bdf5546772e14ef7ab617&s=144
104-
[andriy_web]: https://github.com/aknysh/
105-
[igor_img]: http://s.gravatar.com/avatar/bc70834d32ed4517568a1feb0b9be7e2?s=144
106-
[igor_web]: https://github.com/goruha/
107-
[sarkis_img]: https://avatars3.githubusercontent.com/u/42673?s=144&v=4
108-
[sarkis_web]: https://github.com/sarkis/

README.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
#
3+
# This is the canonical configuration for the `README.md`
4+
# Run `make readme` to rebuild the `README.md`
5+
#
6+
7+
# Name of this project
8+
name: terraform-root-modules
9+
10+
# Logo for this project
11+
#logo: docs/logo.png
12+
13+
# License of this project
14+
license: "APACHE2"
15+
16+
# Canonical GitHub repo
17+
github_repo: cloudposse/terraform-root-modules
18+
19+
# Badges to display
20+
badges:
21+
- name: "Build Status"
22+
image: "https://travis-ci.org/cloudposse/terraform-root-modules.svg?branch=master"
23+
url: "https://travis-ci.org/cloudposse/terraform-root-modules"
24+
- name: "Latest Release"
25+
image: "https://img.shields.io/github/release/cloudposse/terraform-root-modules.svg"
26+
url: "https://travis-ci.org/cloudposse/terraform-root-modules/releases"
27+
- name: "Slack Community"
28+
image: "https://slack.cloudposse.com/badge.svg"
29+
url: "https://slack.cloudposse.com"
30+
31+
related:
32+
- name: "audit.cloudposse.co"
33+
description: "Example Terraform Reference Architecture of a Geodesic Module for an Audit Logs Organization in AWS."
34+
url: "https://github.com/cloudposse/audit.cloudposse.co"
35+
- name: "prod.cloudposse.co"
36+
description: "Example Terraform Reference Architecture of a Geodesic Module for a Production Organization in AWS."
37+
url: "https://github.com/cloudposse/prod.cloudposse.co"
38+
- name: "staging.cloudposse.co"
39+
description: "Example Terraform Reference Architecture of a Geodesic Module for a Staging Organization in AWS."
40+
url: "https://github.com/cloudposse/staging.cloudposse.co"
41+
- name: "dev.cloudposse.co"
42+
description: "Example Terraform Reference Architecture of a Geodesic Module for a Development Sandbox Organization in AWS."
43+
url: "https://github.com/cloudposse/dev.cloudposse.co"
44+
45+
# Short description of this project
46+
description: |-
47+
This is a collection of reusable root modules for CloudPosse AWS accounts.
48+
49+
# How to use this project
50+
usage: |-
51+
Use the `terraform-root-modules` Docker image as the base image in the application `Dockerfile`, and copy the modules from `/aws` folder into `/conf` folder
52+
53+
```dockerfile
54+
FROM cloudposse/terraform-root-modules:0.3.2 as terraform-root-modules
55+
56+
FROM cloudposse/geodesic:0.9.18
57+
58+
# Copy root modules into /conf folder
59+
COPY --from=terraform-root-modules /aws/ /conf/
60+
61+
WORKDIR /conf/
62+
```
63+
64+
include:
65+
- "docs/targets.md"
66+
- "docs/terraform.md"
67+
68+
# Contributors to this project
69+
contributors:
70+
- name: "Erik Osterman"
71+
github: "osterman"
72+
- name: "Igor Rodionov"
73+
github: "goruha"
74+
- name: "Andriy Knysh"
75+
github: "aknysh"
76+
- name: "Marc Tamsky"
77+
github: "tamsky"

docs/targets.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Makefile Targets
2+
```
3+
Available targets:
4+
5+
help This help screen
6+
help/all Display help for all targets
7+
8+
```

docs/terraform.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)