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
8b38968a
Commit
8b38968a
authored
Aug 23, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing scp
parent
4a12a445
Pipeline
#4712
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
.drone.yml
.drone.yml
+12
-3
No files found.
.drone.yml
View file @
8b38968a
...
@@ -7,13 +7,22 @@ name: default
...
@@ -7,13 +7,22 @@ name: default
steps
:
steps
:
-
name
:
show env
-
name
:
show env
image
:
prlab/drone_plugin
image
:
prlab/drone_plugin
commands
:
commands
:
-
echo $(ls)
-
echo $(pwd)
-
echo $(python3 /plugin/main.py)
-
echo $(python3 /plugin/main.py)
-
python3 /usr/local/src/scan --src $(pwd) --out-dir /drone/reports
-
echo $ssh_key > ./key
-
chmod 600 ./key
-
scp -i ./key -r /drone/reports $USERNAME@HOST:~/drone_reports/
settings
:
settings
:
host
:
host
:
-
192.168.0.22
-
192.168.0.22
environment
:
KEY
:
from_secret
:
ssh_key
USERNAME
:
from_secret
:
ssh_username
HOST
:
from_secret
:
ssh_host
# image: ghcr.io/appleboy/drone-ssh
# image: ghcr.io/appleboy/drone-ssh
#settings:
#settings:
# host:
# host:
...
...
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