Skip to content

Commit 4200c2b

Browse files
authored
Update Docker, GHA, and License notices (#32)
* Add manual image update workflow * Update unit tests to cover currently supported Python versions and use latest shared actions * Update Docker configuration handling to override default instead of system Update requirements Update Dockerfile to use modern syntax * Update license notices to 2025
1 parent 9511616 commit 4200c2b

File tree

14 files changed

+37
-22
lines changed

14 files changed

+37
-22
lines changed

.github/workflows/unit_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
unit_tests:
1616
strategy:
1717
matrix:
18-
python-version: [3.7, 3.8, 3.9, '3.10']
18+
python-version: [3.9, '3.10', '3.11', '3.12']
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222
- name: Set up python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
pytest tests/test_email_utils.py --doctest-modules --junitxml=tests/email-utils-test-results.xml
3434
- name: Upload Email test results
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3636
with:
37-
name: email-utils-test-results
37+
name: email-utils-test-results-${{ matrix.python-version }}
3838
path: tests/email-utils-test-results.xml
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Publish Updated Docker Image
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
7+
build_and_publish_docker:
8+
uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master
9+
secrets: inherit
10+
with:
11+
include_semver: False

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ FROM python:3.10-slim
33
LABEL vendor=neon.ai \
44
ai.neon.name="neon-email-proxy"
55

6-
ENV OVOS_CONFIG_BASE_FOLDER neon
7-
ENV OVOS_CONFIG_FILENAME diana.yaml
8-
ENV XDG_CONFIG_HOME /config
6+
ENV OVOS_CONFIG_BASE_FOLDER=neon
7+
ENV OVOS_CONFIG_FILENAME=diana.yaml
8+
ENV OVOS_DEFAULT_CONFIG=/opt/neon/diana.yaml
9+
ENV XDG_CONFIG_HOME=/config
910
COPY docker_overlay/ /
1011

1112
RUN apt-get update && \

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System
22
# All trademark and other rights reserved by their respective owners
3-
# Copyright 2008-2021 Neongecko.com Inc.
3+
# Copyright 2008-2025 Neongecko.com Inc.
44
# BSD-3 License
55

66
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the

docker_overlay/etc/neon/diana.yaml renamed to docker_overlay/opt/neon/diana.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ logs:
55
- pika
66
warning:
77
- filelock
8-
info: []
8+
- watchdog
9+
- httpcore
10+
info:
11+
- asyncio
912
debug: []
1013
MQ:
11-
server: api.neon.ai
14+
server: neon-rabbitmq
1215
port: 5672
1316
users:
1417
mq_handler:

neon_email_proxy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework
22
# All trademark and other rights reserved by their respective owners
3-
# Copyright 2008-2022 Neongecko.com Inc.
3+
# Copyright 2008-2025 Neongecko.com Inc.
44
# Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds,
55
# Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo
66
# BSD-3 License

neon_email_proxy/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework
22
# All trademark and other rights reserved by their respective owners
3-
# Copyright 2008-2022 Neongecko.com Inc.
3+
# Copyright 2008-2025 Neongecko.com Inc.
44
# Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds,
55
# Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo
66
# BSD-3 License

neon_email_proxy/email_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework
22
# All trademark and other rights reserved by their respective owners
3-
# Copyright 2008-2022 Neongecko.com Inc.
3+
# Copyright 2008-2025 Neongecko.com Inc.
44
# Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds,
55
# Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo
66
# BSD-3 License

neon_email_proxy/email_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework
22
# All trademark and other rights reserved by their respective owners
3-
# Copyright 2008-2022 Neongecko.com Inc.
3+
# Copyright 2008-2025 Neongecko.com Inc.
44
# Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds,
55
# Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo
66
# BSD-3 License

requirements/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
yagmail~=0.11
22
ovos-utils~=0.0,>=0.0.34
3-
ovos-config~=0.0,>=0.0.10
4-
neon_utils~=1.0
5-
neon_mq_connector~=0.7
3+
ovos-config~=0.1
4+
neon_utils[sentry]~=1.0
5+
neon_mq_connector~=0.7,>=0.7.2a10

0 commit comments

Comments
 (0)