Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing release automation changes #1

Merged
merged 231 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
56d0d65
Adds checked path to log that root config path was not found
NeonDaniel Nov 2, 2021
6e10f6d
Merge pull request #3 from NeonDaniel/LOG_UpdateMissingConfLog
JarbasAl Nov 3, 2021
28badf8
release0.0.12/extract get_local_settings and save_settings from ovos-…
JarbasAl Nov 4, 2021
e0027b7
add notification api change and style parameter (#6)
AIIX Nov 9, 2021
7620990
fix/dict_nested_delete
JarbasAl Nov 11, 2021
cd5d190
Merge pull request #7 from OpenVoiceOS/fix/nested_delte
ChanceNCounter Nov 12, 2021
f567695
refactor/improve_enclosure_api (#8)
JarbasAl Nov 16, 2021
8f13603
feat/more_file_utils (#9)
JarbasAl Nov 17, 2021
6908517
Feat/better stop watch (#10)
JarbasAl Nov 17, 2021
9cc22f6
Ovos conf (#12)
NeonJarbas Dec 8, 2021
639a7e2
fix/play_audio (#14)
NeonJarbas Feb 6, 2022
0c642f3
Refactor requirements to read from files (#15)
NeonDaniel Feb 7, 2022
428869f
Loosen dependency versions for OVOS image compat (#16)
NeonDaniel Feb 9, 2022
f5e9694
refactor/deprecate_inflection (#19)
NeonJarbas Feb 14, 2022
7559643
feat/license tests workflow (#22)
JarbasAl Feb 14, 2022
34b0199
Update license_tests.yml
JarbasAl Feb 15, 2022
10f71bd
refactor/bump_requests (#20)
NeonJarbas Feb 15, 2022
b64d7b9
refactor/replace_pyxdg (#21)
NeonJarbas Feb 15, 2022
8120b16
fix/xdg paths in non-mycroft installs
JarbasAl Feb 17, 2022
f2fd0d4
fix/fallback_mycroft.conf
JarbasAl Feb 17, 2022
67f1625
Add back colour dependency (#24)
NeonDaniel Feb 18, 2022
7b09614
Add user config home to `get_xdg_config_dirs` (#23)
NeonDaniel Feb 18, 2022
9755ffb
Update license_tests.yml (#26)
NeonJarbas Feb 18, 2022
905ea05
Feat/pypi workflow (#25)
NeonJarbas Feb 18, 2022
2e7c212
Increment Version
JarbasAl Feb 18, 2022
4808220
Fix typo in configuration paths
Feb 22, 2022
c133988
Merge pull request #27 from NeonDaniel/FIX_LogicalErrorInXDGConfigDirs
ChanceNCounter Feb 22, 2022
7a8e6bc
Increment Version
ChanceNCounter Feb 22, 2022
8c00881
fix/ovos.conf reading (#28)
NeonJarbas Feb 24, 2022
e136afe
Increment Version
JarbasAl Feb 24, 2022
4b3633a
Feat/diagnostic mode (#18)
NeonJarbas Feb 24, 2022
1f3eed2
Increment Version
JarbasAl Feb 24, 2022
962b147
feat/packaging workflows (#29)
JarbasAl Feb 24, 2022
8d3f071
Increment Version
JarbasAl Feb 24, 2022
57f7909
Delete publish_test_build.yml
JarbasAl Feb 24, 2022
16c947e
feat/packaging workflows (#30)
JarbasAl Feb 25, 2022
176f462
Increment Version
JarbasAl Feb 25, 2022
5ab243d
Handle stopwatch.stop before started (#31)
NeonDaniel Feb 25, 2022
f5ef4e6
Increment Version
JarbasAl Feb 25, 2022
c45e0c4
Update version.py
JarbasAl Feb 25, 2022
ccaae37
fix changelog text
JarbasAl Feb 25, 2022
9e3c202
feat/packaging workflows (#32)
JarbasAl Feb 25, 2022
5699b3d
Refactor/remove deprecated (#11)
JarbasAl Mar 3, 2022
a7a1e7e
Increment Version
JarbasAl Mar 3, 2022
244d7dc
fix/platform_detect (#33)
JarbasAl Mar 3, 2022
bfffd39
Increment Version
JarbasAl Mar 3, 2022
ec291f4
Declare alpha stable
JarbasAl Mar 3, 2022
ae1ce31
Prepare Next Version
JarbasAl Mar 3, 2022
9d80998
Fix/resolve resource file (#34)
JarbasAl Mar 3, 2022
ba0e229
Increment Version
JarbasAl Mar 3, 2022
4d8cbb6
add process_utils.py (#35)
JarbasAl Mar 16, 2022
fa41052
Increment Version
JarbasAl Mar 16, 2022
df9dafe
feat/list_utils (#36)
JarbasAl Mar 23, 2022
c6756b8
Increment Version
JarbasAl Mar 23, 2022
e5ee93a
notify matrix chat on PR merged (#37)
JarbasAl Apr 26, 2022
985df1e
Adds ovos service api (#38)
AIIX Apr 27, 2022
c59668b
Increment Version
JarbasAl Apr 27, 2022
0c9a7b3
Declare alpha stable
NeonDaniel Apr 29, 2022
cc9092e
Prepare Next Version
NeonDaniel Apr 29, 2022
c7de616
Fix/adapt (#39)
JarbasAl May 7, 2022
55c6476
Increment Version
JarbasAl May 7, 2022
f1d295f
Fix/remove unused dep (#40)
JarbasAl May 7, 2022
6e060e0
Increment Version
JarbasAl May 7, 2022
ffbccf8
add sdist (#41)
JarbasAl May 7, 2022
2d01390
Increment Version
JarbasAl May 7, 2022
621a54a
refactor/no_adapt (#42)
JarbasAl May 9, 2022
a8ec6da
Increment Version
JarbasAl May 9, 2022
8ecdf1a
Add widgets helper (#43)
AIIX May 12, 2022
6c10f80
Increment Version
JarbasAl May 12, 2022
1f85d15
add InputDeviceHelper to detect available inputs on current system (#44)
AIIX May 17, 2022
04b9ae1
Increment Version
JarbasAl May 17, 2022
2001c68
Declare alpha stable
JarbasAl May 17, 2022
f069553
Prepare Next Version
JarbasAl May 17, 2022
0705124
support ovos-shell (#45)
JarbasAl May 17, 2022
c5300d0
Increment Version
JarbasAl May 17, 2022
651c5d9
feat/lang_utils (#47)
NeonJarbas May 31, 2022
670d458
Increment Version
JarbasAl May 31, 2022
0c81eba
fix/full_lang (#48)
NeonJarbas Jun 2, 2022
7a3495b
Increment Version
JarbasAl Jun 2, 2022
8a41bd2
Declare alpha stable
JarbasAl Jun 2, 2022
36a6abf
Prepare Next Version
JarbasAl Jun 2, 2022
45c1d81
fix/screen_check (#49)
JarbasAl Jun 7, 2022
923aaec
Increment Version
JarbasAl Jun 7, 2022
60f511e
fix/allow_LF_lang_to_be_None (#50)
JarbasAl Jun 10, 2022
a855f68
Increment Version
JarbasAl Jun 10, 2022
5308013
Prevent raising exception when msm config not present (#51)
NeonDaniel Jun 15, 2022
e5abe9a
Increment Version
JarbasAl Jun 15, 2022
dece4e6
Loosen mycroft-messagebus-client dependency (#53)
NeonDaniel Jul 6, 2022
43e1ee8
Increment Version
JarbasAl Jul 6, 2022
089669f
port/file_watcher (#54)
NeonJarbas Jul 6, 2022
7230aae
Increment Version
JarbasAl Jul 6, 2022
07e1c56
refactor/use ovos_config package (#52)
NeonDaniel Jul 6, 2022
10fa840
Increment Version
NeonDaniel Jul 6, 2022
c87d604
Update release tag workflows to include version change commits (#56)
NeonDaniel Jul 20, 2022
8badc22
Skill location utilities (#55)
NeonDaniel Jul 20, 2022
285ba03
Increment Version
JarbasAl Jul 20, 2022
1a8675d
Declare alpha stable
JarbasAl Jul 20, 2022
515d038
Prepare Next Version
JarbasAl Jul 20, 2022
40b5d12
Add extend about data method to gui utils (#57)
AIIX Aug 15, 2022
474be33
Increment Version
JarbasAl Aug 15, 2022
eb7c1d6
Handle exceptions getting cache directory when MemoryTempfile fails (…
NeonDaniel Aug 17, 2022
4ff3102
Increment Version
JarbasAl Aug 17, 2022
9fecc03
feat/ovos_api (#60)
JarbasAl Sep 6, 2022
1422533
Increment Version
JarbasAl Sep 6, 2022
3b4961a
add systemctl mycroft restart option (#61)
AIIX Sep 6, 2022
a9a73f8
Increment Version
JarbasAl Sep 6, 2022
fb9e510
Declare alpha stable
JarbasAl Sep 7, 2022
faf770c
Prepare Next Version
JarbasAl Sep 7, 2022
ef0b534
add more api methods (#62)
AIIX Sep 7, 2022
42cf8d5
Increment Version
JarbasAl Sep 7, 2022
63f4704
Add method to restart arbitrary systemd service (#63)
NeonDaniel Sep 8, 2022
0dcbf8d
Increment Version
JarbasAl Sep 8, 2022
8eaff83
fix/syntax_error (#64)
JarbasAl Sep 10, 2022
4a01a87
Increment Version
JarbasAl Sep 10, 2022
5ae6792
feat/timed_lru_cache (#65)
JarbasAl Sep 10, 2022
89455f0
Increment Version
JarbasAl Sep 10, 2022
4584fae
Add methods for controlled notifications (#66)
AIIX Sep 16, 2022
b7b787b
Increment Version
JarbasAl Sep 16, 2022
a1ec48b
Add geolocate methods support in ovos_api_service (#67)
AIIX Sep 28, 2022
4e34430
Increment Version
JarbasAl Sep 28, 2022
e93d1c4
feat/email_utils (#68)
JarbasAl Oct 3, 2022
4bf25ad
Increment Version
JarbasAl Oct 3, 2022
090416a
Update log.py (#69)
JarbasAl Oct 7, 2022
73b99a8
Increment Version
JarbasAl Oct 7, 2022
34ab952
remove "logs" subfolder (#70)
JarbasAl Oct 10, 2022
0bfed9c
Increment Version
JarbasAl Oct 10, 2022
fb10a7c
Update `ovos_config` references, Read config in `get_mycroft_bus` (#72)
NeonDaniel Oct 10, 2022
5f13f68
Increment Version
JarbasAl Oct 10, 2022
fbb6ee8
add mail api point to ovos api service (#73)
AIIX Oct 11, 2022
cc7550b
Increment Version
JarbasAl Oct 11, 2022
e8020b9
feat/xinput support (#74)
JarbasAl Oct 17, 2022
e70f335
Increment Version
JarbasAl Oct 17, 2022
c83000d
scan /dev/input for device detection (#75)
JarbasAl Oct 17, 2022
62bed41
Increment Version
JarbasAl Oct 17, 2022
700f750
fallback to True for mouse detection if libinput is missing (#76)
JarbasAl Oct 17, 2022
c600ace
Increment Version
JarbasAl Oct 17, 2022
c3372a3
fix input detect again (#77)
JarbasAl Oct 18, 2022
9d8c0d2
Increment Version
JarbasAl Oct 18, 2022
fcaa1f2
license + vulnerability tests (#78)
JarbasAl Oct 18, 2022
7e388fd
Declare alpha stable
JarbasAl Oct 18, 2022
78d5269
Prepare Next Version
JarbasAl Oct 18, 2022
23e1bb1
feat/event_wrappers_in_outils (#79)
JarbasAl Oct 19, 2022
23a3e89
Increment Version
JarbasAl Oct 19, 2022
ea738c6
refactor some stuff to properties for better compatibility with ovos-…
JarbasAl Oct 22, 2022
4e51c38
Increment Version
JarbasAl Oct 22, 2022
68c5772
Declare alpha stable
NeonDaniel Oct 29, 2022
cf10eb2
Prepare Next Version
NeonDaniel Oct 29, 2022
e16a9de
fix sudo flag (#82)
JarbasAl Nov 11, 2022
fd8c158
Increment Version
JarbasAl Nov 11, 2022
8da6f2e
fix sudo flag again (#83)
JarbasAl Nov 11, 2022
73b1ef3
Update system.py
JarbasAl Nov 11, 2022
5bb8fb9
Increment Version
JarbasAl Nov 11, 2022
c2d22e8
gui notification callback data (#84)
AIIX Nov 15, 2022
8bab80d
Increment Version
JarbasAl Nov 15, 2022
0aa1c05
Add background_color to show image and show animated image (#86)
AIIX Nov 30, 2022
8e0c4b7
Increment Version
JarbasAl Nov 30, 2022
2f3a979
sync utils with core (#89)
JarbasAl Dec 16, 2022
d66d537
Increment Version
JarbasAl Dec 16, 2022
739078c
fix/mouse_detect_again (#90)
JarbasAl Jan 5, 2023
cd88580
Increment Version
JarbasAl Jan 5, 2023
84824fc
add transient duration config (#92)
emphasize Jan 12, 2023
2421af7
Increment Version
AIIX Jan 12, 2023
d1c3d5a
Log deprecation warning in `layers` module (#93)
NeonDaniel Jan 20, 2023
bc7d285
Increment Version
JarbasAl Jan 20, 2023
30b2808
Declare alpha stable
NeonDaniel Jan 20, 2023
c9b1b56
Prepare Next Version
NeonDaniel Jan 20, 2023
3762aa5
According to the usage, you should be able to pass the name to LOG().…
gmsoft-tuxicoman Jan 25, 2023
faca9d0
Increment Version
JarbasAl Jan 25, 2023
f399f0a
feat/network_reqs_from_workshop (#96)
JarbasAl Feb 4, 2023
ba72670
Increment Version
JarbasAl Feb 4, 2023
c4d7deb
feat/runtime_requirements gui (#97)
JarbasAl Feb 7, 2023
d1b069e
Increment Version
JarbasAl Feb 7, 2023
7976b7c
minor utils fix (#98)
JarbasAl Feb 8, 2023
dc8df89
Increment Version
JarbasAl Feb 8, 2023
f9eccbf
improve network checks (#88)
JarbasAl Feb 15, 2023
6f39969
Increment Version
NeonDaniel Feb 15, 2023
2c732de
Handle default network config values if core configuration is incompl…
NeonDaniel Feb 15, 2023
82078f7
Increment Version
JarbasAl Feb 15, 2023
4f7dc30
Refactor SSH helpers and add generic systemd helpers (#95)
NeonDaniel Feb 16, 2023
cf823b7
Increment Version
JarbasAl Feb 16, 2023
4937b34
Declare alpha stable
NeonDaniel Feb 24, 2023
b13a5a3
Prepare Next Version
NeonDaniel Feb 24, 2023
fa1f865
Migrate/lock monotonic event (#100)
JarbasAl Mar 3, 2023
e2153c3
Increment Version
JarbasAl Mar 3, 2023
843c829
fix/circular_import (#101)
JarbasAl Mar 3, 2023
56c9dcf
Increment Version
JarbasAl Mar 3, 2023
9051297
Declare alpha stable
JarbasAl Mar 3, 2023
e00064f
Prepare Next Version
JarbasAl Mar 3, 2023
bd7245f
Implement module_property decorator with unit test (#103)
NeonDaniel Mar 8, 2023
52d9735
Increment Version
JarbasAl Mar 8, 2023
a04f971
feat/console_scripts (#105)
JarbasAl Mar 8, 2023
235cfac
Increment Version
JarbasAl Mar 8, 2023
9aed7f2
Bump ovos-config dependency cleanup module init (#104)
NeonDaniel Mar 8, 2023
65a6fb8
Increment Version
JarbasAl Mar 8, 2023
cff32dc
Update dependencies to stable versions (#107)
NeonDaniel Mar 9, 2023
0286ac8
Increment Version
JarbasAl Mar 9, 2023
0452b02
Declare alpha stable
NeonDaniel Mar 9, 2023
0b207c7
Prepare Next Version
NeonDaniel Mar 9, 2023
c582217
add show input box method for skills (#109)
AIIX Mar 23, 2023
779e60f
Increment Version
JarbasAl Mar 23, 2023
34f269f
refactor/ovos-bus-client (#110)
JarbasAl Apr 5, 2023
71430c2
Increment Version
JarbasAl Apr 5, 2023
df84def
feat/FakeMessage (#111)
JarbasAl Apr 5, 2023
3d25675
Increment Version
JarbasAl Apr 5, 2023
921880e
Update rapidfuzz dependency (#112)
NeonDaniel Apr 6, 2023
a55787f
Increment Version
JarbasAl Apr 6, 2023
e1fab85
fix/missing_dependency (#114)
JarbasAl Apr 7, 2023
57d72f4
Increment Version
JarbasAl Apr 7, 2023
934f534
fix/missing_dependency (#115)
JarbasAl Apr 7, 2023
dbe73fa
Increment Version
JarbasAl Apr 7, 2023
f2576ee
feat/PKGBUILD (#116)
JarbasAl Apr 10, 2023
2d056f1
Update publish_AUR.yml
JarbasAl Apr 10, 2023
8b50157
Feat/optional ovos config (#106)
JarbasAl Apr 10, 2023
13cc44b
Increment Version
JarbasAl Apr 10, 2023
5e38575
Update input device checks (#81)
NeonDaniel Apr 11, 2023
728282a
Increment Version
JarbasAl Apr 11, 2023
708ce8c
add back wrapper around removed methods (#118)
JarbasAl Apr 11, 2023
2fbd310
Increment Version
JarbasAl Apr 11, 2023
bf0df61
fix/bus compat (#121)
JarbasAl Apr 11, 2023
164a15d
Increment Version
JarbasAl Apr 11, 2023
6ce2c27
Deprecate internal `ovos_config.config` references (#122)
NeonDaniel Apr 11, 2023
79f9d10
Increment Version
JarbasAl Apr 11, 2023
643bdd3
feat/native_OCP (#120)
JarbasAl Apr 12, 2023
2bf4fdc
Increment Version
JarbasAl Apr 12, 2023
309abad
[log] Only creates directory if not stdout (#125)
goldyfruit Apr 13, 2023
1146062
Increment Version
JarbasAl Apr 13, 2023
cf8467f
Update docstrings, annotate deprecation, and outline unit tests (#119)
NeonDaniel Apr 13, 2023
b1b6145
Increment Version
JarbasAl Apr 13, 2023
a773b6e
WIP release automation changes
NeonDaniel Apr 13, 2023
5f7b04c
Update `propose_release` to support added changelog actions
NeonDaniel Apr 13, 2023
bc1f6c5
Disable publish automations for testing
NeonDaniel Apr 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 34 additions & 4 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,55 @@
name: Run Build Tests
on:
push:
branches:
- master
pull_request:
branches:
- dev
paths-ignore:
- 'ovos_utils/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'readme.md'
- 'scripts/**'
workflow_dispatch:

jobs:
build_tests:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev
- name: Build Source Packages
run: |
python setup.py sdist
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Install package
run: |
pip install .
pip install .[all]
- uses: pypa/gh-action-pip-audit@v1.0.0
with:
# Ignore setuptools vulnerability we can't do much about
ignore-vulns: |
GHSA-r9hx-vwmv-q579
44 changes: 44 additions & 0 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Run License Tests
on:
push:
branches:
- master
pull_request:
branches:
- dev
workflow_dispatch:

jobs:
license_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev
- name: Install core repo
run: |
pip install .
- name: Get explicit and transitive dependencies
run: |
pip freeze > requirements-all.txt
- name: Check python
id: license_check_report
uses: pilosus/action-pip-license-checker@v0.5.0
with:
requirements: 'requirements-all.txt'
fail: 'Copyleft,Other,Error'
fails-only: true
exclude: '^(tqdm).*'
exclude-license: '^(Mozilla).*$'
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
23 changes: 23 additions & 0 deletions .github/workflows/notify_matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Notify Matrix Chat

# only trigger on pull request closed events
on:
pull_request:
types: [ closed ]

jobs:
merge_job:
# this job will only run if the PR has been merged
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Send message to Matrix bots channel
id: matrix-chat-message
uses: fadenb/matrix-chat-message@v0.0.6
with:
homeserver: 'matrix.org'
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
message: |
new ovos-utils PR merged! https://github.com/OpenVoiceOS/ovos_utils/pull/${{ github.event.number }}
31 changes: 31 additions & 0 deletions .github/workflows/propose_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Propose Stable Release
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: Release Type
options:
- build
- minor
- major
jobs:
update_version:
uses: neongeckocom/.github/.github/workflows/propose_semver_release.yml@FEAT_OvosPackageSupport
with:
release_type: ${{ inputs.release_type }}
version_file: ovos_utils/version.py
alpha_var: VERSION_ALPHA
build_var: VERSION_BUILD
minor_var: VERSION_MINOR
major_var: VERSION_MAJOR
update_changelog: True
branch: dev

pull_changes:
uses: neongeckocom/.github/.github/workflows/pull_master.yml@master
with:
pr_assignee: ${{ github.actor }}
pr_draft: false
pr_title: ${{ needs.update_version.outputs.version }}
pr_body: ${{ needs.update_version.outputs.changelog }}
40 changes: 40 additions & 0 deletions .github/workflows/publish_AUR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow will generate a distribution and upload it to PyPI

name: aur-publish

on:
workflow_dispatch:

jobs:
aur-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel pip2pkgbuild
- name: Create PKGBUILD
run: |
pip2pkgbuild ovos-utils -p python -b python-ovos-utils
- name: Commit to dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: generate PKGBUILD
branch: dev
- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@master
with:
pkgname: ovos-utils
pkgbuild: ./PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
77 changes: 77 additions & 0 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# This workflow will generate a distribution and upload it to PyPI

name: Publish Alpha Build ...aX
on:
push:
branches:
- dev
paths-ignore:
- 'ovos_utils/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'readme.md'
- 'scripts/**'
workflow_dispatch:

jobs:
update_version:
uses: neongeckocom/.github/.github/workflows/propose_semver_release.yml@FEAT_OvosPackageSupport
with:
release_type: "alpha"
version_file: ovos_utils/version.py
alpha_var: VERSION_ALPHA
build_var: VERSION_BUILD
minor_var: VERSION_MINOR
major_var: VERSION_MAJOR
update_changelog: True
branch: dev
build_and_publish:
if: False
# TODO: Remove test patch above
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: "Generate release changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: changelog
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: V${{ steps.version.outputs.version }}
release_name: Release ${{ steps.version.outputs.version }}
body: |
Changes in this Release
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: true
commitish: dev
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}
45 changes: 45 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Publish Release
on:
push:
branches:
- master

jobs:
github_release:
if: false
# TODO: Remove test patch above
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: "Generate release changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: changelog
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: V${{ steps.version.outputs.version }}
release_name: Release ${{ steps.version.outputs.version }}
body: |
Changes in this Release
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
commitish: master
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{secrets.PYPI_TOKEN}}