Skip to content

Commit

Permalink
Defaulting to powershell on windows gitlab-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri Leitma authored and 01void committed Sep 11, 2024
1 parent e395dbb commit 8ee3519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = "Stop"

$RunnerName = "{{ runner.name }}"
$GitLabURI = "{{gitlab_runner_gitlab_url }}"
$GitLabURI = "{{ gitlab_runner_gitlab_url }}"
$RunnerPath = "{{ gitlab_runner_windows_config_folder }}"
$RunnerToken = "{{ runner.auth_token }}"
$Template = "{{ gitlab_runner_windows_config_folder }}\{{ runner.name }}\gitlab-runner-config.template.toml"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[[runners]]
url = "{{ runner.gitlab_url | default(gitlab_runner_gitlab_url) }}"
executor = "shell"
shell = "pwsh"
shell = "{{ runner.shell }} | default('powershell') }}"

0 comments on commit 8ee3519

Please sign in to comment.