From 7e9fbb1bf6384e5c8efe0a125492c36680505ff8 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sun, 31 May 2026 13:10:31 -0400 Subject: [PATCH] [tooling] Try to fix CI script --- .gitea/workflows/build-deploy.yml | 5 ++++- PROJECT.org | 12 ++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index c805f28..ee0777e 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -72,7 +72,7 @@ jobs: build-and-deploy: # Only deploy on tags (equivalent to Drone when: ref: refs/tags/*) - # if: startsWith(gitea.ref, 'refs/tags/') + if: startsWith(gitea.ref, 'refs/tags/') needs: [test] runs-on: ubuntu-latest @@ -120,10 +120,13 @@ jobs: key: ${{ secrets.JAIL_KEY }} command_timeout: 2m script: | + set -e mkdir -p /var/lib/vrobbler echo "${{ gitea.sha }}" | cut -c1-8 > /var/lib/vrobbler/commit.txt pip uninstall -y vrobbler pip install /var/lib/vrobbler/dist/*.whl + python -c "import vrobbler; print(f'vrobbler {vrobbler.__version__} installed OK')" + rm -f /var/lib/vrobbler/dist/*.whl vrobbler migrate vrobbler collectstatic --noinput immortalctl restart vrobbler-celery && immortalctl restart vrobbler-celerybeat && immortalctl restart vrobbler diff --git a/PROJECT.org b/PROJECT.org index 4a45d34..abae215 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -93,7 +93,7 @@ fetching and simple saving. :LOGBOOK: CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20 :END: -* Backlog [0/16] :vrobbler:project:personal: +* Backlog [1/17] :vrobbler:project:personal: ** TODO [#C] Add sentiment parsing for Scrobbles with notes :vrobbler:project:scrobbles:sentiment: :PROPERTIES: :ID: 37781d6a-f3b0-48b2-bf98-33c2c791cf85 @@ -450,11 +450,11 @@ https://app.todoist.com/app/task/add-a-csv-endpoint-for-users-book-reads-that-li - Note taken on [2025-09-25 Thu 10:51] As an example https://comicbookroundup.com/comic-books/reviews/humanoids-publishing/the-history-of-science-fiction -** TODO [#A] Find page numbers for comic books from ComicVine :vrobbler:feature:books:personal:project: +** TODO [#B] Find page numbers for comic books from ComicVine :vrobbler:feature:books:personal:project: :PROPERTIES: :ID: 79f867c3-1288-4143-b6bf-2a452983ee9f :END: -** TODO [#A] Fix koreader scrobble imports to use DST properly :vrobbler:personal:bug:books:imports: +** TODO [#B] Fix koreader scrobble imports to use DST properly :vrobbler:personal:bug:books:imports: :PROPERTIES: :ID: 79758cba-a440-48b6-a637-efb88827acf2 :END: @@ -480,7 +480,7 @@ whatever time KoReader reports, we need to know, given the date and the user profile's historic timezone, how many hours to adjust the KoReader time to get to GMT to save it in the database. -** TODO [#A] When creating org-mode tasks, don't copy comments :vrobbler:bug:scrobbles:tasks: +** TODO [#B] When creating org-mode tasks, don't copy comments :vrobbler:bug:scrobbles:tasks: :PROPERTIES: :ID: 0c762d09-fc69-4e75-be40-7eaaf04f178e :END: @@ -489,6 +489,10 @@ to GMT to save it in the database. It would be nice to not duplicate comments that exist on a task when it's first scrobbled. +** DONE [#A] Try to fix deploy failing with bad release plan :release:tooling:pyproject: +:PROPERTIES: +:ID: 63dc633c-4382-e6a5-e663-b01871ce86ce +:END: * Version 38.0 [38/38] ** DONE [#A] Fix release flow to be easier to trigger :pyproject:release:tooling: :PROPERTIES: