Skip to content

feat: port can be number - #176

Merged
fiftin merged 1 commit into
mainfrom
feat/port_config_int
Oct 26, 2026
Merged

fiftin merged 1 commit into
mainfrom
feat/port_config_int

Conversation

@fiftin

@fiftin fiftin commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings October 26, 2026 08:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The home-directory description gives an unsupported default name and contradicts the documented task environment behavior.

1 open issue
What changed in this PR

This PR updates Semaphore UI’s configuration reference to clarify numeric HTTP port values and revise task home-directory documentation.

Changes:

  • Documents port values with or without a leading colon, including unquoted numbers.
  • Revises the home_dir_mode description for task directories and Ansible isolation.
File Description
docs/​reference/​configuration.md Updates the port and home-directory configuration descriptions.

Review effort: Balanced

| `tmp_path`<br />`SEMAPHORE_TMP_PATH` | string<br />Default: `/tmp/semaphore` | semaphore stores ephemeral projects here |
| `secrets_path`<br />`SEMAPHORE_SECRETS_PATH` | string | Legacy top-level setting for backwards compatibility. Users should prefer configuring dirs.secrets instead. |
| `home_dir_mode`<br />`SEMAPHORE_HOME_DIR_MODE` | string<br />Default: `template_dir` | Controls how the HOME environment variable is set for tasks. "template_dir" (default) — HOME is not overridden (keeps the HOME of the server or runner process). Ansible tasks get ANSIBLE_HOME set to a per-template "_home/.ansible" directory under the project temp directory, isolating .ansible/ across parallel tasks. "project_home" — HOME is set to the project temp directory (legacy behavior). Parallel ansible-galaxy runs in the same project may conflict. "user_home" — HOME is not overridden (keeps the real user HOME) and ANSIBLE_HOME is not set. One of `user_home`, `project_home`, `template_dir`. |
| `home_dir_mode`<br />`SEMAPHORE_HOME_DIR_MODE` | string<br />Default: `template_dir` | Controls how the HOME environment variable is set for tasks. "template_home" (default) — HOME is set to a per-template directory, isolating .ansible/ across parallel tasks. Repo is cloned into a "src" subdirectory under HOME. "project_home" — HOME is set to the project temp directory (legacy behavior). Parallel ansible-galaxy runs in the same project may conflict. "user_home" — HOME is not overridden (keeps the real user HOME). ANSIBLE_HOME is set per template to isolate .ansible/ for Ansible tasks. One of `user_home`, `project_home`, `template_dir`. |
@fiftin
fiftin merged commit 0d6d82b into main Oct 26, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants