Skip to content

Commit

Permalink
feat: handle 'Aborting' workflow execution phases (#256)
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
Katrina Rogan authored Jan 6, 2022
1 parent 29f69e7 commit 3231441
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@date-io/moment": "1.3.9",
"@flyteorg/flyteidl": "0.21.10",
"@flyteorg/flyteidl": "0.21.16",
"@material-ui/core": "^4.0.0",
"@material-ui/icons": "^4.0.0",
"@material-ui/pickers": "^3.2.2",
Expand Down
5 changes: 5 additions & 0 deletions src/components/Executions/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ export const workflowExecutionPhaseConstants: {
text: 'Aborted',
textColor: negativeTextColor
},
[WorkflowExecutionPhase.ABORTING]: {
badgeColor: statusColors.SKIPPED,
text: 'Aborting',
textColor: negativeTextColor
},
[WorkflowExecutionPhase.FAILING]: {
badgeColor: statusColors.FAILURE,
text: 'Failing',
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1377,10 +1377,10 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@flyteorg/[email protected].10":
version "0.21.10"
resolved "https://registry.yarnpkg.com/@flyteorg/flyteidl/-/flyteidl-0.21.10.tgz#b5fc60aa33a9f2ca56e066e3a1ab8750894b8ae0"
integrity sha512-9ykCwIrCs9PKHOSZZK0cAha/P+n2XDR0hEvVY4h6xOiUw3rVJmSCxKiAvRSp2hGgLXK9ZFnFhCgUXwkB1O1epQ==
"@flyteorg/[email protected].16":
version "0.21.16"
resolved "https://registry.yarnpkg.com/@flyteorg/flyteidl/-/flyteidl-0.21.16.tgz#3feece4565bcae532a6de5641b2f8cc763a26e88"
integrity sha512-yYi0IrDj2WhpLaCcw4AmLTpcVeVcJ9n6UQEei5WJjDodl+v+KZY6348/yTRE+iFXsQUzUSoEAjFnanYyaveSMA==

"@iarna/cli@^1.2.0":
version "1.2.0"
Expand Down

0 comments on commit 3231441

Please sign in to comment.