Skip to content

Commit

Permalink
Merge pull request #21 from InfuseAI/feature/sc-32191/support-skip-da…
Browse files Browse the repository at this point in the history
…tasource-for-the-compare-command

[Feature] Support skip-datasource option
  • Loading branch information
wcchang1115 authored Sep 18, 2023
2 parents 92a167b + 111ca69 commit ef31cbc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ The following basic parameters are available:
| working_directory | No | This input is optional and allows you to specify the working directory to use for the comparison. If not specified, the default working directory will be used. |
| modified | No | Only compare the modified models if set to `True`. |
| select | No | Specify the dbt nodes to include. |
| skip_datasource | No | Skip accessing the connection of datasource. |
| piperider_version | No | This input is optional and allows you to specify the version of PipeRider to use for the comparison. If not specified, the latest version will be used. |
### (Optional) PipeRider Cloud Parameters
<details><summary>The following parameters are available for using PipeRider Cloud:</summary>
Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ inputs:
select:
description: 'Specify the dbt nodes to include'
required: false
skip_datasource:
description: 'Skip accessing the connection of datasource'
default: false
required: false
upload:
description: 'Whether to upload the comparison results to the cloud'
required: false
Expand Down Expand Up @@ -71,6 +75,7 @@ runs:
piperider_version: ${{ inputs.piperider_version }}
modified: ${{ inputs.modified }}
select: ${{ inputs.select }}
skip_datasource: ${{ inputs.skip_datasource }}
- name: Upload Generated Report
uses: actions/upload-artifact@v3
if: github.event_name == 'pull_request'
Expand Down
4 changes: 4 additions & 0 deletions compare-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ inputs:
select:
description: 'Specify the dbt nodes to include'
required: false
skip_datasource:
description: 'Skip accessing the connection of datasource'
default: false
required: false
upload:
description: 'Whether to upload the comparison results to the cloud'
required: false
Expand Down

0 comments on commit ef31cbc

Please sign in to comment.