Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dac workflow: add input for CLI version #16

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading