chore: publish IntegraCI build modules 732ec6c83925
This commit is contained in:
1 parent
7a84930dea
commit
5f8a24d014
133 files changed
+18990
-2
No files matched your search
@@ -0,0 +1,30 @@
|
||||
# IntegraCI — Windows Deploy Dagger Module
|
||||
|
||||
Deploy to **Windows Server over WinRM** by running a PowerShell script on the
|
||||
target host — the Windows analogue of `vm-deploy` (Pyinfra/SSH for Linux).
|
||||
Covers the "Deploy Windows Server (WinRM/PowerShell → IIS / Windows Service)"
|
||||
delivery branch.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
dagger call deploy \
|
||||
--address 10.0.0.9 \
|
||||
--script ./deploy.ps1 \
|
||||
--username deployer \
|
||||
--password env://WINRM_PASS
|
||||
|
||||
# plain HTTP (5985) instead of HTTPS (5986)
|
||||
dagger call deploy --address host --script ./deploy.ps1 \
|
||||
--username u --password env://P --use-https=false
|
||||
```
|
||||
|
||||
The PowerShell `--script` runs on the host: fetch/copy the artifact, deploy to
|
||||
IIS (`Import-Module WebAdministration`), or install/restart a Windows Service
|
||||
(`New-Service` / `Restart-Service`). The remote status code drives success.
|
||||
|
||||
## Wiring
|
||||
|
||||
Selected via `deploy_target=windows` (`_DEPLOY_TARGET_MAP` → `windows-deploy`);
|
||||
the generic CI deploy step renders the call. Uses `pywinrm` inside a container;
|
||||
no vendor SDK is embedded in the platform.
|
||||
Reference in new issue
Block a user