Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
drone_test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
drone_test
Commits
7b026978
Commit
7b026978
authored
Sep 19, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test for ttc scanner
parent
eeb1836c
Pipeline
#5046
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
33 deletions
+10
-33
.drone.yml
.drone.yml
+10
-33
No files found.
.drone.yml
View file @
7b026978
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment