Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
10cb0031
Commit
10cb0031
authored
7 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
remove peasoup from step name, use #ATTRIBUTE instead of # ATTRIBUTE
Former-commit-id: f93ce17df8fe9fd8f04b0c6f5e94d99ff9dfff31
parent
4ce2413e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/ps_analyze.sh
+11
-11
11 additions, 11 deletions
tools/ps_analyze.sh
with
11 additions
and
11 deletions
tools/ps_analyze.sh
+
11
−
11
View file @
10cb0031
...
@@ -557,12 +557,12 @@ perform_step()
...
@@ -557,12 +557,12 @@ perform_step()
endtime
=
`
$PS_DATE
`
endtime
=
`
$PS_DATE
`
echo
"#
ATTRIBUTE start_time=
$starttime
"
>>
$logfile
echo
"#ATTRIBUTE start_time=
$starttime
"
>>
$logfile
echo
"#
ATTRIBUTE end_time=
$endtime
"
>>
$logfile
echo
"#ATTRIBUTE end_time=
$endtime
"
>>
$logfile
echo
"#
ATTRIBUTE
peasoup_
step_name=
$step
"
>>
$logfile
echo
"#ATTRIBUTE step_name=
$step
"
>>
$logfile
echo
"#
ATTRIBUTE
peasoup_
step_number=
$stepnum
"
>>
$logfile
echo
"#ATTRIBUTE step_number=
$stepnum
"
>>
$logfile
echo
"#
ATTRIBUTE
peasoup_
step_command=
$command
"
>>
$logfile
echo
"#ATTRIBUTE step_command=
$command
"
>>
$logfile
echo
"#
ATTRIBUTE
peasoup_
step_exitcode=
$command_exit
"
>>
$logfile
echo
"#ATTRIBUTE step_exitcode=
$command_exit
"
>>
$logfile
# report job status
# report job status
if
[
$command_exit
-eq
0
]
;
then
if
[
$command_exit
-eq
0
]
;
then
...
@@ -594,7 +594,7 @@ perform_step()
...
@@ -594,7 +594,7 @@ perform_step()
# report warning in log file, line by line, as an attribute.
# report warning in log file, line by line, as an attribute.
while
IFS
=
read
-r
line
;
do
while
IFS
=
read
-r
line
;
do
echo
echo
echo
"#
ATTRIBUTE
peasoup_
serious_warning_text=
\"
$line
\"
"
>>
$logfile
echo
"#ATTRIBUTE serious_warning_text=
\"
$line
\"
"
>>
$logfile
done
<
"warning.txt"
done
<
"warning.txt"
# remove warning.txt so we don't report these warnings again.
# remove warning.txt so we don't report these warnings again.
rm
-f
warning.txt
rm
-f
warning.txt
...
@@ -702,10 +702,10 @@ report_logs()
...
@@ -702,10 +702,10 @@ report_logs()
logfile
=
logs/ps_analyze.log
logfile
=
logs/ps_analyze.log
myhost
=
$(
hostname
)
myhost
=
$(
hostname
)
echo
"#
ATTRIBUTE start_time=
$ps_starttime
"
>>
$logfile
echo
"#ATTRIBUTE start_time=
$ps_starttime
"
>>
$logfile
echo
"#
ATTRIBUTE end_time=
$ps_endtime
"
>>
$logfile
echo
"#ATTRIBUTE end_time=
$ps_endtime
"
>>
$logfile
echo
"#
ATTRIBUTE hostname=
$myhost
"
>>
$logfile
echo
"#ATTRIBUTE hostname=
$myhost
"
>>
$logfile
echo
"#
ATTRIBUTE
peasoup_
step_name=all_
peasoup
"
>>
$logfile
echo
"#ATTRIBUTE step_name=all_
helix
"
>>
$logfile
# for i in $all_logs
# for i in $all_logs
# do
# do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment