semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Problem: How to use and configure runner?

Open lipaysamart opened this issue 1 year ago • 0 comments

Issue

Following this documentation I can't find the runners page, where is it? Then I tried to register using cli and found that there is no such command semaphore runner register. Documentation out of date?

➜  semaphore runner register
Run in runner mode

Usage:
  semaphore runner [flags]
  semaphore runner [command]

Available Commands:
  start       Run in runner mode
  unregister  Unregister runner from the server

Flags:
  -h, --help   help for runner

Global Flags:
      --config string   Configuration file path

Use "semaphore runner [command] --help" for more information about a command.

Impact

Web-Frontend (what users interact with), Configuration

Installation method

Docker

Database

BoltDB

Browser

Chrome

Semaphore Version

2.10.22-e44910d-1721658299

Ansible Version

No response

Logs & errors

No response

Manual installation - system information

No response

Configuration

{
        "mysql": {
                "host": "",
                "user": "",
                "pass": "",
                "name": "",
                "options": null
        },
        "bolt": {
                "host": "/var/lib/semaphore/database.boltdb",
                "user": "",
                "pass": "",
                "name": "",
                "options": null
        },
        "postgres": {
                "host": "",
                "user": "",
                "pass": "",
                "name": "",
                "options": null
        },
        "dialect": "bolt",
        "port": "",
        "interface": "",
        "tmp_path": "/tmp/semaphore",
        "ssh_config_path": "",
        "git_client": "",
        "web_host": "",
        "cookie_hash": "xxx",
        "cookie_encryption": "xxx",
        "access_key_encryption": "xxx",
        "email_alert": false,
        "email_sender": "",
        "email_host": "",
        "email_port": "",
        "email_username": "",
        "email_password": "",
        "email_secure": false,
        "ldap_enable": false,
        "ldap_binddn": "",
        "ldap_bindpassword": "",
        "ldap_server": "",
        "ldap_searchdn": "",
        "ldap_searchfilter": "",
        "ldap_mappings": {
                "dn": "",
                "mail": "",
                "uid": "",
                "cn": ""
        },
        "ldap_needtls": false,
        "telegram_alert": false,
        "telegram_chat": "",
        "telegram_token": "",
        "slack_alert": false,
        "slack_url": "",
        "rocketchat_alert": false,
        "rocketchat_url": "",
        "microsoft_teams_alert": false,
        "microsoft_teams_url": "",
        "oidc_providers": null,
        "max_task_duration_sec": 0,
        "max_tasks_per_template": 0,
        "max_parallel_tasks": 0,
        "runner_registration_token": "fEEgdNEKuHWECxZEeyzwVR6gTMf32XKB6weRkrSLJARii8su",
        "password_login_disable": false,
        "non_admin_can_create_project": false,
        "use_remote_runner": true,
        "runner": {
                "api_url": "",
                "registration_token": "",
                "config_file": "",
                "one_off": false,
                "webhook": "",
                "max_parallel_tasks": 0
        },
        "global_integration_alias": "",
        "apps": null
 }

### Additional information

_No response_

lipaysamart avatar Oct 15 '24 03:10 lipaysamart