Skip to content

Commit

Permalink
Merge pull request #6 from CBroz1/main
Browse files Browse the repository at this point in the history
Add .github files
  • Loading branch information
kabilar authored Dec 21, 2022
2 parents b232933 + a9d0130 commit 1f8ef10
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: ''

---

## Bug Report

### Description

A clear and concise description of what is the overall operation that is intended to be
performed that resulted in an error.

### Reproducibility
Include:
- OS (WIN | MACOS | Linux)
- DataJoint Element Version
- MySQL Version
- MySQL Deployment Strategy (local-native | local-docker | remote)
- Minimum number of steps to reliably reproduce the issue
- Complete error stack as a result of evaluating the above steps

### Expected Behavior
A clear and concise description of what you expected to happen.

### Screenshots
If applicable, add screenshots to help explain your problem.

### Additional Research and Context
Add any additional research or context that was conducted in creating this report.

For example:
- Related GitHub issues and PR's either within this repository or in other relevant
repositories.
- Specific links to specific lines or a focus within source code.
- Relevant summary of Maintainers development meetings, milestones, projects, etc.
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: false
contact_links:
- name: DataJoint Contribution Guideline
url: https://datajoint.com/docs/community/contribute/
about: Please make sure to review the DataJoint Contribution Guidelines
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: Feature request
about: Suggest an idea for a new feature
title: ''
labels: 'enhancement'
assignees: ''

---

## Feature Request

### Problem

A clear and concise description how this idea has manifested and the context. Elaborate
on the need for this feature and/or what could be improved. Ex. I'm always frustrated
when [...]

### Requirements

A clear and concise description of the requirements to satisfy the new feature. Detail
what you expect from a successful implementation of the feature. Ex. When using this
feature, it should [...]

### Justification

Provide the key benefits in making this a supported feature. Ex. Adding support for this
feature would ensure [...]

### Alternative Considerations

Do you currently have a work-around for this? Provide any alternative solutions or
features you've considered.

### Related Errors
Add any errors as a direct result of not exposing this feature.

Please include steps to reproduce provided errors as follows:
- OS (WIN | MACOS | Linux)
- DataJoint Element Version
- MySQL Version
- MySQL Deployment Strategy (local-native | local-docker | remote)
- Minimum number of steps to reliably reproduce the issue
- Complete error stack as a result of evaluating the above steps

### Screenshots
If applicable, add screenshots to help explain your feature.

### Additional Research and Context
Add any additional research or context that was conducted in creating this feature request.

For example:
- Related GitHub issues and PR's either within this repository or in other relevant
repositories.
- Specific links to specific lines or a focus within source code.
- Relevant summary of Maintainers development meetings, milestones, projects, etc.
- Any additional supplemental web references or links that would further justify this
feature request.
17 changes: 17 additions & 0 deletions .github/workflows/u24_element_before_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: u24_element_before_release
on:
pull_request:
push:
branches:
- '**'
tags-ignore:
- '**'
workflow_dispatch:
jobs:
call_context_check:
uses: dj-sciops/djsciops-cicd/.github/workflows/context_check.yaml@main
call_u24_elements_build_alpine:
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_build.yaml@main
with:
py_ver: 3.9
image: djbase
30 changes: 30 additions & 0 deletions .github/workflows/u24_element_release_call.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: u24_element_release_call
on:
workflow_run:
workflows: ["u24_element_tag_to_release"]
types:
- completed
jobs:
call_context_check:
uses: dj-sciops/djsciops-cicd/.github/workflows/context_check.yaml@main
test_call_u24_elements_release_alpine:
if: >-
github.event.workflow_run.conclusion == 'success' && ( contains(github.event.workflow_run.head_branch, 'test') || (github.event.workflow_run.event == 'pull_request'))
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_release.yaml@main
with:
py_ver: 3.9
twine_repo: testpypi
secrets:
TWINE_USERNAME: ${{secrets.TWINE_TEST_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_TEST_PASSWORD}}
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}
call_u24_elements_release_alpine:
if: >-
github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'datajoint' && !contains(github.event.workflow_run.head_branch, 'test')
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_release.yaml@main
with:
py_ver: 3.9
secrets:
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}
14 changes: 14 additions & 0 deletions .github/workflows/u24_element_tag_to_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: u24_element_tag_to_release
on:
push:
tags:
- '*.*.*'
- 'test*.*.*'
jobs:
call_context_check:
uses: dj-sciops/djsciops-cicd/.github/workflows/context_check.yaml@main
call_u24_elements_build_alpine:
uses: dj-sciops/djsciops-cicd/.github/workflows/u24_element_build.yaml@main
with:
py_ver: 3.9
image: djbase

0 comments on commit 1f8ef10

Please sign in to comment.