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

(Feat): Add tool dbt-cli #872

Merged
merged 3 commits into from
Sep 19, 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
6 changes: 5 additions & 1 deletion linters/squawk/squawk.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { linterCheckTest } from "tests";

linterCheckTest({ linterName: "squawk" });
// No release for squawk on arm64 darwin https://github.com/sbdchd/squawk/issues/372
linterCheckTest({
linterName: "squawk",
skipTestIf: () => process.arch === "arm64" && process.platform === "darwin",
});
6 changes: 6 additions & 0 deletions tools/dbt-cli/dbt_cli.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { toolInstallTest } from "tests";

toolInstallTest({
toolName: "dbt-cli",
toolVersion: "0.38.14",
});
26 changes: 26 additions & 0 deletions tools/dbt-cli/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 0.1
downloads:
- name: dbt-cli
version: 0.38.14
downloads:
- os:
linux: linux
cpu:
x86_64: amd64
arm_64: arm64
url: https://github.com/dbt-labs/dbt-cli/releases/download/v${version}/dbt_${version}_${os}_${cpu}.tar.gz
- os:
macos: darwin
url: https://github.com/dbt-labs/dbt-cli/releases/download/v${version}/dbt_${version}_darwin_all.tar.gz
- os:
windows: windows
url: https://github.com/dbt-labs/dbt-cli/releases/download/v${version}/dbt_${version}_windows_amd64.tar.gz
tools:
definitions:
- name: dbt-cli
download: dbt-cli
known_good_version: 0.38.14
shims: [dbt]
health_checks:
- command: dbt --version
parse_regex: dbt Cloud CLI - ${semver}
Loading