Skip to content

Commit

Permalink
Add repo dev QoL changes
Browse files Browse the repository at this point in the history
fix VITE_BASE_API to be relative on build to support remote hosting
  • Loading branch information
timothycarambat committed Jan 10, 2024
1 parent e7659c9 commit 3381eb8
Show file tree
Hide file tree
Showing 11 changed files with 544 additions and 258 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: Mintplex-Labs
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: 🐛 Bug Report
description: File a bug report for VectorAdmin
title: "[BUG]: "
labels: [possible bug]
body:
- type: markdown
attributes:
value: |
Use this template to file a bug report for VectorAdmin. Please be as descriptive as possible to allow everyone to replicate and solve your issue.

Want help contributing a PR? Use our repo chatbot by OnboardAI! https://app.getonboardai.com/chat/github/mintplex-labs/vector-admin

- type: dropdown
id: runtime
attributes:
label: How are you running VectorAdmin?
description: VectorAdmin can be run in many environments, pick the one that best represents where you encounter the bug.
options:
- Docker (local)
- Docker (remote machine)
- Local development
- Not listed
default: 0
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Are there known steps to reproduce?
description: |
Let us know how to reproduce the bug and we may be able to fix it more
quickly. This is not required, but it is helpful.
validations:
required: false
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/02_feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ✨ New Feature suggestion
description: Suggest a new feature for VectorAdmin!
title: "[FEAT]: "
labels: [enhancement, feature request]
body:
- type: markdown
attributes:
value: |
Share a new idea for a feature or improvement. Be sure to search existing
issues first to avoid duplicates.
Want help contributing a PR? Use our repo chatbot by OnboardAI! https://app.getonboardai.com/chat/github/mintplex-labs/vector-admin
- type: textarea
id: description
attributes:
label: What would you like to see?
description: |
Describe the feature and why it would be useful to your use-case as well as others.
validations:
required: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/03_documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 📚 Documentation improvement
title: "[DOCS]: "
description: Report an issue or problem with the documentation.
labels: [documentation]

body:
- type: textarea
id: description
attributes:
label: Description
description: Describe the issue with the documentation that is giving you trouble or causing confusion.
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 🧑‍🤝‍🧑 Community Discord
url: https://discord.gg/6UyHPeGZAC
about: Interact with the Mintplex Labs community here by asking for help, discussing and more!
22 changes: 21 additions & 1 deletion .github/workflows/build-and-push-image.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: Publish Docker image and Github Registry

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: ['master']
paths-ignore:
- '**.md'
- 'cloud-deployments/*'
- 'images/**/*'
- '.vscode/**/*'
- '**/.env.example'
- '.github/ISSUE_TEMPLATE/**/*'

jobs:
push_to_registries:
Expand All @@ -14,6 +25,11 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Parse repository name to lowercase
shell: bash
run: echo "repo=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
id: lowercase_repo

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
Expand Down Expand Up @@ -41,6 +57,10 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ steps.meta.outputs.tags }}
${{ github.ref_name == 'master' && 'mintplexlabs/vectoradmin:latest' || '' }}
${{ github.ref_name == 'master' && format('ghcr.io/{0}:{1}', steps.lowercase_repo.outputs.repo, 'latest') || '' }}
labels: ${{ steps.meta.outputs.labels }}
Loading

0 comments on commit 3381eb8

Please sign in to comment.