Add binary and docker image install test #8

Merged
lunny merged 3 commits from yp05327/deployment:add-install-test into main 2025-02-21 07:50:56 +00:00
Owner

Why no cache to playwright:
I have tried, but it depends on more system libaraies, not only the files under ~/.cache/ms-playwright
and see: https://github.com/microsoft/playwright/issues/7249
Maybe the best way is building a custom docker image for this.

used for the release step:
Wait for the release created and check whether the release artifacts generated

Notice:
not all releases will be checked, for binary files, only linux version is supported.

Why no cache to playwright: I have tried, but it depends on more system libaraies, not only the files under `~/.cache/ms-playwright` and see: https://github.com/microsoft/playwright/issues/7249 Maybe the best way is building a custom docker image for this. used for the release step: Wait for the release created and check whether the release artifacts generated - Check whether Github release attachments are generated and normal - Check whether the binaries generated under https://dl.gitea.com/gitea/xxx/ and normal - Check whether docker images are generated https://hub.docker.com/r/gitea/gitea/tags?page=&page_size=&ordering=&name=xxx Notice: not all releases will be checked, for binary files, only linux version is supported.
yp05327 added 1 commit 2025-02-20 11:47:24 +00:00
yp05327 added 1 commit 2025-02-20 12:00:12 +00:00
Author
Owner

image.png
Test result in my local. (default timeout, 30s)
Mysql took too long, so I adjusted the timeout from 30s to 60s.

![image.png](/attachments/ecf950e2-5400-4e4a-addd-fcae42c5804b) Test result in my local. (default timeout, 30s) Mysql took too long, so I adjusted the timeout from 30s to 60s.
yp05327 added 1 commit 2025-02-21 06:47:08 +00:00
Author
Owner

I don't know why, but it works now.

note: only mysql need to set db_host as localhost:3306

I don't know why, but it works now. note: only mysql need to set db_host as localhost:3306
lunny approved these changes 2025-02-21 07:50:51 +00:00
lunny merged commit d2ff28bebb into main 2025-02-21 07:50:56 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/deployment#8