[SDP-1156] Remove email_sender_type
and sms_sender_type
from tenant config
#962
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E integration test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- "release/**" | |
- "releases/**" | |
- "hotfix/**" | |
pull_request: | |
workflow_call: # allows this workflow to be called from another workflow | |
env: | |
USER_EMAIL: "[email protected]" | |
USER_PASSWORD: "mockPassword123!" | |
jobs: | |
e2e-integration-test: | |
runs-on: ubuntu-latest | |
environment: "Receiver Registration - E2E Integration Tests" | |
env: | |
DISTRIBUTION_PUBLIC_KEY: ${{ vars.DISTRIBUTION_PUBLIC_KEY }} | |
DISTRIBUTION_SEED: ${{ vars.DISTRIBUTION_SEED }} | |
CHANNEL_ACCOUNT_ENCRYPTION_PASSPHRASE: ${{ vars.DISTRIBUTION_SEED }} | |
SEP10_SIGNING_PUBLIC_KEY: ${{ vars.SEP10_SIGNING_PUBLIC_KEY }} | |
SEP10_SIGNING_PRIVATE_KEY: ${{ vars.SEP10_SIGNING_PRIVATE_KEY }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cleanup data | |
working-directory: internal/integrationtests | |
run: docker-compose -f docker-compose-e2e-tests.yml down -v | |
- name: Run Docker Compose for SDP, Anchor Platform and TSS | |
working-directory: internal/integrationtests | |
run: docker-compose -f docker-compose-e2e-tests.yml up --build -V -d | |
- name: Install curl | |
run: sudo apt-get update && sudo apt-get install -y curl | |
- name: Create integration test data | |
run: | | |
docker exec e2e-sdp-api bash -c "./stellar-disbursement-platform integration-tests create-data" | |
- name: Restart anchor platform | |
run: | | |
docker restart e2e-anchor-platform | |
- name: Wait for anchor platform localhost:8080/health | |
timeout-minutes: 5 | |
run: | | |
until curl --output /dev/null --silent --head --fail http://localhost:8080/health; do | |
echo 'Waiting for anchor-platform to be up and running...' | |
sleep 15 | |
done | |
echo 'Anchor-platform is up and running.' | |
- name: Start integration test command | |
run: | | |
docker exec e2e-sdp-api bash -c "./stellar-disbursement-platform integration-tests start" | |
- name: Docker logs | |
if: always() | |
working-directory: internal/integrationtests | |
run: docker-compose -f docker-compose-e2e-tests.yml logs && docker-compose -f docker-compose-e2e-tests.yml down |