Skip to content

Commit

Permalink
Merge pull request #3784 from terascope/scripts-fix-rabbitmq-tag
Browse files Browse the repository at this point in the history
[scripts] Fix rabbitmq version bug
  • Loading branch information
sotojn authored Oct 2, 2024
2 parents fdd7ea5 + f8e0e97 commit 88828aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/scripts",
"displayName": "Scripts",
"version": "1.3.0",
"version": "1.3.1",
"description": "A collection of terascope monorepo scripts",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/scripts#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/src/helpers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const MINIO_DOCKER_IMAGE = process.env.MINIO_DOCKER_IMAGE || 'minio/minio
export const MINIO_ACCESS_KEY = process.env.MINIO_ACCESS_KEY || 'minioadmin';
export const MINIO_SECRET_KEY = process.env.MINIO_SECRET_KEY || 'minioadmin';

export const RABBITMQ_VERSION = process.env.RABBITMQ_VERSION || '3.8.16-management-alpine';
export const RABBITMQ_VERSION = process.env.RABBITMQ_VERSION || '3.13.7-debian-12-r4';
export const RABBITMQ_DOCKER_IMAGE = process.env.RABBITMQ_DOCKER_IMAGE || 'rabbitmq';
export const RABBITMQ_NAME = process.env.RABBITMQ_NAME || 'rabbitmq';
export const RABBITMQ_PORT = process.env.RABBITMQ_PORT || 45672;
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/src/helpers/test-runner/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export async function loadOrPullServiceImages(suite: string): Promise<void> {
}

if (launchServices.includes(Service.RabbitMQ)) {
const image = `${config.RABBITMQ_DOCKER_IMAGE}`;
const image = `${config.RABBITMQ_DOCKER_IMAGE}:${config.RABBITMQ_VERSION}`;
images.push(image);
}

Expand Down

0 comments on commit 88828aa

Please sign in to comment.