Update .gitlab-ci.yml file

This commit is contained in:
Slava
2024-03-11 22:04:32 +00:00
parent f87f8dfe09
commit 129b209090

View File

@@ -19,6 +19,7 @@ include:
qodana:
stage: 'code_quality'
needs: ['gemnasium-python-dependency_scanning', 'semgrep-sast', 'kics-iac-sast']
only:
- master
- merge_requests
@@ -47,6 +48,7 @@ qodana:
job:
stage: 'pull'
image: 'alpine'
needs: ['qodana']
only:
- master
cache:
@@ -56,13 +58,13 @@ job:
before_script:
- apk add openssh-client > /dev/null
- eval $(ssh-agent -s)
- chmod 400 $SSH_ARIVATE_KEY
- chmod 400 $SSH_PRIVATE_KEY
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- cp $SSH_PRIVATE_KEY ~/.ssh/id_rsa
- ssh-add ~/.ssh/id_rsa
- ssh $BOT_HOST -y
script: