.gitlab-ci.yml
changeset 363 8207f02c9d42
parent 362 cb6ef0aef02b
child 364 89f5d730ed81
equal deleted inserted replaced
362:cb6ef0aef02b 363:8207f02c9d42
    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         - echo "Using SP version $SP_VERSION"
    32         - docker run
    32         - docker run
    33             --privileged
    33             --privileged
    34             --env SOURCE_CODE="$PWD/src"
    34             --env SOURCE_CODE="$PWD/src"
    35             --volume "$PWD":/code
    35             --volume "$PWD":/code
    36             --volume /var/run/docker.sock:/var/run/docker.sock
    36             --volume /var/run/docker.sock:/var/run/docker.sock