From 37f2120bebd58c9058c8e2dc93c13beedbda010d Mon Sep 17 00:00:00 2001 From: Antoine THEBAUD Date: Fri, 6 Dec 2024 15:10:32 +0100 Subject: [PATCH] update file & dir inputs descs Signed-off-by: Antoine THEBAUD --- actions/apply_resources/action.yaml | 4 ++-- actions/build_dac/action.yaml | 4 ++-- actions/diff_dashboards/action.yaml | 4 ++-- actions/preview_dashboards/action.yaml | 4 ++-- actions/validate_resources/action.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/actions/apply_resources/action.yaml b/actions/apply_resources/action.yaml index 85f5a1f..903d842 100644 --- a/actions/apply_resources/action.yaml +++ b/actions/apply_resources/action.yaml @@ -5,10 +5,10 @@ inputs: description: The URL of the Perses API server where to deploy the dashboard preview. required: true directory: - description: Path to the directory containing the resources consumed by the command. + description: Path to the directory containing the resources consumed by the command (mutually exclusive with `file`). required: false file: - description: Path to the file that contains the resources consumed by the command. + description: Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`). required: false username: description: Username for basic authentication to the API server. diff --git a/actions/build_dac/action.yaml b/actions/build_dac/action.yaml index ee3444e..075471f 100644 --- a/actions/build_dac/action.yaml +++ b/actions/build_dac/action.yaml @@ -2,10 +2,10 @@ name: Build the dashboards as code description: Run the `dac build` command of percli to build the dashboards as code inputs: directory: - description: Path to the directory containing the resources consumed by the command. + description: Path to the directory containing the resources consumed by the command (mutually exclusive with `file`). required: false file: - description: Path to the file that contains the resources consumed by the command. + description: Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`). required: false mode: description: Mode for the output. Must be either file to automatically save the content to file(s), or `stdout` to print on the standard output. (default "file") diff --git a/actions/diff_dashboards/action.yaml b/actions/diff_dashboards/action.yaml index 2da245f..68796b0 100644 --- a/actions/diff_dashboards/action.yaml +++ b/actions/diff_dashboards/action.yaml @@ -5,10 +5,10 @@ inputs: description: The URL of the Perses API server where to deploy the dashboard preview. required: true directory: - description: Path to the directory containing the resources consumed by the command. + description: Path to the directory containing the resources consumed by the command (mutually exclusive with `file`). required: false file: - description: Path to the file that contains the resources consumed by the command. + description: Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`). required: false username: description: Username for basic authentication to the API server. diff --git a/actions/preview_dashboards/action.yaml b/actions/preview_dashboards/action.yaml index b3fb046..44e5b36 100644 --- a/actions/preview_dashboards/action.yaml +++ b/actions/preview_dashboards/action.yaml @@ -5,10 +5,10 @@ inputs: description: The URL of the Perses API server where to deploy the dashboard preview. required: true directory: - description: Path to the directory containing the resources consumed by the command. + description: Path to the directory containing the resources consumed by the command (mutually exclusive with `file`). required: false file: - description: Path to the file that contains the resources consumed by the command. + description: Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`). required: false username: description: Username for basic authentication to the API server. diff --git a/actions/validate_resources/action.yaml b/actions/validate_resources/action.yaml index cc835e3..3273fb9 100644 --- a/actions/validate_resources/action.yaml +++ b/actions/validate_resources/action.yaml @@ -2,10 +2,10 @@ name: Validate resources description: Run the `lint` command of percli to validate Perses resources inputs: directory: - description: Path to the directory containing the resources consumed by the command. + description: Path to the directory containing the resources consumed by the command (mutually exclusive with `file`). required: false file: - description: Path to the file that contains the resources consumed by the command. + description: Path to the file that contains the resources consumed by the command (mutually exclusive with `directory`). required: false online: description: When enabled, it can request the API to make additional validation.