Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
11b97adb
Unverified
Commit
11b97adb
authored
Jun 30, 2022
by
xiaoguaiguai
Committed by
GitHub
Jun 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add job CheckPoint History for Recovery of CheckPoint (#665)
parent
db71177f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
270 additions
and
137 deletions
+270
-137
function.ts
dlink-web/src/components/Common/function.ts
+3
-0
index.tsx
dlink-web/src/pages/DevOps/JobInfo/CheckPoints/index.tsx
+256
-137
data.d.ts
dlink-web/src/pages/DevOps/data.d.ts
+11
-0
No files found.
dlink-web/src/components/Common/function.ts
View file @
11b97adb
...
...
@@ -25,6 +25,9 @@ export function parseNumStr(num: number) {
}
export
function
parseMilliSecondStr
(
second_time
:
number
)
{
if
(((
second_time
/
1000
)
%
60
)
<
1
){
return
second_time
+
"毫秒"
;
}
return
parseSecondStr
(
second_time
/
1000
);
}
...
...
dlink-web/src/pages/DevOps/JobInfo/CheckPoints/index.tsx
View file @
11b97adb
This diff is collapsed.
Click to expand it.
dlink-web/src/pages/DevOps/data.d.ts
View file @
11b97adb
...
...
@@ -114,3 +114,14 @@ export type TaskContainerConfigInfo = {
}
export
type
CheckPointsDetailInfo
=
{
jobID
:
number
,
historyID
:
number
,
id
:
number
,
status
:
string
,
end_to_end_duration
:
number
,
external_path
:
string
,
latest_ack_timestamp
:
number
,
state_size
:
number
,
trigger_timestamp
:
number
,
}
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