fix gitlab-ci

dev
Dmitry Titov 3 years ago
parent b4b6685066
commit 2501fd3308

@ -77,24 +77,12 @@ pylint:
only:
refs:
- merge_requests
changes:
- "*.py"
- "**/*.py"
artifacts:
reports:
junit: ./build/reports/flake8-junit.xml
expire_in: 7 days
allow_failure: false
pass:
stage: lint
tags:
- deploy-remote
script:
- echo "Hello"
only:
- merge_requests
notify success:
stage: .post
script: curl -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendMessage" -d "chat_id=-1001855628208&reply_to_message_id=98&parse_mode=markdown&text=*[$CI_PROJECT_NAME]* updated with [MR $CI_MERGE_REQUEST_TITLE]($CI_MERGE_REQUEST_PROJECT_URL/-/merge_requests/$CI_MERGE_REQUEST_IID) by $GITLAB_USER_NAME"

Loading…
Cancel
Save