Skip to content

Release 5.2.0

Release 5.2.0 #3797

Workflow file for this run

name: Windows
on:
push:
branches:
- master
- fluent-package-v5
pull_request:
concurrency:
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
name: Build
timeout-minutes: 90
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: cache msi
uses: actions/cache@v4
id: cache-msi
with:
path: fluent-package/msi/repositories
key: ${{ runner.os }}-cache-windows-${{ hashFiles('**/config.rb', '**/Rakefile', '**/Gemfile*', '!**/*.ps1') }}
- name: Build
if: ${{ ! steps.cache-msi.outputs.cache-hit }}
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: Update From v5 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-v5-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"