From e65a45bebe90094b8e035b2321126eec8bea45b2 Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Thu, 19 Sep 2024 11:41:11 -0700 Subject: [PATCH 1/3] skip squawk arm --- linters/squawk/squawk.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linters/squawk/squawk.test.ts b/linters/squawk/squawk.test.ts index 066481afb..470ecbf68 100644 --- a/linters/squawk/squawk.test.ts +++ b/linters/squawk/squawk.test.ts @@ -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", +}); From 19ea80492156779682d479c420aeac0e068f18a9 Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Thu, 19 Sep 2024 11:46:39 -0700 Subject: [PATCH 2/3] add dbt --- tools/dbt/dbt.test.ts | 6 ++++++ tools/dbt/plugin.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tools/dbt/dbt.test.ts create mode 100644 tools/dbt/plugin.yaml diff --git a/tools/dbt/dbt.test.ts b/tools/dbt/dbt.test.ts new file mode 100644 index 000000000..1ab5d9e87 --- /dev/null +++ b/tools/dbt/dbt.test.ts @@ -0,0 +1,6 @@ +import { toolInstallTest } from "tests"; + +toolInstallTest({ + toolName: "dbt", + toolVersion: "0.38.14", +}); diff --git a/tools/dbt/plugin.yaml b/tools/dbt/plugin.yaml new file mode 100644 index 000000000..aa39544fa --- /dev/null +++ b/tools/dbt/plugin.yaml @@ -0,0 +1,26 @@ +version: 0.1 +downloads: + - name: dbt + 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 + download: dbt + known_good_version: 0.38.14 + shims: [dbt] + health_checks: + - command: dbt --version + parse_regex: dbt Cloud CLI - ${semver} From 26c2984225a56168f6f2ae8f5651503d0bcd8c35 Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Thu, 19 Sep 2024 11:50:24 -0700 Subject: [PATCH 3/3] rename --- tools/{dbt/dbt.test.ts => dbt-cli/dbt_cli.test.ts} | 2 +- tools/{dbt => dbt-cli}/plugin.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename tools/{dbt/dbt.test.ts => dbt-cli/dbt_cli.test.ts} (79%) rename tools/{dbt => dbt-cli}/plugin.yaml (92%) diff --git a/tools/dbt/dbt.test.ts b/tools/dbt-cli/dbt_cli.test.ts similarity index 79% rename from tools/dbt/dbt.test.ts rename to tools/dbt-cli/dbt_cli.test.ts index 1ab5d9e87..86fe7224a 100644 --- a/tools/dbt/dbt.test.ts +++ b/tools/dbt-cli/dbt_cli.test.ts @@ -1,6 +1,6 @@ import { toolInstallTest } from "tests"; toolInstallTest({ - toolName: "dbt", + toolName: "dbt-cli", toolVersion: "0.38.14", }); diff --git a/tools/dbt/plugin.yaml b/tools/dbt-cli/plugin.yaml similarity index 92% rename from tools/dbt/plugin.yaml rename to tools/dbt-cli/plugin.yaml index aa39544fa..a9d14650c 100644 --- a/tools/dbt/plugin.yaml +++ b/tools/dbt-cli/plugin.yaml @@ -1,6 +1,6 @@ version: 0.1 downloads: - - name: dbt + - name: dbt-cli version: 0.38.14 downloads: - os: @@ -17,8 +17,8 @@ downloads: url: https://github.com/dbt-labs/dbt-cli/releases/download/v${version}/dbt_${version}_windows_amd64.tar.gz tools: definitions: - - name: dbt - download: dbt + - name: dbt-cli + download: dbt-cli known_good_version: 0.38.14 shims: [dbt] health_checks: