Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,23 @@ jobs:
name: integration-tests-${{ matrix.arch }}
- name: Extract Integration Tests Archive
run: tar -xzvf integration-tests-${{ matrix.arch }}.tar.gz
- name: Login to Docker Hub
# Preload Images still pulls consul, memcached, redis and postgres from Docker Hub. #7464
# dropped the Install Docker Client step from this job, and with it the `docker login` that
# script performs, so those pulls have been anonymous ever since and are exposed to the
# anonymous rate limit. Authenticate here, as the build job already does.
#
# The secret is empty on pull requests from forks, so skip the login there and let the pulls
# stay anonymous rather than failing the step outright.
env:
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
run: |
if [ -z "${DOCKER_REGISTRY_PASSWORD:-}" ]; then
echo "No Docker Hub credentials available (fork pull request); pulling anonymously."
exit 0
fi
docker login -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD"
- name: Preload Images
# We download docker images used by integration tests so that all images are available
# locally and the download time doesn't account in the test execution time, which is subject
Expand All @@ -317,7 +334,7 @@ jobs:
done
}

retry docker pull minio/minio:RELEASE.2024-05-28T17-19-04Z
retry docker pull quay.io/minio/minio:RELEASE.2024-05-28T17-19-04Z
retry docker pull consul:1.8.4
retry docker pull quay.io/coreos/etcd:v3.5.29
if [ "$TEST_TAGS" = "integration_backward_compatibility" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- 8500:8500

minio:
image: minio/minio
image: quay.io/minio/minio
command: [ "server", "/data" ]
environment:
- MINIO_ACCESS_KEY=cortex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- 8500:8500

minio:
image: minio/minio
image: quay.io/minio/minio
command: [ "server", "/data" ]
environment:
- MINIO_ACCESS_KEY=cortex
Expand Down
2 changes: 1 addition & 1 deletion development/tsdb-blocks-storage-s3/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- 8500:8500

minio:
image: minio/minio
image: quay.io/minio/minio
command: [ "server", "/data" ]
environment:
- MINIO_ACCESS_KEY=cortex
Expand Down
2 changes: 1 addition & 1 deletion integration/e2e/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package images
var (
Memcached = "memcached:1.6.1"
Redis = "docker.io/redis:7.0.4-alpine"
Minio = "minio/minio:RELEASE.2024-05-28T17-19-04Z"
Minio = "quay.io/minio/minio:RELEASE.2024-05-28T17-19-04Z"
Consul = "consul:1.8.4"
ETCD = "quay.io/coreos/etcd:v3.5.29"
Prometheus = "quay.io/prometheus/prometheus:v3.9.1"
Expand Down