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

Release 23.03.15 #364

Merged
merged 37 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
174cc24
Remove deprecated modules (#258)
NeonDaniel Feb 7, 2023
814a268
Increment Version
NeonDaniel Feb 7, 2023
9edb406
Add homeassistant plugin to pi requirements (#363)
NeonDaniel Feb 9, 2023
0e3cac8
Increment Version
NeonDaniel Feb 9, 2023
5ec9a6d
Update automation to shared repository (#367)
NeonDaniel Feb 17, 2023
0a133bf
Increment Version
NeonDaniel Feb 17, 2023
a8bc131
Remove invalid pypi automation (#369)
NeonDaniel Feb 23, 2023
52e495f
Increment Version
NeonDaniel Feb 23, 2023
bb78cd5
Update Dependencies to Alpha Versions (#368)
NeonDaniel Feb 24, 2023
a98b36c
Increment Version
NeonDaniel Feb 24, 2023
296e719
Update DCC skill and Speech module to support WW change (#370)
NeonDaniel Mar 2, 2023
f822e60
Increment Version
NeonDaniel Mar 2, 2023
8d49774
Update core updater dependency (#371)
NeonDaniel Mar 4, 2023
eb37535
Increment Version
NeonDaniel Mar 4, 2023
17b01e3
Enclosure Module Docker Compose (#373)
NeonDaniel Mar 6, 2023
e503e0e
Increment Version
NeonDaniel Mar 6, 2023
2e1814c
Update neon-utils dependency to support latest ovos-utils (#374)
NeonDaniel Mar 7, 2023
0876ae3
Increment Version
NeonDaniel Mar 7, 2023
a02027c
Update Skills (#372)
NeonDaniel Mar 9, 2023
a5f2224
Increment Version
NeonDaniel Mar 9, 2023
b5761c2
Update core modules and OVOS dependencies to stable releases (#377)
NeonDaniel Mar 11, 2023
25a5455
Increment Version
NeonDaniel Mar 11, 2023
b62041d
Update Alpha release action to shared workflow (#379)
NeonDaniel Mar 13, 2023
1c9b693
Increment Version
NeonDaniel Mar 13, 2023
0966049
Fix setup.py paths to support shared actions (#380)
NeonDaniel Mar 14, 2023
d489181
Increment Version
NeonDaniel Mar 14, 2023
57e1329
Remove patches now handled in ovos-core (#378)
NeonDaniel Mar 14, 2023
267ee4e
Increment Version
NeonDaniel Mar 14, 2023
d4d1cee
Patch mycroft.MycroftSkill with unit tests (#381)
NeonDaniel Mar 15, 2023
b29e6cc
Increment Version
NeonDaniel Mar 15, 2023
f6d54b2
Update dependencies to stable versions (#382)
NeonDaniel Mar 15, 2023
f0080d3
Increment Version
NeonDaniel Mar 15, 2023
2ecbf74
Refactor documentation into separate files (#324)
NeonDaniel Mar 15, 2023
cd88a1b
Increment Version
NeonDaniel Mar 15, 2023
bd8ef4e
Update homeassistant skill to latest version (#383)
NeonDaniel Mar 15, 2023
1739840
Increment Version
NeonDaniel Mar 15, 2023
1771064
Update version to 22.3.15 (#384)
NeonDaniel Mar 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 1 addition & 33 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,4 @@ on:

jobs:
license_tests:
timeout-minutes: 15
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 libfann-dev portaudio19-dev libpulse-dev
- name: Install core repo
run: |
pip install .[pi,docker]
- 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: '^(precise-runner|fann2|tqdm|bs4|ovos-phal-plugin|ovos-skill|neon-core|nvidia|neon-phal-plugin).*'
exclude-license: '^(Mozilla|NeonAI License v1.0).*$'
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
uses: neongeckocom/.github/.github/workflows/license_tests.yml@master
66 changes: 7 additions & 59 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
branches:
- master

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/neon_skills

jobs:
tag_release:
runs-on: ubuntu-latest
Expand All @@ -24,58 +20,10 @@ jobs:
token: ${{secrets.GITHUB_TOKEN}}
tag: ${{env.VERSION}}
build_and_publish_docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Version
id: version
run: |
VERSION=$(sed "s/a/-a./" <<< $(python setup.py --version))
echo ::set-output name=version::${VERSION}

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for base Docker
id: base_meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}},value=${{ steps.version.outputs.version }}
type=ref,event=branch
- name: Build and push base Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.base_meta.outputs.tags }}
labels: ${{ steps.base_meta.outputs.labels }}
target: base

- name: Extract metadata for default_skills Docker
id: default_skills_meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-default_skills
tags: |
type=semver,pattern={{version}},value=${{ steps.version.outputs.version }}
type=ref,event=branch
- name: Build and push default_skills Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.default_skills_meta.outputs.tags }}
labels: ${{ steps.default_skills_meta.outputs.labels }}
target: default_skills
needs: build_and_publish_pypi_and_release
uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master
secrets: inherit
with:
image_name: ${{ github.repository_owner }}/neon_skills
base_tag: base
extra_tag: default_skills
116 changes: 15 additions & 101 deletions .github/workflows/publish_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,106 +8,20 @@ on:
paths-ignore:
- 'version.py'

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/neon_skills

jobs:
increment_version:
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
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Increment Version
run: |
VER=$(python setup.py --version)
python version_bump.py
- name: Push Version Change
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Increment Version
tag_alpha_release:
runs-on: ubuntu-latest
needs: increment_version
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Version
id: version
run: |
VERSION=$(python setup.py --version)
echo ::set-output name=version::${VERSION}
- name: Create Pre-release
uses: ncipollo/release-action@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
tag: ${{steps.version.outputs.version}}
commit: ${{ github.ref }}
prerelease: true
publish_alpha_release:
uses: neongeckocom/.github/.github/workflows/publish_alpha_release.yml@master
secrets: inherit
with:
version_file: "version.py"
setup_py: "setup.py"
publish_pypi: false
publish_prerelease: true
build_and_publish_docker:
runs-on: ubuntu-latest
needs: increment_version
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Get Version
id: version
run: |
VERSION=$(sed "s/a/-a./" <<< $(python setup.py --version))
echo ::set-output name=version::${VERSION}

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for base Docker
id: base_meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}},value=${{ steps.version.outputs.version }}
type=ref,event=branch
- name: Build and push base Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.base_meta.outputs.tags }}
labels: ${{ steps.base_meta.outputs.labels }}
target: base

- name: Extract metadata for default_skills Docker
id: default_skills_meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-default_skills
tags: |
type=semver,pattern={{version}},value=${{ steps.version.outputs.version }}
type=ref,event=branch
- name: Build and push default_skills Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.default_skills_meta.outputs.tags }}
labels: ${{ steps.default_skills_meta.outputs.labels }}
target: default_skills
needs: publish_alpha_release
uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master
secrets: inherit
with:
image_name: ${{ github.repository_owner }}/neon_skills
base_tag: base
extra_tag: default_skills
15 changes: 4 additions & 11 deletions .github/workflows/pull_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ on:
push:
branches:
- dev
workflow_dispatch:

jobs:
pull_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pull-request-action
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_reviewer: 'neonreviewers'
pr_assignee: 'neondaniel'
pr_draft: true
uses: neongeckocom/.github/.github/workflows/pull_master.yml@master
with:
pr_reviewer: neonreviewers
pr_assignee: neondaniel
21 changes: 6 additions & 15 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,13 @@ on:
push:
workflow_dispatch:

# TODO: Run tests here for everything in NeonCore
jobs:
build_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: Build Distribution Packages
run: |
python setup.py bdist_wheel
py_build_tests:
uses: neongeckocom/.github/.github/workflows/python_build_tests.yml@master
with:
python_version: "3.8"
docker_build_tests:
uses: neongeckocom/.github/.github/workflows/docker_build_tests.yml@master
util_tests:
strategy:
matrix:
Expand Down
44 changes: 7 additions & 37 deletions .github/workflows/update_skills_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,11 @@ name: Update Skills Image
on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/neon_skills

jobs:
update_default_skills_image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata for default_skills Docker
id: default_skills_meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-default_skills
tags: |
type=ref,event=branch
- name: Build and push default_skills Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.default_skills_meta.outputs.tags }}
labels: ${{ steps.default_skills_meta.outputs.labels }}
target: default_skills
build_and_publish_docker:
needs: build_and_publish_pypi
uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master
secrets: inherit
with:
image_name: ${{ github.repository_owner }}/neon_skills-default_skills
base_tag: default_skills
Loading