export declare module scripts {
    const init = "\n        set -ex\n\n        git init\n        git remote add origin $REFLOAT_CLONE_URL\n        git fetch origin --depth 1 $REFLOAT_CLONE_SHA\n        git checkout -b $REFLOAT_CLONE_BRANCH $REFLOAT_CLONE_SHA\n\n        if [ -n \"$REFLOAT_DOCKER_FILE\" ]; then\n            if [ -z \"$REFLOAT_DOCKER_CONTEXT\" ]; then\n                REFLOAT_DOCKER_CONTEXT=\"../tmp-docker-ctx\"\n\n                mkdir -p \"$REFLOAT_DOCKER_CONTEXT\"\n            fi\n\n            REFLOAT_DOCKER_IMAGE=\"$REFLOAT_JOB_ID-base\"\n\n            docker build -f \"$REFLOAT_DOCKER_FILE\" -t \"$REFLOAT_DOCKER_IMAGE\" \"$REFLOAT_DOCKER_CONTEXT\"\n        fi\n\n        if [ -n \"$REFLOAT_DOCKER_IMAGE\" ]; then\n            docker build -f - -t \"$REFLOAT_JOB_ID-image\" .. << Dockerfile\n                FROM $REFLOAT_DOCKER_IMAGE\n                WORKDIR /refloat/$REFLOAT_REPO_NAME\n                CMD /bin/sh\nDockerfile\n\n            docker run                 --detach                 --rm                 -ti                 -v $(pwd):/refloat/$REFLOAT_REPO_NAME                 -v /var/run/docker.sock:/var/run/docker.sock                 --name \"$REFLOAT_JOB_ID\"                 \"$REFLOAT_JOB_ID-image\"\n        fi\n    ";
}
//# sourceMappingURL=scripts.d.ts.map