Skip to content

Commit 097ec00

Browse files
committed
made with love in hamburg
0 parents  commit 097ec00

91 files changed

Lines changed: 6792 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "Cloud Tools Container",
3+
"image": "docker.io/cyclenerd/cloud-tools-container:dev",
4+
"customizations": {
5+
"vscode": {
6+
"settings": {
7+
"python.defaultInterpreterPath": "/usr/bin/python3",
8+
"python.linting.enabled": true,
9+
"python.linting.pylintEnabled": true,
10+
"python.envFile": "${workspaceFolder}/.env"
11+
},
12+
"extensions": [
13+
"EditorConfig.EditorConfig",
14+
"GitLab.gitlab-workflow",
15+
"golang.Go",
16+
"hashicorp.terraform",
17+
"ms-azuretools.vscode-docker",
18+
"ms-python.python",
19+
"vscode-icons-team.vscode-icons"
20+
]
21+
}
22+
},
23+
"remoteEnv": {
24+
"PYTHONPATH": "/workspace"
25+
},
26+
"onCreateCommand": "PATH=$HOME/.local/bin:$PATH && sudo apt update",
27+
"postCreateCommand": "figlet 'Cloud Tools' && devcontainer-info",
28+
// Podman specific settings
29+
"remoteUser": "vscode",
30+
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
31+
"workspaceFolder": "/workspace",
32+
"runArgs": [
33+
"--userns=keep-id" // Causes issue with uid mappings on host, which we need for git to work properly - files are owned by random uids due to the uid mapping
34+
],
35+
"containerEnv": {
36+
"HOME": "/home/vscode"
37+
}
38+
}

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**
2+
!app/**
3+
!run.py
4+
!requirements.txt

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
12+
# 2 space indentation
13+
[*.{yml,md,tf,tfvars}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
# 4 space indentation
18+
[*.{py,html}]
19+
indent_style = space
20+
indent_size = 4
21+
22+
# 4 tab indentation
23+
[*.{pl,sh}]
24+
indent_style = tab
25+
indent_size = 4
26+
27+
# Tab indentation
28+
[Makefile]
29+
indent_style = tab
30+
indent_size = 4
31+
32+
# Matches the exact files either package.json or .travis.yml
33+
[{package.json,.gitignore}]
34+
indent_style = space
35+
indent_size = 2

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
PORT=8080
2+
GOOGLE_CLOUD_PROJECT=your-project-id
3+
GITHUB_APP_ID=your-app-id
4+
GITHUB_PRIVATE_KEY_PATH=/path/to/private-key.pem
5+
GITHUB_INSTALLATION_ID=your-installation-id
6+
GITHUB_WEBHOOK_SECRET=your-webhook-secret

.gcloudignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**
2+
!app/**
3+
!run.py
4+
!requirements.txt
5+
!Dockerfile

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: Cyclenerd
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'Bug: Good title'
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Contact me on Mastodon
4+
url: https://fosstodon.org/@cyclenerd
5+
about: Feel free to follow me on Mastodon and send me a message
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'Feature request: Good title'
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/security.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Security Vulnerability
3+
about: Instructions for reporting a security vulnerability
4+
title: "Security: Good title"
5+
labels: "bug"
6+
assignees: ''
7+
8+
---
9+
10+
## ⚠️ Security Warning
11+
12+
**Please DO NOT report security vulnerabilities through public GitHub issues.**
13+
14+
Publicly reporting a vulnerability can put the entire community at risk. instead, please refer to our **[Security Policy](../../SECURITY.md)** for instructions on how to report security vulnerabilities securely.
15+
16+
### How to Report
17+
18+
Please check [SECURITY.md](../../SECURITY.md) for details on the responsible disclosure process.

0 commit comments

Comments
 (0)