Template
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
855b39e134 | ||
|
|
04088b586f | ||
|
|
e250cb2d4c | ||
|
|
aa87f2a65f | ||
|
|
6bc37bc20a | ||
|
|
bdfa1e6cf1 |
@@ -1,2 +0,0 @@
|
|||||||
read: .aider.conventions.md
|
|
||||||
auto-commits: false
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# __PROJECT_NAME__
|
|
||||||
|
|
||||||
## Identity
|
|
||||||
|
|
||||||
- **Name**: __PROJECT_NAME__
|
|
||||||
- **Owner**: Mathias
|
|
||||||
- **Client**: personal
|
|
||||||
- **Repo**: __MODULE_PATH__
|
|
||||||
- **Status**: active
|
|
||||||
|
|
||||||
## Stack
|
|
||||||
|
|
||||||
Go + Templ + HTMX + CDN Tailwind. See `~/dev/.context/AGENT.md` for cross-project conventions.
|
|
||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
- **Name**: __PROJECT_NAME__
|
- **Name**: __PROJECT_NAME__
|
||||||
- **Owner**: Mathias
|
- **Owner**: Mathias
|
||||||
- **Client**: personal
|
- **Client**: personal
|
||||||
- **Repo**: __MODULE_PATH__
|
- **Repo**: gitea.d-ma.be/mathias/__PROJECT_NAME__
|
||||||
- **Status**: active
|
- **Status**: active
|
||||||
|
|
||||||
## Stack
|
## Stack
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"mcpServers": {
|
|
||||||
"knowledge": {
|
|
||||||
"url": "http://localhost:3100/mcp",
|
|
||||||
"description": "Project knowledge base — vector + graph retrieval"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
You are a coding assistant working on a specific project.
|
|
||||||
Follow all conventions from both the root agent context and project context.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# __PROJECT_NAME__
|
|
||||||
|
|
||||||
## Identity
|
|
||||||
|
|
||||||
- **Name**: __PROJECT_NAME__
|
|
||||||
- **Owner**: Mathias
|
|
||||||
- **Client**: personal
|
|
||||||
- **Repo**: __MODULE_PATH__
|
|
||||||
- **Status**: active
|
|
||||||
|
|
||||||
## Stack
|
|
||||||
|
|
||||||
Go + Templ + HTMX + CDN Tailwind. See `~/dev/.context/AGENT.md` for cross-project conventions.
|
|
||||||
|
|
||||||
---
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# Cursor rules — auto-generated
|
|
||||||
# Do not edit. Run: task context:sync
|
|
||||||
|
|
||||||
# __PROJECT_NAME__
|
|
||||||
|
|
||||||
## Identity
|
|
||||||
|
|
||||||
- **Name**: __PROJECT_NAME__
|
|
||||||
- **Owner**: Mathias
|
|
||||||
- **Client**: personal
|
|
||||||
- **Repo**: __MODULE_PATH__
|
|
||||||
- **Status**: active
|
|
||||||
|
|
||||||
## Stack
|
|
||||||
|
|
||||||
Go + Templ + HTMX + CDN Tailwind. See `~/dev/.context/AGENT.md` for cross-project conventions.
|
|
||||||
+4
-21
@@ -11,25 +11,8 @@ env:
|
|||||||
IMAGE: __PROJECT_NAME__
|
IMAGE: __PROJECT_NAME__
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
guard:
|
|
||||||
name: Detect unsubstituted template
|
|
||||||
runs-on: self-hosted
|
|
||||||
outputs:
|
|
||||||
is_template: ${{ steps.detect.outputs.is_template }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- id: detect
|
|
||||||
run: |
|
|
||||||
if grep -q '__MODULE_PATH__' go.mod; then
|
|
||||||
echo "is_template=true" >> "$GITHUB_OUTPUT"
|
|
||||||
else
|
|
||||||
echo "is_template=false" >> "$GITHUB_OUTPUT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
check:
|
check:
|
||||||
name: Lint / Test / Vet
|
name: Lint / Test / Vet
|
||||||
needs: guard
|
|
||||||
if: needs.guard.outputs.is_template != 'true'
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -51,9 +34,9 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build & Import
|
name: Build & Import
|
||||||
needs: [guard, check]
|
needs: check
|
||||||
if: needs.guard.outputs.is_template != 'true' && github.event_name != 'pull_request'
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
outputs:
|
outputs:
|
||||||
image-tag: ${{ steps.meta.outputs.sha-tag }}
|
image-tag: ${{ steps.meta.outputs.sha-tag }}
|
||||||
steps:
|
steps:
|
||||||
@@ -80,9 +63,9 @@ jobs:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy via GitOps
|
name: Deploy via GitOps
|
||||||
needs: [guard, build]
|
needs: build
|
||||||
if: needs.guard.outputs.is_template != 'true' && github.ref == 'refs/heads/main' && github.event_name == 'push'
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
steps:
|
steps:
|
||||||
- name: Update image tag in infra repo
|
- name: Update image tag in infra repo
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
# __PROJECT_NAME__
|
|
||||||
|
|
||||||
## Identity
|
|
||||||
|
|
||||||
- **Name**: __PROJECT_NAME__
|
|
||||||
- **Owner**: Mathias
|
|
||||||
- **Client**: personal
|
|
||||||
- **Repo**: __MODULE_PATH__
|
|
||||||
- **Status**: active
|
|
||||||
|
|
||||||
## Stack
|
|
||||||
|
|
||||||
Go + Templ + HTMX + CDN Tailwind. See `~/dev/.context/AGENT.md` for cross-project conventions.
|
|
||||||
Reference in New Issue
Block a user