-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docker ecr login plugin as tools (#792)
Docker doesn't install this by default anymore. Adding it for easy install for new hires.
- Loading branch information
1 parent
10283c9
commit 3d53c55
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tools/docker-credential-ecr-login/docker-credential-ecr-login.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { makeToolTestConfig, toolTest } from "tests"; | ||
|
||
toolTest({ | ||
toolName: "docker-credential-ecr-login", | ||
toolVersion: "0.8.0", | ||
testConfigs: [ | ||
makeToolTestConfig({ | ||
command: ["docker-credential-ecr-login", "-v"], | ||
expectedOut: "Version: 0.8.0", | ||
}), | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 0.1 | ||
downloads: | ||
- name: docker-credential-ecr-login | ||
executable: true | ||
downloads: | ||
- os: | ||
linux: linux | ||
macos: darwin | ||
cpu: | ||
x86_64: amd64 | ||
arm_64: arm64 | ||
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/${version}/${os}-${cpu}/docker-credential-ecr-login | ||
- os: | ||
windows: windows | ||
cpu: | ||
x86_64: amd64 | ||
arm_64: arm64 | ||
url: https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/${version}/windows-${cpu}/docker-credential-ecr-login.exe | ||
tools: | ||
definitions: | ||
- name: docker-credential-ecr-login | ||
download: docker-credential-ecr-login | ||
known_good_version: 0.8.0 | ||
shims: [docker-credential-ecr-login] |