Skip to content

msi: guard duplicated instance #3018

msi: guard duplicated instance

msi: guard duplicated instance #3018

Workflow file for this run

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"