-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip(build): First rough files for github issue templates and workflow
- Loading branch information
1 parent
e0edaa4
commit 4d784a6
Showing
3 changed files
with
121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
tags: | ||
- v* | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
DOCKER_BUILDKIT: 1 | ||
TARGET_PLATFORMS: linux/amd64,linux/arm64 | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: kcworks | ||
|
||
jobs: | ||
build_and_release: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Set up Python 3.9 environment | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: "3.9" | ||
|
||
# Cache docker images so they don't rebuild every time | ||
# - name: Cache Local Images | ||
# id: local-images | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: /var/lib/docker/ | ||
# key: local-docker-directory | ||
|
||
# - name: Build Images | ||
# run: | | ||
# docker compose up -d --build | ||
|
||
# - name: Set up services | ||
# run: | | ||
# docker exec -it knowledgecommonsworks_web-ui_1 bash -c "bash ./scripts/setup-services.sh" | ||
# exit | ||
|
||
# - name: Build statics and assets | ||
# run: | | ||
# docker exec -it knowledgecommonsworks_web-ui_1 bash -c "bash ./scripts/build-assets.sh" | ||
# exit | ||
|
||
# - name: Run unit tests | ||
# run: cd site && pytest | ||
|
||
# - name: Stop services | ||
# if: always() | ||
# run: | | ||
# docker compose down | ||
|