chore: move .github folder to .gitea for Gitea compatibility
Gitea prefers .gitea/ISSUE_TEMPLATE/ and .gitea/workflows/ over the GitHub-convention .github/ equivalents. Moves all issue templates and workflow files to the Gitea-native paths and updates CLAUDE.md references. Cosign certificate identity paths in release/rollback workflows are intentionally left unchanged — they reference the signing identity from prior workflow runs and will need a separate update when the CI signing infrastructure migrates. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -0,0 +1,162 @@
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG]: "
|
||||
labels: []
|
||||
assignees: []
|
||||
body:
|
||||
- type: textarea
|
||||
id: describe-the-bug
|
||||
attributes:
|
||||
label: Describe the bug
|
||||
description: Provide a clear and concise description of the issue.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps-to-reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
value: |
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behaviour
|
||||
attributes:
|
||||
label: Expected behaviour
|
||||
description: Describe what you expected to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: actual-behaviour
|
||||
attributes:
|
||||
label: Actual behaviour
|
||||
description: Describe what actually happened.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: checkboxes
|
||||
id: pre-submission-checklist
|
||||
attributes:
|
||||
label: Pre-submission checklist (required)
|
||||
options:
|
||||
- label: I have searched the existing open issues and confirmed this bug has not already been reported.
|
||||
required: true
|
||||
- label: I am running the latest released version of `trebuchet`.
|
||||
required: true
|
||||
|
||||
- type: checkboxes
|
||||
id: applicable-checklist
|
||||
attributes:
|
||||
label: If applicable
|
||||
options:
|
||||
- label: I have included relevant error messages, stack traces, or failure details.
|
||||
- label: I have checked the workspaces folder for logs and pasted the relevant errors.
|
||||
- label: I have inspected the failed Temporal workflow run and included the failure reason.
|
||||
- label: I have included clear steps to reproduce the issue.
|
||||
- label: I have redacted any sensitive information (tokens, URLs, repo names).
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
### Debugging checklist (required)
|
||||
|
||||
Please include any **error messages, stack traces, or failure details** you find from the steps below.
|
||||
|
||||
Issues without this information may be difficult to triage.
|
||||
|
||||
- Check the workflow log:
|
||||
- **npx mode:** `~/.trebuchet/workspaces/<workspace>/workflow.log`
|
||||
- **Local mode:** `./workspaces/<workspace>/workflow.log`
|
||||
Use `grep` or search to identify errors.
|
||||
Paste the relevant error output below.
|
||||
- Temporal:
|
||||
- Open the Temporal UI: http://localhost:8233/namespaces/default/workflows
|
||||
- Navigate to failed workflow runs
|
||||
- Open the failed workflow run
|
||||
- In Event History, click on the failed event
|
||||
Copy the error message or failure reason here.
|
||||
|
||||
- type: textarea
|
||||
id: debugging-details
|
||||
attributes:
|
||||
label: Debugging details
|
||||
description: Paste any error messages, stack traces, or failure details from the workspace logs or Temporal UI.
|
||||
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: Screenshots
|
||||
description: If applicable, add screenshots of the workspace logs or Temporal failure details.
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
### CLI details
|
||||
|
||||
Provide the following information (redact sensitive data such as repository names, URLs, and tokens):
|
||||
|
||||
- type: dropdown
|
||||
id: cli-mode
|
||||
attributes:
|
||||
label: CLI mode
|
||||
options:
|
||||
- "npx (@trebuchet/cli)"
|
||||
- "Local (./trebuchet)"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: provider
|
||||
attributes:
|
||||
label: Provider
|
||||
options:
|
||||
- "Anthropic (API key)"
|
||||
- "Anthropic (OAuth token)"
|
||||
- "Custom base URL (proxy/gateway)"
|
||||
- "AWS Bedrock"
|
||||
- "Google Vertex AI"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: trebuchet-command
|
||||
attributes:
|
||||
label: Full command with all flags used (with redactions)
|
||||
placeholder: "e.g. npx @trebuchet/cli start -u <url> -r my-repo OR ./trebuchet start -u <url> -r my-repo"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: os-version
|
||||
attributes:
|
||||
label: "OS (with version)"
|
||||
placeholder: "e.g. macOS 26.2"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: node-version
|
||||
attributes:
|
||||
label: "Node.js version ('node -v')"
|
||||
placeholder: "e.g. 22.12.0"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: docker-version
|
||||
attributes:
|
||||
label: "Docker version ('docker -v')"
|
||||
placeholder: "e.g. 25.0.3"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: Add any other context that may help us analyze the root cause.
|
||||
@@ -0,0 +1,42 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FEATURE]: "
|
||||
labels: []
|
||||
assignees: []
|
||||
body:
|
||||
- type: textarea
|
||||
id: problem-description
|
||||
attributes:
|
||||
label: Is your feature request related to a problem? Please describe.
|
||||
description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: desired-solution
|
||||
attributes:
|
||||
label: Describe the solution you'd like
|
||||
description: A clear and concise description of what you want to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: cli-mode
|
||||
attributes:
|
||||
label: Which CLI mode does this apply to?
|
||||
options:
|
||||
- Both
|
||||
- "npx (@trebuchet/cli)"
|
||||
- "Local (./trebuchet)"
|
||||
|
||||
- type: textarea
|
||||
id: alternatives-considered
|
||||
attributes:
|
||||
label: Describe alternatives you've considered
|
||||
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: Add any other context or screenshots about the feature request here.
|
||||
@@ -7,16 +7,17 @@ on:
|
||||
- 'charts/hightower/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Lint, package & push OCI
|
||||
runs-on: ubuntu-latest
|
||||
name: Lint, package & publish
|
||||
runs-on: runners-farhoodlabs
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
|
||||
@@ -29,13 +30,24 @@ jobs:
|
||||
mkdir -p .helm-packages
|
||||
helm package charts/hightower -d .helm-packages
|
||||
|
||||
- name: Log in to Gitea OCI registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | helm registry login git.farh.net \
|
||||
--username gitea-admin \
|
||||
--password-stdin
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: gh-pages
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Push chart to Gitea OCI registry
|
||||
- name: Update Helm repo index
|
||||
run: |
|
||||
PACKAGE=$(ls .helm-packages/*.tgz | head -1)
|
||||
helm push "$PACKAGE" oci://git.farh.net/farhoodlabs/charts
|
||||
cp .helm-packages/*.tgz gh-pages/
|
||||
helm repo index gh-pages --url https://farhoodlabs.github.io/hightower
|
||||
|
||||
- name: Push to gh-pages
|
||||
run: |
|
||||
cd gh-pages
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git diff --staged --quiet && echo "No changes to commit" && exit 0
|
||||
git commit -m "Release Helm chart $(ls *.tgz | head -1)"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user