diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35cc654..10b71f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -479,26 +479,28 @@ jobs: \"domain_models\": {} }""" > $GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json - echo """{ - \"rabbitmq-name\": \"rabbit\", - \"rabbitmq-user\": \"${RABBITMQ_USER}\", - \"rabbitmq-password\": \"${RABBITMQ_PASS}\", - \"service-port\": ${RABBITMQ_PORT}, - \"service-host\": \"${RABBITMQ_HOST}\", - \"rabbitmq-vhost\": \"/\", - \"rabbitmq-outbound-queue\": \"test-ci\", - \"rabbitmq-exchange\": \"ams-fanout\", - \"rabbitmq-routing-key\": \"training\" - }""" > $GITHUB_WORKSPACE/rmq.json + # echo """{ + # \"rabbitmq-name\": \"rabbit\", + # \"rabbitmq-user\": \"${RABBITMQ_USER}\", + # \"rabbitmq-password\": \"${RABBITMQ_PASS}\", + # \"service-port\": ${RABBITMQ_PORT}, + # \"service-host\": \"${RABBITMQ_HOST}\", + # \"rabbitmq-vhost\": \"/\", + # \"rabbitmq-outbound-queue\": \"test-ci\", + # \"rabbitmq-exchange\": \"ams-fanout\", + # \"rabbitmq-routing-key\": \"training\" + # }""" > $GITHUB_WORKSPACE/rmq.json - python3 $GITHUB_WORKSPACE/tools/rmq/send_ams.py -c $GITHUB_WORKSPACE/rmq.json -r test3 -n 10 + # python3 $GITHUB_WORKSPACE/tools/rmq/send_ams.py -c $GITHUB_WORKSPACE/rmq.json -r test3 -n 10 - AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 2 > output.txt 2>&1 - cat output.txt + AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 2 > $GITHUB_WORKSPACE/output.txt 2>&1 #ctest --output-on-failure -R AMSEndToEndFromJSON::NoModel::Double::DB::rmq::HOST env: RABBITMQ_USER: guest RABBITMQ_PASS: guest RABBITMQ_HOST: rabbitmq - RABBITMQ_PORT: 5672 \ No newline at end of file + RABBITMQ_PORT: 5672 + - name: Print output + run: | + cat $GITHUB_WORKSPACE/output.txt \ No newline at end of file