Skip to content

Commit f033c5e

Browse files
committed
init: inital commit
0 parents  commit f033c5e

25 files changed

+1295
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
3+
{
4+
"name": "Backbone",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/dotnet:1-9.0-noble",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
11+
"installDockerBuildx": true,
12+
"version": "latest",
13+
"dockerDashComposeVersion": "latest"
14+
}
15+
},
16+
17+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18+
// "forwardPorts": [5000, 5001],
19+
// "portsAttributes": {
20+
// "5001": {
21+
// "protocol": "https"
22+
// }
23+
// }
24+
25+
// Use 'postCreateCommand' to run commands after the container is created.
26+
"postCreateCommand": "dotnet restore",
27+
28+
// Configure tool-specific properties.
29+
"customizations": {
30+
"vscode": {
31+
"extensions": [
32+
"bierner.github-markdown-preview",
33+
"github.vscode-github-actions",
34+
"GitHub.vscode-pull-request-github",
35+
"Gruntfuggly.todo-tree",
36+
"ms-dotnettools.csdevkit",
37+
"patcx.vscode-nuget-gallery",
38+
"saeris.markdown-github-alerts"
39+
]
40+
}
41+
}
42+
43+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
44+
// "remoteUser": "root"
45+
}

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*
2+
!*.csproj
3+
!*.cs
4+
!launchSettings.json
5+
!appsettings*.json
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: "🐞 Bug Report"
2+
description: Create a report to help us improve the website
3+
title: "[Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
assignees:
6+
- xfox111
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this bug report!
12+
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: Reproduction steps
24+
description: Precisely describe minimal number of steps that make the bug to appear
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '...'
28+
3. Scroll down to '...'
29+
4. See '...'
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: Expected behavior
36+
description: A clear and concise description of what you expected to happen.
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: context
42+
attributes:
43+
label: Additional context
44+
description: Add any other context about the problem here.
45+
validations:
46+
required: false
47+
48+
- type: dropdown
49+
id: requested-help
50+
attributes:
51+
label: Are you willing to submit a PR for this issue?
52+
options:
53+
- "yes"
54+
- "no"
55+
validations:
56+
required: true
57+
58+
- type: checkboxes
59+
id: checkboxes
60+
attributes:
61+
label: Validations
62+
description: Before submitting the issue, please make sure you do the following
63+
options:
64+
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
65+
required: true
66+
- label: The provided reproduction is a minimal reproducible example of the bug.
67+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
2+
3+
blank_issues_enabled: true
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: "🚀 New feature proposal"
2+
description: Suggest a feature idea for this project
3+
title: "[Feature]: "
4+
labels: ["feature", "needs-triage"]
5+
assignees:
6+
- xfox111
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for your interest in the project and taking the time to fill out this feature report!
12+
13+
- type: textarea
14+
id: proposition
15+
attributes:
16+
label: Proposed solution
17+
description: Describe the solution you'd like
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: justification
23+
attributes:
24+
label: Justification
25+
description: Is your feature request related to a problem? Please describe.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: alts
31+
attributes:
32+
label: Alternatives
33+
description: Describe alternatives you've considered.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: context
39+
attributes:
40+
label: Additional context
41+
description: Add any other context or screenshots about the feature request here.
42+
validations:
43+
required: false
44+
45+
- type: dropdown
46+
id: requested-help
47+
attributes:
48+
label: Are you willing to submit a PR for this issue?
49+
options:
50+
- "yes"
51+
- "no"
52+
validations:
53+
required: true
54+
55+
- type: checkboxes
56+
id: checkboxes
57+
attributes:
58+
label: Validations
59+
description: Before submitting the issue, please make sure you do the following
60+
options:
61+
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
62+
required: true

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.github/pull_request_template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Resolves: #issue_number
2+
3+
# Description
4+
5+
<!-- IMPORTANT -->
6+
<!-- Before submitting a pull request, make sure, that there's an issue related to it, and that you are assigned. -->
7+
<!-- Visit https://github.com/xfox111/backbone/blob/main/CONTRIBUTING.md for more information. -->

.github/workflows/ci.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: "CI pipeline"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths-ignore:
7+
- '.devcontainer/*'
8+
- '.github/*'
9+
- '!.github/workflows/ci.yml'
10+
- '.vscode/*'
11+
- '**.md'
12+
- 'Properties/launchSettings.json'
13+
- 'LICENSE'
14+
pull_request:
15+
branches: [ "main", "deps" ]
16+
paths-ignore:
17+
- '.devcontainer/*'
18+
- '.github/*'
19+
- '!.github/workflows/ci.yml'
20+
- '.vscode/*'
21+
- '**.md'
22+
- 'Properties/launchSettings.json'
23+
- 'LICENSE'
24+
workflow_dispatch:
25+
inputs:
26+
push:
27+
type: boolean
28+
required: false
29+
default: false
30+
description: "Push to Docker Hub"
31+
32+
jobs:
33+
build:
34+
runs-on: ubuntu-latest
35+
36+
permissions:
37+
packages: write
38+
39+
steps:
40+
- uses: actions/checkout@v4
41+
42+
- uses: docker/metadata-action@v5
43+
id: meta
44+
with:
45+
images: |
46+
${{ github.repository }}
47+
ghcr.io/${{ github.repository }}
48+
tags: |
49+
latest
50+
${{ github.sha }}
51+
52+
- name: "Login to Docker Hub"
53+
if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'
54+
uses: docker/login-action@v3
55+
with:
56+
username: ${{ secrets.DOCKERHUB_USERNAME }}
57+
password: ${{ secrets.DOCKERHUB_TOKEN }}
58+
59+
- name: "Login to GitHub Container Registry"
60+
if: github.event_name != 'pull_request' || github.event.inputs.push == 'true'
61+
uses: docker/login-action@v3
62+
with:
63+
registry: ghcr.io
64+
username: ${{ github.repository_owner }}
65+
password: ${{ secrets.GITHUB_TOKEN }}
66+
67+
- uses: docker/build-push-action@v6
68+
with:
69+
context: .
70+
push: ${{ github.event_name != 'pull_request' || github.event.inputs.push == 'true' }}
71+
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)