SERVER-117494: enable gwproxy tests in evg (#52578)
GitOrigin-RevId: fff11b1c5e02833c82fe6e0ae781ef41f607bc67
This commit is contained in:
parent
5691b3ab80
commit
d63d2672d3
@ -7,8 +7,6 @@ selector:
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/iceberg/iceberg_stats.js
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/iceberg/iceberg_error_precreated_table.js
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/iceberg/iceberg_modify_partitioned_by.js
|
||||
exclude_files:
|
||||
# TODO(SERVER-117494): Re-enable once evg configuration is resolved.
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/iceberg/gwproxy/iceberg_gwproxy.js
|
||||
|
||||
executor:
|
||||
|
||||
@ -7,8 +7,6 @@ selector:
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/pubsub/pubsub_checkpoint.js
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/pubsub/pubsub_auth_error.js
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/pubsub/pubsub_publish_error.js
|
||||
exclude_files:
|
||||
# TODO(SERVER-117494): Re-enable once evg configuration is resolved.
|
||||
- src/mongo/db/modules/*/jstests/streams/aspio/pubsub/pubsub_gwproxy.js
|
||||
|
||||
executor:
|
||||
|
||||
29
evergreen/streams_pull_gwproxy.sh
Executable file
29
evergreen/streams_pull_gwproxy.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# Pull the latest gwproxy image from the SRE ECR repository.
|
||||
# Filters for OCI image index manifests, pulls the most recent by digest,
|
||||
# and tags it locally as gwproxy-sre:latest.
|
||||
#
|
||||
# Writes gwproxy_image_expansion.yml with the local tag for Evergreen expansion.
|
||||
set -o pipefail
|
||||
|
||||
REGISTRY="664315256653.dkr.ecr.us-east-1.amazonaws.com"
|
||||
REPO="sre/gwproxy"
|
||||
|
||||
RAW_JSON=$(aws ecr describe-images \
|
||||
--registry-id 664315256653 \
|
||||
--repository-name "$REPO" \
|
||||
--region us-east-1 \
|
||||
--output json)
|
||||
|
||||
DIGEST=$(echo "$RAW_JSON" | python3 -c "
|
||||
import json, sys
|
||||
data = json.load(sys.stdin)['imageDetails']
|
||||
images = [i for i in data if i.get('imageManifestMediaType') == 'application/vnd.oci.image.index.v1+json']
|
||||
latest = sorted(images, key=lambda x: x['imagePushedAt'])[-1]
|
||||
print(latest['imageDigest'])
|
||||
")
|
||||
|
||||
echo "Pulling gwproxy image: $REGISTRY/$REPO@$DIGEST"
|
||||
docker pull "$REGISTRY/$REPO@$DIGEST"
|
||||
docker tag "$REGISTRY/$REPO@$DIGEST" gwproxy-sre:latest
|
||||
echo "gwproxy_image: gwproxy-sre:latest" >gwproxy_image_expansion.yml
|
||||
Loading…
Reference in New Issue
Block a user