Skip to content

Commit c7b9c1f

Browse files
author
Scaffolder
committed
initial commit
0 parents  commit c7b9c1f

File tree

12 files changed

+216
-0
lines changed

12 files changed

+216
-0
lines changed

.adr-dir

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

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# shellcheck shell=bash
2+
3+
dotenv_if_exists

.github/CODEOWNERS

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in
5+
# the repo. Unless a later match takes precedence,
6+
# @global-owner1 and @global-owner2 will be requested for
7+
# review when someone opens a pull request.
8+
#* @global-owner1 @global-owner2
9+
* @broadinstitute/5cc-cga
10+
11+
# Order is important; the last matching pattern takes the most
12+
# precedence. When someone opens a pull request that only
13+
# modifies JS files, only @js-owner and not the global
14+
# owner(s) will be requested for a review.
15+
#*.js @js-owner
16+
17+
# You can also use email addresses if you prefer. They'll be
18+
# used to look up users just like we do for commit author
19+
# emails.
20+
21+
22+
# In this example, @doctocat owns any files in the build/logs
23+
# directory at the root of the repository and any of its
24+
# subdirectories.
25+
#/build/logs/ @doctocat
26+
27+
# The `docs/*` pattern will match files like
28+
# `docs/getting-started.md` but not further nested files like
29+
# `docs/build-app/troubleshooting.md`.
30+
31+
32+
# In this example, @octocat owns any file in an apps directory
33+
# anywhere in your repository.
34+
#apps/ @octocat
35+
36+
# In this example, @doctocat owns any file in the `/docs`
37+
# directory in the root of your repository.
38+
#/docs/ @doctocat

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: 'github-actions'
5+
directory: '/'
6+
groups:
7+
actions:
8+
patterns:
9+
- '*'
10+
schedule:
11+
# Check for updates to GitHub Actions every week
12+
interval: 'weekly'

.github/pull_request_template.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
## Write Good Commit Messages
3+
4+
[The seven rules of a great Git commit message](https://cbea.ms/git-commit/)
5+
6+
* Separate subject from body with a blank line
7+
* Limit the subject line to 50 characters
8+
* Capitalize the subject line
9+
* Do not end the subject line with a period
10+
* Use the imperative mood in the subject line
11+
* Wrap the body at 72 characters
12+
* Use the body to explain what and why vs. how
13+
14+
## Update Providers
15+
When updating a provider, run the following command to update the lock file. This will ensure that the provider is available for all platforms.
16+
17+
```Shell
18+
terraform providers lock \
19+
-platform=linux_arm64 \
20+
-platform=linux_amd64 \
21+
-platform=darwin_amd64 \
22+
-platform=darwin_arm64 \
23+
-platform=windows_amd64
24+
```
25+
26+
## Update Docs
27+
When updating docs, run the following command in the directory you want to update (dev/prod). This will ensure that the docs are available for all platforms.
28+
29+
```Shell
30+
docker run --rm --volume "$(pwd):/terraform-docs" -u $(id -u) quay.io/terraform-docs/terraform-docs:latest --output-file README.md --output-mode inject /terraform-docs
31+
```

.github/workflows/checks.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: 'checks'
3+
4+
'on':
5+
pull_request:
6+
branches:
7+
- 'main'
8+
9+
jobs:
10+
conventional-commits:
11+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]

.github/workflows/close-stale.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: 'Close stale issues and PRs'
3+
4+
'on':
5+
schedule:
6+
- cron: '30 1 * * *'
7+
8+
jobs:
9+
stale:
10+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# https://github.com/github/gitignore/blob/main/Global/macOS.gitignore
2+
# General
3+
.DS_Store
4+
.AppleDouble
5+
.LSOverride
6+
7+
# Icon must end with two \r
8+
Icon
9+
10+
# Thumbnails
11+
._*
12+
13+
# Files that might appear in the root of a volume
14+
.DocumentRevisions-V100
15+
.fseventsd
16+
.Spotlight-V100
17+
.TemporaryItems
18+
.Trashes
19+
.VolumeIcon.icns
20+
.com.apple.timemachine.donotpresent
21+
22+
# Directories potentially created on remote AFP share
23+
.AppleDB
24+
.AppleDesktop
25+
Network Trash Folder
26+
Temporary Items
27+
.apdisk
28+
29+
# https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
30+
# Windows thumbnail cache files
31+
Thumbs.db
32+
Thumbs.db:encryptable
33+
ehthumbs.db
34+
ehthumbs_vista.db
35+
36+
# Dump file
37+
*.stackdump
38+
39+
# Folder config file
40+
[Dd]esktop.ini
41+
42+
# Recycle Bin used on file shares
43+
$RECYCLE.BIN/
44+
45+
# Windows Installer files
46+
*.cab
47+
*.msi
48+
*.msix
49+
*.msm
50+
*.msp
51+
52+
# Windows shortcuts
53+
*.lnk

catalog-info.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: backstage.io/v1alpha1
2+
kind: Component
3+
metadata:
4+
name: kubernetes-netbox
5+
description: netbox
6+
tags:
7+
- gcp
8+
- networking
9+
annotations:
10+
github.com/project-slug: broadinstitute/kubernetes-netbox
11+
backstage.io/source-template: template:default/create-repo
12+
backstage.io/techdocs-ref: dir:.
13+
backstage.io/kubernetes-id: kubernetes-netbox
14+
spec:
15+
type: website
16+
lifecycle: production
17+
owner: 5cc-cga
18+
system: kubernetes
19+
domain: infrastructure-tools

docs/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## kubernetes-netbox
2+
3+
4+
5+
## Getting started
6+
7+
Start write your documentation by adding more markdown (.md) files to this folder (/docs) or replace the content in this file.
8+
For more info visit [TechDoc](https://backstage.io/docs/features/techdocs/) and [TechDocs at Broad](https://backstage.broadinstitute.org/catalog/default/component/backstage/docs/techdocs/)
9+
10+
## Table of Contents
11+
12+
The Table of Contents on the right is generated automatically based on the hierarchy
13+
of headings. Only use one H1 (`#` in Markdown) per file.
14+
15+
## Site navigation
16+
17+
For new pages to appear in the left hand navigation you need edit the `mkdocs.yml`
18+
file in root of your repo. The navigation can also link out to other sites.
19+
20+
Alternatively, if there is no `nav` section in `mkdocs.yml`, a navigation section
21+
will be created for you. However, you will not be able to use alternate titles for
22+
pages, or include links to other sites.
23+
24+
Note that MkDocs uses `mkdocs.yml`, not `mkdocs.yaml`, although both appear to work.
25+
See also <https://www.mkdocs.org/user-guide/configuration/>.
26+
27+
## Support
28+
29+
That's it. If you need support, reach out in [#docs-like-code](https://discord.com/channels/687207715902193673/714754240933003266) on Discord.

0 commit comments

Comments
 (0)