Add Windows runner profiles and configuration for Gitea CI
- Introduced Dockerfiles for various Windows runner profiles: C/C++, .NET, Go, and MSYS. - Added a PowerShell script to start the Gitea runner with appropriate configurations. - Updated Ansible host variables to include new Windows build root and runner configurations. - Enhanced the Windows Gitea runner role to support multiple execution modes (linux_podman and windows_mcr). - Implemented tasks to validate runner execution modes, ensure necessary services are running, and manage Docker containers for Windows runners. - Created a new task file for managing Windows-specific runner operations. - Updated the configuration template to dynamically set paths for runner files and cache directories.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM local/gitea-windows-runner:windows-base
|
||||
|
||||
SHELL ["powershell", "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command"]
|
||||
|
||||
# Go profile for Windows builds.
|
||||
RUN choco feature enable -n allowGlobalConfirmation; \
|
||||
choco install golang --version=1.22.4; \
|
||||
choco clean --yes
|
||||
Reference in New Issue
Block a user