-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit dd436c7
Showing
153 changed files
with
7,561 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: ci | ||
on: | ||
- push | ||
- pull_request | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: mikefarah/[email protected] | ||
- run: git submodule update --init | ||
- run: COLOR=1 ./make.sh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }} | ||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} | ||
signed: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: git submodule update --init | ||
- run: COLOR=1 ./ci/sub/bin/ensure_signed.sh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }} | ||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "ci/sub"] | ||
path = ci/sub | ||
url = https://github.com/terrastruct/ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Contributing a diagram | ||
|
||
Whether you'd like to promote your content or just share a resource and help the | ||
community, your contribution is much appreciated. | ||
|
||
To do so is very simple! But in order for the website generator to pick up your diagram, | ||
it must follow a straightforward format: | ||
|
||
1. Create a directory under `diagrams/[year]/[month]/[day]/[name]`. That is the date you | ||
are submitting it. Choose a short, descriptive name. Hyphenate it if multiple words. | ||
2. Create a `diagram.yml` and fill out the template below. | ||
3. Add referenced diagram images, e.g. `1.png`. The extension does not matter, so long as | ||
you reference it in `diagram.yml` correctly. | ||
4. Once a pull request is opened, it will be promptly reviewed and show up on the website | ||
within 24 hours of merging. | ||
|
||
## `diagram.yml` template | ||
|
||
```yaml | ||
schema-version: 0.1 | ||
|
||
# Required | ||
name: "Green eggs and ham" | ||
images: | ||
- 1.png | ||
attribution: "https://en.wikipedia.org/wiki/Green_Eggs_and_Ham" | ||
tags: | ||
- eggs | ||
|
||
# Optional | ||
author: Dr. Seuss | ||
description: | | ||
Green Eggs and Ham is a children's book by Dr. Seuss. It was published by the Beginner Books imprint of Random House on August 12, 1960. | ||
``` | ||
### Notes | ||
- You may include multiple images if relevant. They will be displayed like a horizontal | ||
gallery. | ||
- Please include the author if possible. Sometimes it's obvious, e.g. blog post authors. | ||
But sometimes a low-effort search is all it takes, e.g. most open-source documentation | ||
have Git commits showing the original committer of the diagram. | ||
- For the description, a few sentences of text around the diagram briefly explaining it is | ||
enough. |
Oops, something went wrong.