semaphoreui / semaphore

Modern UI for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
https://semaphoreui.com
MIT License
10.43k stars 1.05k forks source link

semaphore on macos - a little more guidance needed #1362

Open vacquah opened 1 year ago

vacquah commented 1 year ago

I notice that the binary instructions does not include specific one for darwin-arm64, but the binary is available. I used the arm64 binary to install semaphore following the install guidelines. I installed it in a python virtual environment using poetry.

But the documentation is missing some things:

  1. macos doesn't use systemd. Uses launchd. There is no mention / instruction on how to create the service in a macos environment.
  2. If i do "which semaphore" or "semaphore version", I get nothing. I assume its because I haven't moved it into my path.
  3. There is no mention to install a database separately. I know semaphore needs one but a mention of it in the guide is helpful.

Update: I solved # 2 by creating a symlink to the semaphore binary. The main issue to resolve for me now is #1 - how to create a launchctl service. Tried a few things - not working.

ansibleguy commented 1 year ago

Greetings!

  1. Semaphore is not really thought to be ran on client devices (only for development). It is designed to be a server-side application. That might be why config specific to a client-OS like macOS is missing in the docs. Would be nice if you would share your 'launchd' config once you got it working.

  2. The default database is BoltDB - a single-file database that is automatically created by the semaphore setup.

ansibleguy commented 1 year ago

Related to: https://github.com/ansible-semaphore/semaphore/discussions/1381