image: registry.ubicast.net/pod-client stages: - build_docker - check_code - test build_docker_img: image: registry.ubicast.net/docker/dind-compose stage: build_docker rules: - changes: - Dockerfile when: always - if: '$CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' when: always script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.ubicast.net - make publish_docker_img flake8: stage: check_code tags: - docker script: - make lint dead_code: stage: check_code tags: - docker script: - make deadcode allow_failure: true unit_test: tags: - docker stage: test script: - make test coverage: '/TOTAL.*\s+(\d+%)$/'