Skip to content

Commit

Permalink
updated NOTES.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 11, 2024
1 parent 05c51bd commit 62bb870
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3020,7 +3020,45 @@ After a few week all stoped runners are invalided so they must be re-configured.
Simply delete the .runner file and invoke the config script again as is described here:
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners

- !!! backup .env and .path (Linux only) before deleting whole runner's folder
- Common for both:
- you can safely remove these folders from _work/TinyORM:
HelloWorld-builds-cmake
HelloWorld-FetchContent-Install
TinyORM-builds-cmake

- Linux:
Start-TinyORMActions
cd /opt/actions-runners/tinyorm
sudo ./svc.sh stop
mv .runner .runner.bak
./config.sh --url https://github.com/silverqx/TinyORM --token <token_from_GH_settings>
runner name already was in lower case
sudo ./svc.sh start
rm .runner.bak
Stop-TinyORMActions (after work is done)

- Windows:
cd E:\actions-runners\tinyorm
sst-a.ps1
mv .\.runner .\.runner.bak
./config.cmd --url https://github.com/silverqx/TinyORM --token <token_from_GH_settings>
- Enter the name of runner: [press Enter for MERYDEYE-DEVEL] merydeye-devel (changed name to lower case)
- Would you like to run the runner as service? (Y/N) [press Enter for N] y (non-default answer)
- User account to use for the service [press Enter for NT AUTHORITY\NETWORK SERVICE] (default answer)
rm -Force .\.runner.bak
change Service actions.runner.silverqx-TinyORM.merydeye-devel Startup type to Manual
- or Disabled after work is done
sst-a.ps1 (after work is done)

- pwsh scripts to work with runner services:
sg-a.ps1 (Get-Service)
sst-a.ps1 (Stop-Service)
ss-a.ps1 (Start-Service)
sr-a.ps1 (Restart-Service)

- Notes:
- !!! (don't delete runner's folder) backup .env and .path (Linux only) before deleting
whole runner's folder
- no need to remove services before re-configuring
- on Linux call this commend before: sudo ./svc.sh stop
- Linux svc commands: sudo ./svc.sh start/status/stop
Expand All @@ -3033,11 +3071,12 @@ https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted
- Stop-TinyORMActions

- needed manual actions:
- deleting build folders eg. after compiler or Qt upgrade
- deleting build folders eg. after compiler or Qt upgrade (see Common for both section above)
- deleting and re-cloning the vcpkg repo
- the owner must be changed on Windows to NETWORK SERVICE because of git filesystem owner check
- isn't needed often, look on this step in actions (vcpkg-linux/windows.yml files) why it's so:
vcpkg upgrade repository (latest version)
- isn't needed often, look on this step in actions (vcpkg-linux/windows.yml files) why it's so,
step name to search: vcpkg upgrade repository (latest version)
- i'm simply fetching latest changes and doing hard reset on master


Windows Database servers services:
Expand Down

0 comments on commit 62bb870

Please sign in to comment.