fix(ci): accept the lowercase RUNNER_OS reported by Gitea act runners
Windows CI / verify (push) Failing after 4m30s
Windows CI / verify (push) Failing after 4m30s
The live managed-tool smoke and the real installer smoke gated on RUNNER_OS being exactly Windows. The Gitea act runner reports the value as lowercase windows, so both gates rejected the approved self-hosted git.24-music.de runner and the corresponding verify steps could never run there. The gates now compare RUNNER_OS case-insensitively while keeping every other identity requirement unchanged, with contract coverage for the lowercase Gitea identity.
This commit is contained in:
@@ -59,6 +59,14 @@ test('real installer smoke accepts the git.24-music.de Gitea Windows Actions ide
|
||||
RUNNER_OS: 'Windows',
|
||||
RUNNER_TEMP: 'C:\\runner-temp'
|
||||
}, 'win32'));
|
||||
assert.doesNotThrow(() => assertHostedWindowsCi({
|
||||
CI: 'true',
|
||||
GITEA_ACTIONS: 'true',
|
||||
GITHUB_RUN_ID: '456',
|
||||
GITHUB_SERVER_URL: 'https://git.24-music.de',
|
||||
RUNNER_OS: 'windows',
|
||||
RUNNER_TEMP: 'C:\\runner-temp'
|
||||
}, 'win32'));
|
||||
});
|
||||
|
||||
test('installer phases cover current user then all users with scope-correct paths', () => {
|
||||
|
||||
Reference in New Issue
Block a user