Skip to content

Preparing remote server

Will Crichton edited this page Aug 30, 2024 · 3 revisions

Things that need to be setup:

  • ssh details (e.g. GCP zone) are correct in CI config
  • deploy and old directories exist at /home/gh-actions
  • unzip is installed
  • user gh-actions has Docker access
  • system service called playground that runs the /home/gh-actions/artifact/aquascope_serve binary

Example service setup:

[Unit]
Description=Playground
After=network.target

[Service]
ExecStart=/home/gh-actions/artifacts/aquascope_serve
WorkingDirectory=/home/gh-actions/artifacts
User=root
Group=root
Restart=always

[Install]
WantedBy=multi-user.target
Clone this wiki locally