Skip to content

Commit

Permalink
Add environment variables for Test CI pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
souravs17031999 committed Nov 19, 2022
1 parent 62449cb commit e1d6c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:

test:
@echo "MAKE test ==========================================="
PGHOST=postgres PGUSER=postgres PGPASSWORD=DHANPURA8 PGDATABASE=dev REQUIRE_DB_INSERT=False POSTGRES_PASSWORD=DHANPURA8 POSTGRES_DB=dev POSTGRES_USER=postgres ALLOWED_ORIGIN_HOST_PROD=* REQUIRE_DB_MIGRATIONS=0 REQUIRE_DB_INSERT=0 SENDGRID_API_KEY_PROD=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 REDIS_URL=redis://default:xe7QUk67TJwBDJHMXwHHreBSVrrFxsxCN6mkm5dG@redis:6379/0 NOTIFICATION_INTERNAL_URL=http://notification_service:8084 OIDC_CONFIG="{\"server_url\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"issuer\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"audience\": \"account\"}" TEST_SUITE_DIR="apitest" opioner-commons/run-tests.sh
LOG_LEVEL=DEBUG PGHOST=postgres PGUSER=postgres PGPASSWORD=DHANPURA8 PGDATABASE=dev REQUIRE_DB_INSERT=False POSTGRES_PASSWORD=DHANPURA8 POSTGRES_DB=dev POSTGRES_USER=postgres ALLOWED_ORIGIN_HOST_PROD=* REQUIRE_DB_MIGRATIONS=0 REQUIRE_DB_INSERT=0 SENDGRID_API_KEY_PROD=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 REDIS_URL=redis://default:xe7QUk67TJwBDJHMXwHHreBSVrrFxsxCN6mkm5dG@redis:6379/0 NOTIFICATION_INTERNAL_URL=http://notification_service:8084 OIDC_CONFIG="{\"server_url\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"issuer\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"audience\": \"account\"}" TEST_SUITE_DIR="apitest" opioner-commons/run-tests.sh

test_postdeploy:
@echo "MAKE test_postdeploy ==========================================="
Expand All @@ -29,4 +29,4 @@ local:
@echo "MAKE local ==========================================="

docker-compose down
PGHOST=postgres PGUSER=postgres PGPASSWORD=DHANPURA8 PGDATABASE=dev REQUIRE_DB_INSERT=False POSTGRES_PASSWORD=DHANPURA8 POSTGRES_DB=dev POSTGRES_USER=postgres ALLOWED_ORIGIN_HOST_PROD=* REQUIRE_DB_MIGRATIONS=0 REQUIRE_DB_INSERT=0 SENDGRID_API_KEY_PROD=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 REDIS_URL=redis://default:xe7QUk67TJwBDJHMXwHHreBSVrrFxsxCN6mkm5dG@redis:6379/0 NOTIFICATION_INTERNAL_URL=http://notification_service:8084 OIDC_CONFIG="{\"server_url\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"issuer\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"audience\": \"account\"}" docker-compose up --build
LOG_LEVEL=DEBUG PGHOST=postgres PGUSER=postgres PGPASSWORD=DHANPURA8 PGDATABASE=dev REQUIRE_DB_INSERT=False POSTGRES_PASSWORD=DHANPURA8 POSTGRES_DB=dev POSTGRES_USER=postgres ALLOWED_ORIGIN_HOST_PROD=* REQUIRE_DB_MIGRATIONS=0 REQUIRE_DB_INSERT=0 SENDGRID_API_KEY_PROD=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 REDIS_URL=redis://default:xe7QUk67TJwBDJHMXwHHreBSVrrFxsxCN6mkm5dG@redis:6379/0 NOTIFICATION_INTERNAL_URL=http://notification_service:8084 OIDC_CONFIG="{\"server_url\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"issuer\": \"https://keycloak-opioner.herokuapp.com/auth/realms/OPIONER\", \"audience\": \"account\"}" docker-compose up --build

0 comments on commit e1d6c11

Please sign in to comment.