.gitlab-ci.yml
changeset 362 cb6ef0aef02b
parent 361 20773d4442ee
child 363 8207f02c9d42
equal deleted inserted replaced
361:20773d4442ee 362:cb6ef0aef02b
    26         - docker:stable-dind
    26         - docker:stable-dind
    27     before_script:
    27     before_script:
    28         - grep "version =" setup.py
    28         - grep "version =" setup.py
    29     script:
    29     script:
    30         - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
    30         - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
       
    31         - echo "SP version: $SP_VERSION"
    31         - docker run
    32         - docker run
    32             --privileged
    33             --privileged
    33             --env SOURCE_CODE="$PWD/src"
    34             --env SOURCE_CODE="$PWD/src"
    34             --volume "$PWD":/code
    35             --volume "$PWD":/code
    35             --volume /var/run/docker.sock:/var/run/docker.sock
    36             --volume /var/run/docker.sock:/var/run/docker.sock