Skip to content

Commit

Permalink
update list
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Jul 8, 2024
1 parent 1a2c7c4 commit 9e5685b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions packages/scripts/src/helpers/images/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@ export async function images(action: ImagesAction): Promise<void> {
* @returns Record<string, string>
*/
async function createImageList(imagesPath: string): Promise<void> {
// const list = 'terascope/node-base:18.19.1\n'
// + 'terascope/node-base:20.11.1\n'
// + 'terascope/node-base:22.2.0\n'
// + `${config.ELASTICSEARCH_DOCKER_IMAGE}:6.8.6\n`
// + `${config.ELASTICSEARCH_DOCKER_IMAGE}:7.9.3\n`
// + `${config.OPENSEARCH_DOCKER_IMAGE}:1.3.10\n`
// + `${config.OPENSEARCH_DOCKER_IMAGE}:2.8.0\n`
// + `${config.KAFKA_DOCKER_IMAGE}:3.1\n`
// + `${config.ZOOKEEPER_DOCKER_IMAGE}:3.1\n`
// + `${config.MINIO_DOCKER_IMAGE}:RELEASE.2020-02-07T23-28-16Z\n`;
const list = 'terascope/node-base:18.19.1\n'
// + 'terascope/node-base:20.11.1\n'
// + 'terascope/node-base:22.2.0\n'
+ `${config.ELASTICSEARCH_DOCKER_IMAGE}:6.8.6`;
// + `${config.ELASTICSEARCH_DOCKER_IMAGE}:7.9.3\n`
// + `${config.OPENSEARCH_DOCKER_IMAGE}:1.3.10\n`
// + `${config.OPENSEARCH_DOCKER_IMAGE}:2.8.0\n`
// + `${config.KAFKA_DOCKER_IMAGE}:3.1\n`
// + `${config.ZOOKEEPER_DOCKER_IMAGE}:3.1\n`
// + `${config.MINIO_DOCKER_IMAGE}:RELEASE.2020-02-07T23-28-16Z\n`;
+ `${config.ELASTICSEARCH_DOCKER_IMAGE}:6.8.6\n`
+ `${config.MINIO_DOCKER_IMAGE}:RELEASE.2020-02-07T23-28-16Z\n`;
if (!fse.existsSync(imagesPath)) {
await fse.emptyDir(imagesPath);
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/docker-limit-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
###
## This checks the docker rate limit
###
TOKEN=$(curl --user "$USER:$PASS" "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
result=$(curl -sS --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest)
TOKEN=$(curl -Ss --user "$USER:$PASS" "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
result=$(curl -Ss --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest)

echo "$result"

0 comments on commit 9e5685b

Please sign in to comment.