Skip to content

Commit

Permalink
dac workflow: add input for cli version
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine THEBAUD <[email protected]>
  • Loading branch information
Antoine THEBAUD committed Dec 20, 2024
1 parent e8478fa commit d3d2726
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/dac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_dac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d3d2726

Please sign in to comment.