Skip to content

Commit

Permalink
chore: Added bug and feature request issue templates and docker image…
Browse files Browse the repository at this point in the history
… in ghcr

Refs: #2
  • Loading branch information
tazarov committed Jul 29, 2023
1 parent 3eb8d50 commit d5d46f9
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 1 deletion.
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Bug Report
description: File a bug report with ChromaDB Chart
title: "[Bug]: "
labels: ["bug", "triage"]
# assignees:
# - octocat
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
# value: "A bug happened!"
validations:
required: true
- type: dropdown
id: chroma-version
attributes:
label: ChromaDB Version
description: What is your chromaDB version?
options:
- 0.4.3
validations:
required: true
- type: dropdown
id: kube-version
attributes:
label: Kubernetes Version
description: What is your Kubernetes version?
options:
- 1.24.x
- 1.25.x
- 1.26.x
- 1.27.x
validations:
required: true
- type: textarea
id: versions
attributes:
label: Environment details
description: Tell us about your environment setup.
placeholder: On-prem k3s, GKE, EKS, etc.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs, Kubectl output, Manifests, etc.
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
# - type: checkboxes
# id: terms
# attributes:
# label: Code of Conduct
# description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
# options:
# - label: I agree to follow this project's Code of Conduct
# required: true
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Feature Request"
description: Suggest an idea for ChromaDB Chart
title: "[Feature Request]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request this feature!
- type: textarea
id: problem
attributes:
label: Describe the problem
description: Please provide a clear and concise description the problem this feature would solve. The more information you can provide here, the better.
placeholder: I prefer if...
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the proposed solution
description: Please provide a clear and concise description of what you would like to happen.
placeholder: I would like to see...
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: "Please provide a clear and concise description of any alternative solutions or features you've considered."
- type: dropdown
id: importance
attributes:
label: Importance
description: How important is this feature to you?
options:
- nice to have
- would make my life easier
- I cannot run the chart without it
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Information
description: Add any other context or screenshots about the feature request here.
23 changes: 22 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma"

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -24,6 +28,23 @@ jobs:
version: v3.4.0

- name: Run chart-releaser
id: releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Log in to the Container registry
# if: ${{ steps.releaser.outputs.changed_charts == '' }}
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push release Docker image
# if: ${{ steps.releaser.outputs.changed_charts == '' }}
uses: docker/[email protected]
with:
context: .
file: image/Dockerfile
push: true
tags: "${{ env.IMAGE_NAME }}:${{steps.releaser.outputs.chart_version}},${{ env.IMAGE_NAME }}:latest"

0 comments on commit d5d46f9

Please sign in to comment.