msi: guard duplicated instance #3050
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: | |
- master | |
- fluent-package-lts-v5 | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
runs-on: windows-2019 | |
steps: | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- uses: actions/checkout@master | |
- name: Build | |
run: | | |
gem install serverspec | |
gem install bundler:2.2.9 --no-document | |
rake msi:build | |
- name: Upload td-agent msi | |
uses: actions/upload-artifact@master | |
with: | |
name: packages-windows-x86_64 | |
path: fluent-package/msi/repositories | |
- name: Check Package Size | |
shell: pwsh | |
run: | | |
powershell -ExecutionPolicy Bypass -Command ".\fluent-package\msi\pkgsize-test.ps1" | |
- name: Installation Test | |
shell: pwsh | |
run: | | |
mkdir -p .bundle | |
docker run ` | |
--rm ` | |
--tty ` | |
--volume ${PWD}:C:\fluentd:ro ` | |
mcr.microsoft.com/dotnet/framework/runtime:3.5 ` | |
powershell -ExecutionPolicy Bypass -Command "C:\fluentd\fluent-package\msi\install-test.ps1" | |
- name: Migration From v4 Test | |
shell: pwsh | |
run: | | |
docker run ` | |
--rm ` | |
--tty ` | |
--volume ${PWD}:C:\fluentd:ro ` | |
mcr.microsoft.com/dotnet/framework/runtime:3.5 ` | |
powershell -ExecutionPolicy Bypass -Command "C:\fluentd\fluent-package\msi\update-from-v4-test.ps1" | |
- name: Serverspec Test | |
shell: pwsh | |
run: | | |
docker run ` | |
--rm ` | |
--tty ` | |
--volume ${PWD}:C:\fluentd:ro ` | |
mcr.microsoft.com/dotnet/framework/runtime:3.5 ` | |
powershell -ExecutionPolicy Bypass -Command "C:\fluentd\fluent-package\msi\serverspec-test.ps1" |