Fakultas Ilmu Komputer UI

Commit e6efd729 authored by Bayukanta Iqbal Gunawan's avatar Bayukanta Iqbal Gunawan
Browse files

tes docker

parent 227da4c2
Pipeline #48572 failed with stage
in 1 minute and 39 seconds
......@@ -37,6 +37,9 @@ UnitTest:
Pylint:
image: python:3.7
stage: linter
only:
refs:
- staging
allow_failure: true
before_script:
- pip install -r requirements.txt
......@@ -49,6 +52,9 @@ SonarScanner:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
stage: sonarqube
only:
refs:
- staging
script:
- sonar-scanner
-Dsonar.host.url=https://pmpl.cs.ui.ac.id/sonarqube
......@@ -85,7 +91,7 @@ Deployment:
- apt-get install -qq git
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo "$SSH_PRIVATE_KEY" | base64 -d)
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment