Loading .gitlab-ci.yml +5 −4 Original line number Diff line number Diff line Loading @@ -27,8 +27,10 @@ py-release: - when: never dry-run-test: extends: .python-base stage: test image: name: "$DOCKER_SNAPSHOT_IMAGE" entrypoint: [""] stage: package-test variables: SRC_GITLAB_API: https://gitlab.com/api/v4 SRC_SYNC_PATH: to-be-continuous Loading @@ -38,8 +40,7 @@ dry-run-test: EXCLUDE: samples # DEST_TOKEN is declared as a project secret variable script: - install_requirements - poetry run gitlab-cp --dry-run - gitlab-cp --dry-run rules: # run only on original project on gitlab.com - if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "to-be-continuous/tools/gitlab-cp"' Dockerfile +2 −0 Original line number Diff line number Diff line Loading @@ -4,7 +4,9 @@ WORKDIR /code COPY ./dist/*.whl /code/ # hadolint ignore=DL3018 RUN apk upgrade --no-cache \ && apk add git --no-cache \ && pip install --no-cache-dir /code/*.whl ENTRYPOINT [ "gitlab-cp" ] Loading Loading
.gitlab-ci.yml +5 −4 Original line number Diff line number Diff line Loading @@ -27,8 +27,10 @@ py-release: - when: never dry-run-test: extends: .python-base stage: test image: name: "$DOCKER_SNAPSHOT_IMAGE" entrypoint: [""] stage: package-test variables: SRC_GITLAB_API: https://gitlab.com/api/v4 SRC_SYNC_PATH: to-be-continuous Loading @@ -38,8 +40,7 @@ dry-run-test: EXCLUDE: samples # DEST_TOKEN is declared as a project secret variable script: - install_requirements - poetry run gitlab-cp --dry-run - gitlab-cp --dry-run rules: # run only on original project on gitlab.com - if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "to-be-continuous/tools/gitlab-cp"'
Dockerfile +2 −0 Original line number Diff line number Diff line Loading @@ -4,7 +4,9 @@ WORKDIR /code COPY ./dist/*.whl /code/ # hadolint ignore=DL3018 RUN apk upgrade --no-cache \ && apk add git --no-cache \ && pip install --no-cache-dir /code/*.whl ENTRYPOINT [ "gitlab-cp" ] Loading