Commit 9142ede
authored
Use centrally managed AWS Include script (#703)
* Only support staging account in AWS Include
The AWS include script is part of our larger tooling, but within this
repository it is only used to download images from our "staging" ECRs.
This commit removes other environments and removes some dead code.
* Use "env" to local the correct bash binary
On MacOS 26, running /bin/bash will run version 3.2 of Bash. We need a
later version in order to use the centrally-managed aws-include file, so
in this commit I've updated the hash-bang line to use "env" - on my
machine this loads bash v5.
* Use the centrally managed AWS Include file
Update the docker-login script to use the aws include from the "Server"
repo so that we can manage it centrally and reduce duplication. There
is one use-case within CI, and that cannot use the centrally-managed
repo, so I've added conditional logic here to detect if we're running in
CI.1 parent 370c458 commit 9142ede
2 files changed
Lines changed: 9 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 7 | | |
23 | 8 | | |
24 | 9 | | |
| |||
187 | 172 | | |
188 | 173 | | |
189 | 174 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
0 commit comments