Skip to content
Snippets Groups Projects
Commit a25466cf authored by Moul's avatar Moul
Browse files

[wip] #388: mv test stage after package, test build

Disable manual trigger
Docker: where am I
parent c506e58f
No related branches found
No related tags found
No related merge requests found
Pipeline #11635 failed
stages: stages:
- checks - checks
- tests
- package - package
- tests
- coverage - coverage
variables: variables:
...@@ -81,10 +81,13 @@ tests-3.9: ...@@ -81,10 +81,13 @@ tests-3.9:
tags: [docker] tags: [docker]
image: docker:latest image: docker:latest
services: services:
- docker:dind - docker:18.06-dind
before_script:
- docker info
script: script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY # - docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" . - echo "$CI_REGISTRY_IMAGE"
- docker build . #-t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" .
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY - docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker tag "$CI_REGISTRY_IMAGE:$IMAGE_TAG" "$CI_REGISTRY_IMAGE:$IMAGE_TAG" - docker tag "$CI_REGISTRY_IMAGE:$IMAGE_TAG" "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
- docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG" - docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
...@@ -95,8 +98,8 @@ container: ...@@ -95,8 +98,8 @@ container:
extends: .container extends: .container
variables: variables:
IMAGE_TAG: "dev" IMAGE_TAG: "dev"
rules: # rules:
- when: manual # - when: manual
pypi_test: pypi_test:
stage: package stage: package
......
FROM registry.duniter.org/docker/python3/poetry/3.9:latest FROM registry.duniter.org/docker/python3/poetry/3.9:latest
RUN pwd && ls && ls ..
# Install Silkaj # Install Silkaj
RUN poetry install RUN poetry install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment