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
652bb00e
Commit
652bb00e
authored
Aug 29, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete whole CI/CD process
parent
082c7c6c
Pipeline
#4839
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
.drone.yml
.drone.yml
+6
-0
No files found.
.drone.yml
View file @
652bb00e
...
@@ -26,7 +26,9 @@ steps:
...
@@ -26,7 +26,9 @@ steps:
commands
:
commands
:
-
python3 /usr/local/src/scan --type python,yaml,dockerfile,kubernetes --src ./ -o /home/reports
-
python3 /usr/local/src/scan --type python,yaml,dockerfile,kubernetes --src ./ -o /home/reports
depends_on
:
[
"
build-and-publish-imamge"
]
# sonarqube scan
-
name
:
code-analysis
-
name
:
code-analysis
image
:
prlab/drone-sonar
image
:
prlab/drone-sonar
settings
:
settings
:
...
@@ -34,11 +36,15 @@ steps:
...
@@ -34,11 +36,15 @@ steps:
from_secret
:
sonar_host
from_secret
:
sonar_host
SONAR_TOKEN
:
SONAR_TOKEN
:
from_secret
:
sonar_token
from_secret
:
sonar_token
depends_on
:
[
"
build-and-publish-imamge"
]
# dependency check for python
-
name
:
dependency-check-py
-
name
:
dependency-check-py
image
:
prlab/dependency-check-py
image
:
prlab/dependency-check-py
volumes
:
volumes
:
-
name
:
cache
-
name
:
cache
path
:
/home/reports
path
:
/home/reports
depends_on
:
[
"
build-and-publish-imamge"
]
-
name
:
scp
-
name
:
scp
image
:
appleboy/drone-scp
image
:
appleboy/drone-scp
...
...
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