mail@pastecode.io avatar
24 days ago
1.4 kB
Windows PowerShell
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

Попробуйте новую кроссплатформенную оболочку PowerShell (https://aka.ms/pscore6)

PS C:\WINDOWS\system32> cd C:\gitlab-runner\
PS C:\gitlab-runner> ./gitlab-runner.exe register --url https://gitlab.com/vivaronka/mlops_sber_23 --registration-token GR1348941vAX7Dmz2orR3E6cQ-GNV
Runtime platform                                    arch=amd64 os=windows pid=2344 revision=853330f9 version=16.5.0
Enter the GitLab instance URL (for example, https://gitlab.com/):
[https://gitlab.com/vivaronka/mlops_sber_23]: https://gitlab.com/vivaronka/mlops_sber_23
Enter the registration token:
[GR1348941vAX7Dmz2orR3E6cQ-GNV]: GR1348941vAX7Dmz2orR3E6cQ-GNV
Enter a description for the runner:
[LAPTOP-5F3L8FMU]: ml-course
Enter tags for the runner (comma-separated):

Enter optional maintenance note for the runner:

WARNING: Support for registration tokens and runner parameters in the 'register' command has been deprecated in GitLab Runner 15.6 and will be replaced with support for authentication tokens. For more information, see https://docs.gitlab.com/ee/ci/runners/new_creation_workflow
ERROR: Registering runner... failed                 runner=GR1348941vAX7Dmz2 status=422 Unprocessable Entity
PANIC: Failed to register the runner.
PS C:\gitlab-runner>