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
75ddb708
Commit
75ddb708
authored
Aug 23, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test volumes
parent
2c1518e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
21 deletions
+9
-21
.drone.yml
.drone.yml
+9
-21
No files found.
.drone.yml
View file @
75ddb708
---
---
kind
:
pipeline
kind
:
pipeline
type
:
docker
type
:
docker
name
:
defaul
t
name
:
sec_tes
t
steps
:
steps
:
-
name
:
security
scan
-
name
:
security
_
scan
image
:
prlab/drone_plugin
image
:
prlab/drone_plugin
volumes
:
volumes
:
-
name
:
cache
-
name
:
cache
path
:
/
tmp/
path
:
/
home/reports
commands
:
commands
:
-
echo $(python3 /plugin/main.py)
-
echo $(python3 /plugin/main.py)
-
python3 /usr/local/src/scan --src ./src -o /tmp/reports
-
python3 /usr/local/src/scan --src ./src -o /home/reports
settings
:
host
:
-
192.168.0.22
environment
:
KEY
:
from_secret
:
ssh_key
USERNAME
:
from_secret
:
ssh_username
HOST
:
from_secret
:
ssh_host
steps
:
-
name
:
scp
-
name
:
scp
image
:
appleboy/drone-scp
image
:
appleboy/drone-scp
volumes
:
volumes
:
-
name
:
cache
-
name
:
cache
path
:
/
tmp
/reports
path
:
/
home
/reports
settings
:
settings
:
host
:
host
:
from_secret
:
ssh_host
from_secret
:
ssh_host
...
@@ -40,10 +28,10 @@ steps:
...
@@ -40,10 +28,10 @@ steps:
password
:
password
:
from_secret
:
ssh_password
from_secret
:
ssh_password
port
:
22
port
:
22
target
:
~/drone_reports
target
:
~/
Downloads/
drone_reports
source
:
/
tmp
/reports
source
:
/
home
/reports
depends_on
:
security_scan
volumes
:
volumes
:
-
name
:
cache
-
name
:
cache
host
:
host
:
path
:
/
tmp/
path
:
/
home/reports
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