Forum Discussion

Chry007's avatar
Chry007
New Contributor
5 years ago

Aquiring Floating License from within docker container in gitlab-ci pipeline

Hi,  I am starting the ready-api-soapui-testrunner (https://hub.docker.com/r/smartbear/ready-api-soapui-testrunner) from within a git pipeline. The container starts and connects to the license serve...
  • dbuchanan's avatar
    dbuchanan
    5 years ago

    We had a similar issue and after a few online sessions this is what we have working now.

     

    Run docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
    docker pull ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest
    mkdir -p /tmp/reports
    mkdir -p /tmp/ext
    PWD=`pwd`
    PROJ='radigio-automated-tests'
    PROJECT="${PWD}/${PROJ}"
    REPORT="/tmp/reports"
    EXTN="/tmp/ext"
    docker run -v="${PROJECT}":/project -v="${REPORT}":/reports -v="${EXTN}":/ext -e "JAVA_OPTS=-Xms128m -Xmx8192m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties" -e LICENSE_SERVER="sblicense.net:1099" -e COMMAND_LINE=" -f/reports '-RJUnit-Style HTML Report' -FHTML '-EMSP_QA1' '-TTestSuite Proposals' '-TTestCase Proposals' '/project' " ***.dkr.ecr.us-east-1.amazonaws.com/badbear:latest