From 5204e28fe3712d8c513d1743885450bc5134f677 Mon Sep 17 00:00:00 2001 From: Pat Date: Wed, 25 May 2022 10:37:46 +0100 Subject: [PATCH] workflows: unstable ci updates (#5494) * workflows: disable 1.9 unstable build until branch is available Signed-off-by: Patrick Stephens * workflows: use latest for Windows packaging scripts Signed-off-by: Patrick Stephens * workflows: fix schema generation name Signed-off-by: Patrick Stephens --- .github/workflows/call-build-images.yaml | 2 +- .github/workflows/call-build-windows.yaml | 3 ++- .github/workflows/cron-unstable-build.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/call-build-images.yaml b/.github/workflows/call-build-images.yaml index f8540402a61..a96272a537c 100644 --- a/.github/workflows/call-build-images.yaml +++ b/.github/workflows/call-build-images.yaml @@ -319,7 +319,7 @@ jobs: - name: Generate schema run: | docker run --rm -t ${{ inputs.registry }}/${{ inputs.image }}:${{ inputs.version }} -J > fluent-bit-schema-${{ inputs.version }}.json - cat fluent-bit-schema.json | jq -M > fluent-bit-schema-pretty-${{ inputs.version }}.json + cat fluent-bit-schema-${{ inputs.version }}.json | jq -M > fluent-bit-schema-pretty-${{ inputs.version }}.json shell: bash - name: Upload the schema diff --git a/.github/workflows/call-build-windows.yaml b/.github/workflows/call-build-windows.yaml index fa250480840..26cd90fa44c 100644 --- a/.github/workflows/call-build-windows.yaml +++ b/.github/workflows/call-build-windows.yaml @@ -93,7 +93,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - ref: ${{ inputs.ref }} + # Need latest for checksum packaging script + ref: master - name: Download all artefacts continue-on-error: true diff --git a/.github/workflows/cron-unstable-build.yaml b/.github/workflows/cron-unstable-build.yaml index 8537e3531f0..487b8d8ffb5 100644 --- a/.github/workflows/cron-unstable-build.yaml +++ b/.github/workflows/cron-unstable-build.yaml @@ -13,8 +13,8 @@ on: # Run nightly build at this time, bit of trial and error but this seems good. schedule: - cron: "0 6 * * *" # master build - - cron: "0 12 * * *" # 1.9 build # Not available currently so will fail until it is + # - cron: "0 12 * * *" # 1.9 build - cron: "0 18 * * *" # 1.8 build # A 1.8 build requires merging all the changes from master to handle packaging from local