From c69cd23e809bc85ad20f6b38194dcb52eda07c77 Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:49:00 -0800 Subject: [PATCH] Add Docker container update automation (#20) * Add Docker manual release action Update license notices to 2025 * Update neon-utils dependency to stable spec * Whitelist MIT-licensed `attrs` package that is failing license tests --- .github/workflows/license_tests.yml | 2 +- .github/workflows/update_docker_images.yml | 11 +++++++++++ LICENSE.md | 2 +- neon_llm_chatgpt/__init__.py | 2 +- neon_llm_chatgpt/__main__.py | 2 +- neon_llm_chatgpt/chatgpt.py | 2 +- neon_llm_chatgpt/rmq.py | 2 +- requirements/requirements.txt | 2 +- setup.py | 2 +- version.py | 2 +- 10 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/update_docker_images.yml diff --git a/.github/workflows/license_tests.yml b/.github/workflows/license_tests.yml index b8217ea..494e2ac 100644 --- a/.github/workflows/license_tests.yml +++ b/.github/workflows/license_tests.yml @@ -9,4 +9,4 @@ jobs: license_tests: uses: neongeckocom/.github/.github/workflows/license_tests.yml@master with: - packages-exclude: '^(neon-llm-chatgpt|tqdm|klat-connector|neon-chatbot|dnspython).*' \ No newline at end of file + packages-exclude: '^(neon-llm|tqdm|klat-connector|neon-chatbot|dnspython|attrs).*' \ No newline at end of file diff --git a/.github/workflows/update_docker_images.yml b/.github/workflows/update_docker_images.yml new file mode 100644 index 0000000..c777ec0 --- /dev/null +++ b/.github/workflows/update_docker_images.yml @@ -0,0 +1,11 @@ +name: Publish Updated Docker Image +on: + workflow_dispatch: + +jobs: + + build_and_publish_docker: + uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master + secrets: inherit + with: + include_semver: False \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index 525bb37..0fdcf76 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System # All trademark and other rights reserved by their respective owners -# Copyright 2008-2021 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # BSD-3 License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the diff --git a/neon_llm_chatgpt/__init__.py b/neon_llm_chatgpt/__init__.py index d782cbb..f6f252a 100644 --- a/neon_llm_chatgpt/__init__.py +++ b/neon_llm_chatgpt/__init__.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System # All trademark and other rights reserved by their respective owners -# Copyright 2008-2021 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # BSD-3 # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/neon_llm_chatgpt/__main__.py b/neon_llm_chatgpt/__main__.py index 55ac1ae..5c82d34 100644 --- a/neon_llm_chatgpt/__main__.py +++ b/neon_llm_chatgpt/__main__.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System # All trademark and other rights reserved by their respective owners -# Copyright 2008-2021 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # BSD-3 # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/neon_llm_chatgpt/chatgpt.py b/neon_llm_chatgpt/chatgpt.py index 1875c5d..4af3d73 100644 --- a/neon_llm_chatgpt/chatgpt.py +++ b/neon_llm_chatgpt/chatgpt.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System # All trademark and other rights reserved by their respective owners -# Copyright 2008-2021 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # BSD-3 # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/neon_llm_chatgpt/rmq.py b/neon_llm_chatgpt/rmq.py index 117b202..c63a289 100644 --- a/neon_llm_chatgpt/rmq.py +++ b/neon_llm_chatgpt/rmq.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System # All trademark and other rights reserved by their respective owners -# Copyright 2008-2021 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # BSD-3 # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 0c2c770..b66f7bc 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -2,5 +2,5 @@ openai[embeddings]~=0.27 # networking neon_llm_core[chatbots]~=0.1.0,>=0.1.1a5 -neon_utils[sentry]==1.11.1a5 +neon-utils[sentry]~=1.12 diff --git a/setup.py b/setup.py index 64747b5..5ebad32 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework # All trademark and other rights reserved by their respective owners -# Copyright 2008-2022 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds, # Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo # BSD-3 License diff --git a/version.py b/version.py index 74f99f8..4ae6b9f 100644 --- a/version.py +++ b/version.py @@ -1,6 +1,6 @@ # NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework # All trademark and other rights reserved by their respective owners -# Copyright 2008-2022 Neongecko.com Inc. +# Copyright 2008-2025 Neongecko.com Inc. # Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds, # Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo # BSD-3 License