Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: project-codeflare/codeflare-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.11.1
Choose a base ref
...
head repository: project-codeflare/codeflare-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 9,960 additions and 4,455 deletions.
  1. +6 −0 .github/workflows/cli.yml
  2. +15 −8 .github/workflows/kind.yml
  3. +5 −0 .github/workflows/self-test.yml
  4. +6 −0 .github/workflows/ui.yml
  5. +594 −0 CHANGELOG.md
  6. +3 −3 Casks/codeflare.rb
  7. +52 −0 deploy/bases/README.md
  8. +54 −0 deploy/bases/lightning/Dockerfile
  9. +11 −0 deploy/bases/lightning/requirements.txt
  10. +28 −0 deploy/bases/pyarrow/Dockerfile
  11. +12 −0 deploy/bases/pyarrow/requirements.txt
  12. +28 −0 deploy/bases/transformers/Dockerfile
  13. +1 −0 deploy/bases/transformers/requirements.txt
  14. +13 −0 deploy/custodian/Dockerfile
  15. +45 −0 deploy/custodian/README.md
  16. +3,750 −4,292 package-lock.json
  17. +43 −44 package.json
  18. +1 −1 plugins/plugin-client-default/package.json
  19. +2 −2 plugins/plugin-client-default/src/CodeFlareWidget.tsx
  20. +2 −0 plugins/plugin-codeflare-dashboard/.gitignore
  21. +6 −0 plugins/plugin-codeflare-dashboard/.npmignore
  22. +75 −0 plugins/plugin-codeflare-dashboard/hacks/node.js
  23. +48 −0 plugins/plugin-codeflare-dashboard/package.json
  24. +233 −0 plugins/plugin-codeflare-dashboard/src/components/Job/Grid.tsx
  25. +118 −0 plugins/plugin-codeflare-dashboard/src/components/Job/Timeline.tsx
  26. +323 −0 plugins/plugin-codeflare-dashboard/src/components/Job/index.tsx
  27. +72 −0 plugins/plugin-codeflare-dashboard/src/components/Job/stats.ts
  28. +85 −0 plugins/plugin-codeflare-dashboard/src/components/Job/types.ts
  29. +28 −0 plugins/plugin-codeflare-dashboard/src/components/Top/Group.ts
  30. +68 −0 plugins/plugin-codeflare-dashboard/src/components/Top/Header.tsx
  31. +200 −0 plugins/plugin-codeflare-dashboard/src/components/Top/JobBox.tsx
  32. +25 −0 plugins/plugin-codeflare-dashboard/src/components/Top/defaults.ts
  33. +336 −0 plugins/plugin-codeflare-dashboard/src/components/Top/index.tsx
  34. +86 −0 plugins/plugin-codeflare-dashboard/src/components/Top/types.ts
  35. +109 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/generic/Demo.ts
  36. +40 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/grids.ts
  37. +62 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/history.ts
  38. +127 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/index.ts
  39. +55 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/jobid.ts
  40. +63 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/kinds.ts
  41. +34 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/options.ts
  42. +31 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/status/Demo.ts
  43. +305 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/status/Live.ts
  44. +61 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/status/index.ts
  45. +65 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/status/states.ts
  46. +173 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/status/theme.ts
  47. +31 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/utilization/Demo.ts
  48. +173 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/utilization/Live.ts
  49. +72 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/utilization/index.ts
  50. +24 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/utilization/states.ts
  51. +84 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/job/utilization/theme.ts
  52. +58 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/options.ts
  53. +21 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/stripColors.ts
  54. +102 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/tailf.ts
  55. +20 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/term.ts
  56. +59 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/top/index.ts
  57. +36 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/top/options.ts
  58. +78 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/top/parsers.ts
  59. +87 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/top/stats.ts
  60. +194 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/top/watcher.ts
  61. +21 −0 plugins/plugin-codeflare-dashboard/src/controller/dashboard/usage.ts
  62. +112 −0 plugins/plugin-codeflare-dashboard/src/controller/dump.ts
  63. +79 −0 plugins/plugin-codeflare-dashboard/src/controller/env.ts
  64. +121 −0 plugins/plugin-codeflare-dashboard/src/controller/kubernetes.ts
  65. +24 −0 plugins/plugin-codeflare-dashboard/src/controller/path.ts
  66. +15 −0 plugins/plugin-codeflare-dashboard/src/index.ts
  67. +43 −0 plugins/plugin-codeflare-dashboard/src/plugin.ts
  68. +13 −0 plugins/plugin-codeflare-dashboard/tsconfig.json
  69. +10 −10 plugins/plugin-codeflare/package.json
  70. +2 −3 plugins/plugin-codeflare/src/controller/index.ts
  71. +6 −0 tests/kind/expected-dashdash.js
  72. +82 −0 tests/kind/inputs/qiskit-with-dashdash/intentionally-not-main.py
  73. +1 −0 tests/kind/inputs/qiskit-with-dashdash/requirements.txt
  74. +32 −0 tests/kind/inputs/ray-basic/main.py
  75. +15 −0 tests/kind/inputs/torchx/compute_world_size/README.rst
  76. 0 tests/kind/inputs/torchx/compute_world_size/config/__init__.py
  77. +10 −0 tests/kind/inputs/torchx/compute_world_size/config/defaults.yaml
  78. +41 −0 tests/kind/inputs/torchx/compute_world_size/main.py
  79. +29 −0 tests/kind/inputs/torchx/compute_world_size/module/test/util_test.py
  80. +41 −0 tests/kind/inputs/torchx/compute_world_size/module/util.py
  81. +1 −1 tests/kind/profiles/gpu1/keep-it-simple
  82. +1 −0 tests/kind/profiles/non-gpu1/keep-it-simple.aarch64
  83. +25 −0 tests/kind/profiles/non-gpu1/keep-it-simple.arm64
  84. +5 −5 tests/kind/profiles/non-gpu1/{keep-it-simple → keep-it-simple.x86_64}
  85. +1 −0 tests/kind/profiles/non-gpu1/mcad-coscheduler.aarch64
  86. +27 −0 tests/kind/profiles/non-gpu1/mcad-coscheduler.arm64
  87. +12 −5 tests/kind/profiles/non-gpu1/{mcad-coscheduler → mcad-coscheduler.x86_64}
  88. +1 −0 tests/kind/profiles/non-gpu1/mcad-default.aarch64
  89. +27 −0 tests/kind/profiles/non-gpu1/mcad-default.arm64
  90. +4 −3 tests/kind/profiles/non-gpu1/{mcad-default → mcad-default.x86_64}
  91. +1 −0 tests/kind/profiles/non-gpu1/mcad-preinstalled.aarch64
  92. +33 −0 tests/kind/profiles/non-gpu1/mcad-preinstalled.arm64
  93. +10 −3 tests/kind/profiles/non-gpu1/{mcad-preinstalled → mcad-preinstalled.x86_64}
  94. +1 −0 tests/kind/profiles/non-gpu1/ray-autoscaler.aarch64
  95. +31 −0 tests/kind/profiles/non-gpu1/ray-autoscaler.arm64
  96. +9 −3 tests/kind/profiles/non-gpu1/{ray-autoscaler → ray-autoscaler.x86_64}
  97. +1 −0 tests/kind/profiles/non-gpu2/keep-it-simple.aarch64
  98. +31 −0 tests/kind/profiles/non-gpu2/keep-it-simple.arm64
  99. +10 −4 tests/kind/profiles/{non-gpu4/keep-it-simple → non-gpu2/keep-it-simple.x86_64}
  100. +1 −0 tests/kind/profiles/non-gpu3/keep-it-simple.aarch64
  101. +31 −0 tests/kind/profiles/non-gpu3/keep-it-simple.arm64
  102. +9 −3 tests/kind/profiles/non-gpu3/{keep-it-simple → keep-it-simple.x86_64}
  103. +1 −0 tests/kind/profiles/non-gpu4/keep-it-simple.aarch64
  104. +31 −0 tests/kind/profiles/non-gpu4/keep-it-simple.arm64
  105. +9 −3 tests/kind/profiles/{non-gpu2/keep-it-simple → non-gpu4/keep-it-simple.x86_64}
  106. +1 −0 tests/kind/profiles/non-gpu5/dashdash.txt
  107. +1 −0 tests/kind/profiles/non-gpu5/keep-it-simple.aarch64
  108. +25 −0 tests/kind/profiles/non-gpu5/keep-it-simple.arm64
  109. +25 −0 tests/kind/profiles/non-gpu5/keep-it-simple.x86_64
  110. +1 −0 tests/kind/profiles/non-gpu6-http/dashdash.txt
  111. +1 −0 tests/kind/profiles/non-gpu6-http/mcad-default.aarch64
  112. +27 −0 tests/kind/profiles/non-gpu6-http/mcad-default.arm64
  113. +27 −0 tests/kind/profiles/non-gpu6-http/mcad-default.x86_64
  114. +1 −0 tests/kind/profiles/non-gpu6/dashdash.txt
  115. +1 −0 tests/kind/profiles/non-gpu6/keep-it-simple.aarch64
  116. +25 −0 tests/kind/profiles/non-gpu6/keep-it-simple.arm64
  117. +25 −0 tests/kind/profiles/non-gpu6/keep-it-simple.x86_64
  118. +27 −0 tests/kind/profiles/non-gpu6/mcad-coscheduler
  119. +1 −0 tests/kind/profiles/non-gpu6/mcad-default.aarch64
  120. +27 −0 tests/kind/profiles/non-gpu6/mcad-default.arm64
  121. +27 −0 tests/kind/profiles/non-gpu6/mcad-default.x86_64
  122. +46 −16 tests/kind/run.sh
  123. +3 −10 tests/plugin-madwizard/plan/inputs/1.spec.ts
  124. +3 −1 tests/plugin-madwizard/plan/inputs/2.spec.ts
  125. +3 −1 tests/plugin-madwizard/plan/inputs/3.spec.ts
  126. +3 −1 tests/plugin-madwizard/plan/inputs/4.spec.ts
  127. +2 −1 tests/plugin-madwizard/plan/inputs/5.spec.ts
  128. +4 −28 tests/plugin-madwizard/plan/inputs/6.spec.ts
  129. +3 −2 tests/plugin-madwizard/plan/inputs/7.spec.ts
  130. +27 −0 tests/plugin-madwizard/plan/inputs/importd.ts
  131. +21 −0 tests/plugin-madwizard/plan/inputs/importe.ts
  132. +43 −0 tests/plugin-madwizard/plan/inputs/importg.ts
  133. +7 −1 tests/self-test/self-test.yaml
  134. +5 −1 tsconfig.json
6 changes: 6 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CLI

# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ main ]
@@ -32,6 +37,7 @@ jobs:
# if: matrix.os == 'ubuntu-latest'

- run: npm ci && npm run build:headless
shell: bash
env:
NODE_OPTIONS: "--max_old_space_size=8192"

23 changes: 15 additions & 8 deletions .github/workflows/kind.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Kind

# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ main ]
@@ -13,14 +18,17 @@ jobs:
strategy:
matrix:
profile:
- non-gpu1/keep-it-simple
- non-gpu2/keep-it-simple
- non-gpu3/keep-it-simple
- non-gpu4/keep-it-simple
- non-gpu1/keep-it-simple # ray
- non-gpu2/keep-it-simple # ray
- non-gpu3/keep-it-simple # ray
- non-gpu4/keep-it-simple # ray
- non-gpu5/keep-it-simple # ray with dashdash args
- non-gpu6/mcad-default # torchx
- non-gpu6-http/mcad-default # torchx, using an http fetch to get the workdir
# - non-gpu1/ray-autoscaler
- non-gpu1/mcad-default
- non-gpu1/mcad-coscheduler
- non-gpu1/mcad-preinstalled
- non-gpu1/mcad-default # ray
- non-gpu1/mcad-coscheduler # ray
- non-gpu1/mcad-preinstalled # ray
os: [ubuntu-latest]
node-version: [16.x]

@@ -47,5 +55,4 @@ jobs:
env:
EXECUTABLE_PATH: github-actions-production
DEBUG_KUBERNETES: true
TEST_LOG_AGGREGATOR: true
run: ./tests/kind/run.sh ${{ matrix.profile }}
5 changes: 5 additions & 0 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Testing of the self-test capability
name: Self-test

# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ main ]
6 changes: 6 additions & 0 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,11 @@

name: UI

# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ main ]
@@ -28,6 +33,7 @@ jobs:
- run: npm ci

- name: Build production app
shell: bash
env:
NO_INSTALLER: true
run: npm run build:electron:${{ runner.os }}:${{ runner.arch }}
Loading