Install Windows Server 2012 R2 "Server Core"
Enable Remote Desktop
Windows 2012 Core Survival Guide – Remote Desktop
Set up runner
- Create home directory
c:\users\gitlab-runner\
net user gitlab-runner P@55w0rd
icacls c:\users\gitlab-runner gitlab-runner:(CI)(OI)(F)
- Use
secedit
to add SeServiceLogonRight
to user
gitlab-ci-multi-runner install --user .\gitlab-runner --password P@55w0rd
wmic useraccount GET Name,FullName,Status,Disabled,PasswordExpires /all
wmic useraccount WHERE "Name='gitlab-runner'" SET PasswordExpires=FALSE
Install Python
- Install 32-bit MSI to
C:\Python27_32\
(Yes, add to PATH)
- Install 64-bit MSI to
C:\Python27_64\
Pywin32 and Pypiwin32 (32 and 64)
Install PyInstaller
C:\Python27_32\python.exe setup.py install
Install Git
- Use git commands in git bash and cmd