Commit 7b026978 authored by Wen Wei Li's avatar Wen Wei Li

test for ttc scanner

parent eeb1836c
Pipeline #5046 failed with stage
......@@ -5,40 +5,17 @@ name: sec_test
steps:
- name: sast_scan
image: prlab/drone_plugin
volumes:
- name: cache
path: /home/reports/
commands:
- echo $(python3 /plugin/main.py)
- python3 /usr/local/src/scan --src ./src -o /home/reports
- name: code-analysis
image: prlab/drone-sonar
settings:
SONAR_HOST:
from_secret: sonar_host
SONAR_TOKEN:
from_secret: sonar_token
- name: scp
image: appleboy/drone-scp
volumes:
- name: cache
path: /home/reports/
- name: ttc_code_scan
image: prlab/ttc_code_scan
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port : 22
target: ~/Downloads/drone_reports
source: /home/reports/
depends_on: ["sast_scan", "code-analysis"]
SCAN_HOST:
from_secret: scan_host
SCAN_TYPE:
from_secret: scan_type
FILE_NAME:
from_secret: file_name
ID:
from_secret: id
volumes:
- name: cache
......
Markdown is supported
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