Skip to content

Commit ebb8ee8

Browse files
committed
add workflows
1 parent 8a3a2fe commit ebb8ee8

File tree

7 files changed

+174
-0
lines changed

7 files changed

+174
-0
lines changed

.github/.DS_Store

6 KB
Binary file not shown.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @lloesche @aquamatthias @meln1k @anjafr

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: 🐛 Bug Report
2+
description: Report a problem
3+
labels: ['bug']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Description
13+
description: Please provide a clear and concise description of the bug or issue.
14+
validations:
15+
required: true
16+
- type: input
17+
id: version
18+
attributes:
19+
label: Version
20+
description: What version of Resoto are you running?
21+
validations:
22+
required: true
23+
- type: input
24+
id: environment
25+
attributes:
26+
label: Environment
27+
description:
28+
validations:
29+
required: false
30+
- type: textarea
31+
id: repro-steps
32+
attributes:
33+
label: Steps to Reproduce
34+
description: Please tell us how we can reproduce the undesired behavior.
35+
placeholder: |
36+
1.
37+
2.
38+
3.
39+
validations:
40+
required: false
41+
- type: textarea
42+
id: logs
43+
attributes:
44+
label: Logs
45+
description: Please copy and paste any relevant log output. (This will be automatically formatted into code, so no need for backticks.)
46+
render: shell
47+
- type: textarea
48+
id: additional-context
49+
attributes:
50+
label: Additional Context
51+
description: Provide any additional information or screenshots that may be relevant or helpful.
52+
- type: markdown
53+
attributes:
54+
value: |
55+
By submitting this bug report, I agree to follow the [code of conduct](https://resoto.com/code-of-conduct).

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💬 Discord
4+
url: https://discord.gg/someengineering
5+
about: Chat with other users and the development team
6+
- name: 📄 Documentation
7+
url: https://resoto.com/docs
8+
about: Read and search documentation
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ✨ Feature Request
2+
description: Suggest an idea
3+
labels: ['enhancement']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this feature request!
9+
- type: textarea
10+
id: motivation
11+
attributes:
12+
label: Motivation
13+
description: Please provide a clear and concise description of the rationale behind this request.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: desired-behavior
18+
attributes:
19+
label: Desired Behavior
20+
description: Provide a clear and concise description of what you want to happen.
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: additional-context
25+
attributes:
26+
label: Additional Context
27+
description: Provide any additional information or screenshots that may be relevant or helpful.
28+
- type: markdown
29+
attributes:
30+
value: |
31+
By submitting this feature request, I agree to follow the [code of conduct](https://resoto.com/code-of-conduct).

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Description
2+
3+
<!-- Please describe the changes included in this PR here. -->
4+
5+
# To-Dos
6+
7+
<!-- Before submitting this PR, please lint and test your changes locally. -->
8+
<!-- Add an 'x' between the brackets to mark each checkbox as checked. -->
9+
<!-- (Feel free to remove any items that do not apply to this PR.) -->
10+
11+
- [ ] Add test coverage for new or updated functionality
12+
- [ ] Lint and test with `tox`
13+
- [ ] Document new or updated functionality (someengineering/resoto.com#XXXX)
14+
15+
# Issues Fixed
16+
17+
<!-- If this PR will fix/resolve an open issue on the repository, please reference it below. -->
18+
<!-- (Otherwise, feel free to delete this section.) -->
19+
20+
- Fixes #XXXX
21+
22+
# Code of Conduct
23+
24+
By submitting this pull request, I agree to follow the [code of conduct](https://resoto.com/code-of-conduct).
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Check PR cloud2sql
2+
on:
3+
push:
4+
tags:
5+
- "*.*.*"
6+
branches:
7+
- main
8+
pull_request:
9+
workflow_dispatch:
10+
11+
jobs:
12+
cloud2sql:
13+
name: "cloud2sql"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: '3.11'
23+
architecture: 'x64'
24+
25+
- name: Restore dependency cache
26+
uses: actions/cache@v3
27+
with:
28+
path: ~/.cache/pip
29+
key: ${{runner.os}}-pip-${{hashFiles('**/requirements*.txt')}}
30+
restore-keys: |
31+
${{runner.os}}-pip-
32+
33+
- name: Install Dependencies
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install tox wheel flake8 build
37+
38+
- name: Run tests
39+
run: tox
40+
41+
- name: Build a binary wheel and a source tarball
42+
run: >-
43+
python -m
44+
build
45+
--sdist
46+
--wheel
47+
--outdir dist/
48+
49+
- name: Publish distribution to PyPI
50+
if: github.ref_type == 'tag'
51+
uses: pypa/gh-action-pypi-publish@release/v1
52+
with:
53+
user: __token__
54+
password: ${{ secrets.PYPI_CLOUD2SQL }}
55+
packages_dir: ./dist/

0 commit comments

Comments
 (0)