Publish images, assets and the Python package from CI
CI / validate-monitoring (push) Successful in 7s
CI / lint (push) Successful in 10s
CI / test (push) Successful in 37s
CI / python-package (push) Skipped
CI / assets (push) Successful in 8s
CI / images (push) Failing after 21s
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 7s
CI / lint (push) Successful in 10s
CI / test (push) Successful in 37s
CI / python-package (push) Skipped
CI / assets (push) Successful in 8s
CI / images (push) Failing after 21s
CI / notify (push) Successful in 5s
- Pushes to main and v* tags publish only after every check passes: API and UI images to the ProGet Docker feed, the OpenAPI spec, dashboards and Prometheus config to the asset feed - v* tags also publish the wheel/sdist to the ProGet PyPI feed - The version comes from the tag (main builds: <version>+g<sha>) and __version__ reads it from package metadata - One ntfy notification per run summarising every job that ran and the image tags published Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
This commit is contained in:
1 parent
d7c6830cf7
commit
c44f7ec722
3 files changed
+139
-14
No files matched your search
@@ -1,6 +1,11 @@
|
||||
"""Self-hosted, Last.fm-compatible music scrobbling service."""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
from importlib.metadata import PackageNotFoundError, version
|
||||
|
||||
try:
|
||||
__version__ = version("scrobbler") # set from the release tag at build time
|
||||
except PackageNotFoundError: # running from a source tree without installing
|
||||
__version__ = "0.0.0+unknown"
|
||||
|
||||
|
||||
def create_app(config_object=None):
|
||||
|
||||
Reference in new issue
Block a user