From 6c50363f0b1684ab4de760a102f32b4cf64db847 Mon Sep 17 00:00:00 2001 From: Lauri Takacsi Date: Fri, 18 Aug 2023 14:28:22 -0700 Subject: [PATCH 1/2] --- .trunk/trunk.yaml | 3 +++ tools/awscli/awscli.test.ts | 11 +++++++++++ tools/awscli/plugin.yaml | 8 ++++++++ 3 files changed, 22 insertions(+) create mode 100644 tools/awscli/awscli.test.ts create mode 100644 tools/awscli/plugin.yaml diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 8175b7b7d..57b3f6329 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -74,3 +74,6 @@ actions: - remove-release-snapshots - repo-tests - tool-test-helper +tools: + enabled: + - awscli@1.29.30 diff --git a/tools/awscli/awscli.test.ts b/tools/awscli/awscli.test.ts new file mode 100644 index 000000000..81f13aa40 --- /dev/null +++ b/tools/awscli/awscli.test.ts @@ -0,0 +1,11 @@ +import { makeToolTestConfig, toolTest } from "tests"; +toolTest({ + toolName: "awscli", + toolVersion: "1.29.30", + testConfigs: [ + makeToolTestConfig({ + command: ["aws", "--version"], + expectedOut: "aws-cli/1.29.30", + }), + ], +}); diff --git a/tools/awscli/plugin.yaml b/tools/awscli/plugin.yaml new file mode 100644 index 000000000..3a5f6cd67 --- /dev/null +++ b/tools/awscli/plugin.yaml @@ -0,0 +1,8 @@ +version: 0.1 +tools: + definitions: + - name: awscli + runtime: python + package: awscli + known_good_version: 1.29.30 + shims: [aws] From e40a328123adeea38da4d642a0f45e612cd59c97 Mon Sep 17 00:00:00 2001 From: Lauri Takacsi Date: Fri, 18 Aug 2023 14:54:45 -0700 Subject: [PATCH 2/2] --- .trunk/trunk.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 57b3f6329..8175b7b7d 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -74,6 +74,3 @@ actions: - remove-release-snapshots - repo-tests - tool-test-helper -tools: - enabled: - - awscli@1.29.30