Loading .gitlab-ci.yml +22 −6 Changes for .gitlab-ci.yml: 22 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -79,6 +79,27 @@ images: docker push "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/${image}" docker rmi "${image}" >/dev/null done # Prepare build image - | echo '' echo " [INFO] Pull: ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine" echo '' docker pull "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine" docker build -t "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" -f - . <<-EOF FROM ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine RUN apk add -q git COPY ./requirements/runtime.txt /tmp/ COPY ./requirements/build.txt /tmp/ RUN export PIP_DISABLE_PIP_VERSION_CHECK=1 \ && pip3 install -q -r /tmp/runtime.txt --upgrade \ && pip3 install -q -r /tmp/build.txt --upgrade \ && rm -f /tmp/runtime.txt \ && rm -f /tmp/build.txt EOF echo '' echo " [INFO] Push: ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" echo '' docker push "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" # Prepare codestyle image - | echo '' Loading Loading @@ -201,13 +222,8 @@ typings: build: stage: build image: registry.gitlab.com/adriandc/pexpect-executor/pexpect-executor:build needs: [] variables: PIP_DISABLE_PIP_VERSION_CHECK: 1 before_script: - pip3 install -r ./requirements/runtime.txt --upgrade - pip3 install -r ./requirements/build.txt --upgrade - apk add -q git script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build Loading Loading
.gitlab-ci.yml +22 −6 Changes for .gitlab-ci.yml: 22 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -79,6 +79,27 @@ images: docker push "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/${image}" docker rmi "${image}" >/dev/null done # Prepare build image - | echo '' echo " [INFO] Pull: ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine" echo '' docker pull "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine" docker build -t "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" -f - . <<-EOF FROM ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/python:3.11-alpine RUN apk add -q git COPY ./requirements/runtime.txt /tmp/ COPY ./requirements/build.txt /tmp/ RUN export PIP_DISABLE_PIP_VERSION_CHECK=1 \ && pip3 install -q -r /tmp/runtime.txt --upgrade \ && pip3 install -q -r /tmp/build.txt --upgrade \ && rm -f /tmp/runtime.txt \ && rm -f /tmp/build.txt EOF echo '' echo " [INFO] Push: ${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" echo '' docker push "${REGISTRY_HOST}/${REGISTRY_OWNER}/${REGISTRY_PROJECT}/pexpect-executor:build" # Prepare codestyle image - | echo '' Loading Loading @@ -201,13 +222,8 @@ typings: build: stage: build image: registry.gitlab.com/adriandc/pexpect-executor/pexpect-executor:build needs: [] variables: PIP_DISABLE_PIP_VERSION_CHECK: 1 before_script: - pip3 install -r ./requirements/runtime.txt --upgrade - pip3 install -r ./requirements/build.txt --upgrade - apk add -q git script: - rm -rf ./build ./dist ./*.egg-info ./.eggs - python3 -m build Loading