labels: ci: domain-windows platform: windows/amd64 clone: - name: git image: plugin-git settings: lfs: false when: - event: tag ref: refs/tags/v* concurrency: 1 steps: - name: build-linux-x64-agent image: powershell environment: &build-environment GITEA_BASE: http://localhost:3100 GITEA_TOKEN: from_secret: gitea_token NUGET_PACKAGES: 'C:\Users\JustMe-NAS\.nuget\packages' RID: linux-x64 COMPONENT: agent commands: &build-commands - Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force - ./ci/release-cross-platform.ps1 -RuntimeIdentifier $env:RID -Component $env:COMPONENT depends_on: [] - name: build-linux-x64-probe image: powershell environment: &rid-linux-x64-probe <<: *build-environment COMPONENT: probe commands: *build-commands depends_on: [] - name: build-linux-x64-enroll image: powershell environment: &rid-linux-x64-enroll <<: *build-environment COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-linux-arm64-agent image: powershell environment: &rid-linux-arm64-agent <<: *build-environment RID: linux-arm64 commands: *build-commands depends_on: [] - name: build-linux-arm64-probe image: powershell environment: &rid-linux-arm64-probe <<: *rid-linux-arm64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-linux-arm64-enroll image: powershell environment: &rid-linux-arm64-enroll <<: *rid-linux-arm64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-linux-musl-x64-agent image: powershell environment: &rid-linux-musl-x64-agent <<: *build-environment RID: linux-musl-x64 commands: *build-commands depends_on: [] - name: build-linux-musl-x64-probe image: powershell environment: &rid-linux-musl-x64-probe <<: *rid-linux-musl-x64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-linux-musl-x64-enroll image: powershell environment: &rid-linux-musl-x64-enroll <<: *rid-linux-musl-x64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-linux-musl-arm64-agent image: powershell environment: &rid-linux-musl-arm64-agent <<: *build-environment RID: linux-musl-arm64 commands: *build-commands depends_on: [] - name: build-linux-musl-arm64-probe image: powershell environment: &rid-linux-musl-arm64-probe <<: *rid-linux-musl-arm64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-linux-musl-arm64-enroll image: powershell environment: &rid-linux-musl-arm64-enroll <<: *rid-linux-musl-arm64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-macos-x64-agent image: powershell environment: &rid-macos-x64-agent <<: *build-environment RID: osx-x64 commands: *build-commands depends_on: [] - name: build-macos-x64-probe image: powershell environment: &rid-macos-x64-probe <<: *rid-macos-x64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-macos-x64-enroll image: powershell environment: &rid-macos-x64-enroll <<: *rid-macos-x64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-macos-arm64-agent image: powershell environment: &rid-macos-arm64-agent <<: *build-environment RID: osx-arm64 commands: *build-commands depends_on: [] - name: build-macos-arm64-probe image: powershell environment: &rid-macos-arm64-probe <<: *rid-macos-arm64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-macos-arm64-enroll image: powershell environment: &rid-macos-arm64-enroll <<: *rid-macos-arm64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-windows-x64-agent image: powershell environment: &rid-windows-x64-agent <<: *build-environment RID: win-x64 commands: *build-commands depends_on: [] - name: build-windows-x64-probe image: powershell environment: &rid-windows-x64-probe <<: *rid-windows-x64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-windows-x64-enroll image: powershell environment: &rid-windows-x64-enroll <<: *rid-windows-x64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: build-windows-arm64-agent image: powershell environment: &rid-windows-arm64-agent <<: *build-environment RID: win-arm64 commands: *build-commands depends_on: [] - name: build-windows-arm64-probe image: powershell environment: &rid-windows-arm64-probe <<: *rid-windows-arm64-agent COMPONENT: probe commands: *build-commands depends_on: [] - name: build-windows-arm64-enroll image: powershell environment: &rid-windows-arm64-enroll <<: *rid-windows-arm64-agent COMPONENT: fleet-enroll commands: *build-commands depends_on: [] - name: package-and-upload image: powershell environment: *build-environment commands: - Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force - ./ci/package-cross-platform.ps1 depends_on: - build-linux-x64-agent - build-linux-x64-probe - build-linux-x64-enroll - build-linux-arm64-agent - build-linux-arm64-probe - build-linux-arm64-enroll - build-linux-musl-x64-agent - build-linux-musl-x64-probe - build-linux-musl-x64-enroll - build-linux-musl-arm64-agent - build-linux-musl-arm64-probe - build-linux-musl-arm64-enroll - build-macos-x64-agent - build-macos-x64-probe - build-macos-x64-enroll - build-macos-arm64-agent - build-macos-arm64-probe - build-macos-arm64-enroll - build-windows-x64-agent - build-windows-x64-probe - build-windows-x64-enroll - build-windows-arm64-agent - build-windows-arm64-probe - build-windows-arm64-enroll