From d3d27265fd41831cf078b441a5da750dbc8b2374 Mon Sep 17 00:00:00 2001 From: Antoine THEBAUD Date: Fri, 20 Dec 2024 14:54:20 +0100 Subject: [PATCH] dac workflow: add input for cli version Signed-off-by: Antoine THEBAUD --- .github/workflows/dac.yaml | 7 ++++++- .github/workflows/test_dac.yaml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dac.yaml b/.github/workflows/dac.yaml index c149048..622a80a 100644 --- a/.github/workflows/dac.yaml +++ b/.github/workflows/dac.yaml @@ -19,6 +19,11 @@ on: description: If present, the project scope for this CLI request. type: string required: false + cli_version: + description: Version of percli to install + type: string + default: latest + required: false # skip: skip-preview: description: Skip the dashboard preview stage if provided. @@ -89,7 +94,7 @@ jobs: - name: Install percli uses: perses/github-actions/actions/install_percli@main with: - cli_version: "latest" + cli_version: ${{ inputs.cli_version }} - name: Build the dashboards uses: perses/github-actions/actions/build_dac@main diff --git a/.github/workflows/test_dac.yaml b/.github/workflows/test_dac.yaml index e2da671..706e10c 100644 --- a/.github/workflows/test_dac.yaml +++ b/.github/workflows/test_dac.yaml @@ -18,6 +18,7 @@ jobs: url: https://demo.perses.dev directory: ./testdata/dac_folder server-validation: true + cli_version: v0.50.0-rc.0 secrets: username: ${{ secrets.TEST_USERNAME }} password: ${{ secrets.TEST_PASSWORD }} \ No newline at end of file