Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liyapeng
/
log_collect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3e6d0cce
authored
Oct 13, 2023
by
liyapeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加赋予文件执行权限
1 parent
a9b29f9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
adl_log_collect.sh
log_collect.sh
adl_log_collect.sh
View file @
3e6d0cc
...
...
@@ -7,6 +7,7 @@ operation() {
unzip -o adl_log_collect.zip >>/dev/null
echo
"[3]Runing Tool..."
cd
adl_log_collect
chmod +x log_collect.sh
./log_collect.sh
cd
..
echo
"[4]Clearing Env..."
...
...
log_collect.sh
View file @
3e6d0cc
...
...
@@ -95,6 +95,7 @@ Bundlinglogfiles() {
uploadlogfile
()
{
echo
"upload log file"
chmod +x coscli
./coscli -e
${
ENDPOINT
}
-i
${
TMP_SECRET_ID
}
-k
${
TMP_SECRET_KEY
}
--token
${
TMP_SESSION_TOKEN
}
cp /tmp/
${
LOG_DIR
}
.tar cos://
${
BUCKET_NAME
}
/
${
LOG_DIR
}
.tar
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment