Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed May 9, 2024
1 parent bb42cab commit 04c6118
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,11 @@ jobs:
cache-from: type=gha,scope=integration-tests-testing
cache-to: type=gha,mode=max,scope=integration-tests-testing

- name: Run docker-compose
- name: Run docker compose
run: |
docker-compose run -e DATABASE_NAME=opensips_${{ inputs.context }}_test gateway-bootstrap create_db ${{ inputs.context }}
docker-compose up -d client_gateway public_gateway media_proxy freeswitch freeswitch_event_logger switch-app redis testing
sleep 30
docker compose run -e DATABASE_NAME=opensips_${{ inputs.context }}_test gateway-bootstrap create_db ${{ inputs.context }}
docker compose up --wait -d client_gateway public_gateway media_proxy freeswitch freeswitch_event_logger switch-app redis testing
- name: Run ${{ inputs.context }} Tests
run: |
docker-compose run -e UAS=true testing ./tests.sh ./tests/${{ inputs.context }}
docker compose run -e UAS=true testing ./tests.sh ./tests/${{ inputs.context }}
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Note:
# Assumes postgres is running on the host machine.
# Postgres is not included in this docker-compose configuration
# Postgres is not included in this docker compose configuration
# because of the complexity of adding code to wait for postgres to start.

version: "3.9"
Expand Down Expand Up @@ -166,7 +166,7 @@ services:
FILE_SERVER_PORT: 8000
SWITCH_PORT: 8080
FILE_SERVER_LOG_FILE: http-server.log
UAS: true
UAS: "false"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
Expand Down

0 comments on commit 04c6118

Please sign in to comment.