stages: - tools - test - cleanup_tests - build - deploy build_test: stage: tools tags: - bots-deployer script: - make build-test flake8: stage: test tags: - bots-deployer script: - make flake8 pytest: stage: test tags: - bots-deployer script: - make pytest black: stage: test tags: - bots-deployer script: - make black mypy: stage: test tags: - bots-deployer script: - make mypy cleanup_tests: stage: cleanup_tests tags: - bots-deployer when: always script: - make clear-test build: stage: build only: - master - tags tags: - bots-deployer script: - make build push deploy: stage: deploy only: - master - tags when: manual tags: - bots-deployer script: - make deploy-prod