--- include: - project: shore/ci-stuff file: templates/pre-commit.yml build: stage: deploy tags: ["ns4.shore.co.il"] script: # yamllint disable-line rule:line-length - cid="$(basename "$(dirname "$(awk '/hostname/ {print $4}' /proc/1/mountinfo)")")" - docker pull registry.shore.co.il/ci-images:python3 - >- docker run --rm --env "LANG=C.UTF-8" --volumes-from "$cid" --volume "/var/www/www.shore.co.il/blog:/builds/nimrod/blog/output" --workdir "$PWD" registry.shore.co.il/ci-images:python3 /bin/sh -xc "pipenv --python=python3 install && pipenv run clean && pipenv run build"