File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Frinx Services Python Workers Bug
2+ description : Report a bug or unexpected behavior in frinx-services-python-workers
3+ labels : [bug, pending]
4+
5+ body :
6+ - type : markdown
7+ attributes :
8+ value : Thank you for contributing to frinx-services-python-workers!
Original file line number Diff line number Diff line change 1+ #### Checklist
2+ <!-- [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
3+ - [ ] Title of the PR starts with chart name (e.g. ` [inventory] ` )
4+ - [ ] Update package version in principles of semantic versioning
5+ - [ ] Update CHANGELOG.md
Original file line number Diff line number Diff line change 1+ name : Release package
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ utils :
7+ type : choice
8+ description : Release package from utils
9+ options :
10+ - inventory/python
11+ - resource-manager/python
12+ - schellar/python
13+ - topology-discovery/python
14+ - uniconfig/python
15+ - misc/python/http
16+ - misc/python/kafka
17+ - misc/python/influxdb
18+ - misc/python/conductor-system-test
19+
20+ jobs :
21+ build :
22+ name : Validate api packages
23+ runs-on : ubuntu-latest
24+ timeout-minutes : 5
25+ defaults :
26+ run :
27+ working-directory : ${{ inputs.utils }}
28+ steps :
29+ - uses : actions/checkout@v2
30+ - uses : actions/setup-python@v4
31+ with :
32+ python-version : " 3.10"
33+ - uses : abatilo/actions-poetry@v2
34+ with :
35+ poetry-version : " 1.7.0"
36+ - name : Package naming
37+ run : |
38+ echo "PACKAGE_NAME=$(poetry version --no-interaction | cut -d ' ' -f 1)" >> "$GITHUB_ENV"
39+ echo "PACKAGE_VERSION=$(poetry version --no-interaction --short)" >> "$GITHUB_ENV"
40+ echo "RELEASE_TAG=$(poetry version --no-interaction | sed 's| |_v|g')" >> "$GITHUB_ENV"
41+ # - name: Poetry publish
42+ # run: poetry publish -u "__token__" -p "${{ secrets.PYPI_TOKEN }}" --build
43+ - name : Create Release
44+ id : create_release
45+ uses : actions/create-release@latest
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ with :
49+ tag_name : ${{ env.RELEASE_TAG }}
50+ release_name : ${{ env.RELEASE_TAG }}
51+ body : |
52+ - Release of ${{ env.PACKAGE_NAME }} version ${{ env.PACKAGE_VERSION }}
53+ draft : false
54+ prerelease : false
You can’t perform that action at this time.
0 commit comments