Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
ric-app-hw-py
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
ric-app-hw-py
Commits
57c4a7a8
Commit
57c4a7a8
authored
Aug 28, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add .drone.yml
parent
a176ff3c
Pipeline
#4808
canceled with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
.drone.yml
.drone.yml
+45
-0
No files found.
.drone.yml
0 → 100644
View file @
57c4a7a8
---
kind
:
pipeline
type
:
docker
name
:
deploy
steps
:
# scan
-
name
:
sast_scan
image
:
prlab/sast_scan
volumes
:
-
name
:
cache
path
:
/home/reports/
commands
:
-
python3 /usr/local/src/scan --type python,yaml,dockerfile,kubernetes --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/
settings
:
host
:
from_secret
:
ssh_host
username
:
from_secret
:
ssh_username
password
:
from_secret
:
ssh_password
port
:
22
target
:
/home/oran/Downloads/drone_reports
source
:
/home/reports/
depends_on
:
[
"
sast_scan"
,
"
code-analysis"
]
volumes
:
-
name
:
cache
temp
:
{}
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