diff --git a/.github/workflows/platform-backend-ci.yml b/.github/workflows/platform-backend-ci.yml index cdab6ed300..61b738ff55 100644 --- a/.github/workflows/platform-backend-ci.yml +++ b/.github/workflows/platform-backend-ci.yml @@ -42,6 +42,19 @@ jobs: REDIS_PASSWORD: testpassword ports: - 6379:6379 + rabbitmq: + image: rabbitmq:3.12-management + ports: + - 5672:5672 + - 15672:15672 + env: + # We know these are here, don't report this as a security vulnerability + # This is used as the default credential for the entire system's RabbitMQ instance + # If you want to replace this, you can do so by making our entire system generate + # new credentials for each local user and update the environment variables in + # the backend service, docker composes, and examples + RABBITMQ_DEFAULT_USER: "rabbitmq_user_default" + RABBITMQ_DEFAULT_PASS: "k0VMxyIJF9S35f3x2uaw5IWAl6Y536O7" steps: - name: Checkout repository @@ -129,9 +142,9 @@ jobs: SUPABASE_URL: ${{ steps.supabase.outputs.API_URL }} SUPABASE_SERVICE_ROLE_KEY: ${{ steps.supabase.outputs.SERVICE_ROLE_KEY }} SUPABASE_JWT_SECRET: ${{ steps.supabase.outputs.JWT_SECRET }} - REDIS_HOST: 'localhost' - REDIS_PORT: '6379' - REDIS_PASSWORD: 'testpassword' + REDIS_HOST: "localhost" + REDIS_PORT: "6379" + REDIS_PASSWORD: "testpassword" env: CI: true