-
Notifications
You must be signed in to change notification settings - Fork 5
[llmd] Rework the test harness and its surrounding #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a9b2db5
[llm-d] s/LOGGER/logger
kpouget d8b2625
[llm_] Move the K8s tools to core/dsl/utils/k8s
kpouget b2c0901
[llm_d] per-step vault initialization
kpouget 38c2e75
[llm-d] remove the test_runtime for the time being
kpouget 669c7f8
[llm_d] toolbox: finish moving things around
kpouget ac914f2
[llm_d] toolbox: finish moving things around
kpouget 80fb8d5
[cluster] toolbox: cluster_deploy_operator: extend
kpouget 2851424
[llm-d] Improve the toolbox
kpouget 6d06d2d
[llm_d] orchestration: config: fix the leader-worker-set channel
kpouget a8d849f
[core] dsl: runtime: use exec
kpouget 45b9010
[core] dsl: improve the signal handling
kpouget e6d08d7
[core] dsl: improve the retry logging
kpouget 1601fa8
fournos: gitops: base/workflows/pipeline-prepare-only: new pipeline f…
kpouget 5d3e9c0
[kserve] toolbox: deploy_llmisvc: update
kpouget a78373d
[llm_d] orchestration: ci: correctly initialize the vault
kpouget 27da635
[core] dsl: runtime: reorder and stringify
kpouget eb3dd0b
[rhoai] toolbox: apply_datasciencecluster: always capture the DSC
kpouget 64f7802
[rhoai] toolbox: wait_datasciencecluster: always capture the DSC
kpouget 42714a0
[core] library: config: don't merge the __multiple preset
kpouget d3457e3
[core] library: config: generate presets_applied.txt in CI_METADATA_D…
kpouget 64a8390
[core] ci_entrypoint: prepare_ci: add flag to always send notifications
kpouget faf10b6
fournos: gitops: base/workflows/task-forge: add always-send-notificat…
kpouget b64da3f
remove wait_timeout_seconds
kpouget da5a219
New wait_for_crds toolbox
kpouget 5da30e7
improve
kpouget a8c1377
[llm_d] toolbox: cleanup_test_resources: new toolbox script
kpouget cd42a3f
improve
kpouget 22c9b9d
Improve
kpouget bb72dc7
Improve
kpouget 96600d8
Improve
kpouget 1336d71
Keep working
kpouget f200419
Keep working
kpouget 8bb3b01
pyproject: update ruff to use 3.12
kpouget c54af5a
fournos: gitops: base/workflows/pipeline-prepare-test: new pipeline
kpouget File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Single-step pipeline: run only (no prepare, no cleanup). | ||
| # Use on pre-configured clusters where setup/teardown is handled externally. | ||
| apiVersion: tekton.dev/v1 | ||
| kind: Pipeline | ||
| metadata: | ||
| name: forge-prepare-only | ||
| annotations: | ||
| fournos.dev/resolve-image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/forge-core:latest | ||
| spec: | ||
| workspaces: | ||
| - name: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| type: string | ||
| - name: fournos-workload-namespace | ||
| type: string | ||
| - name: kubeconfig-secret | ||
| type: string | ||
| tasks: | ||
| - name: prepare | ||
| taskRef: | ||
| name: forge-step | ||
| kind: Task | ||
| workspaces: | ||
| - name: artifacts | ||
| workspace: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| value: "$(params.fjob-name)" | ||
| - name: fournos-workload-namespace | ||
| value: "$(params.fournos-workload-namespace)" | ||
| - name: kubeconfig-secret | ||
| value: "$(params.kubeconfig-secret)" | ||
| - name: job-step | ||
| value: prepare | ||
| - name: job-step-name | ||
| value: 000__prepare | ||
| - name: always-send-notification | ||
| value: "true" | ||
|
|
||
| finally: | ||
| - name: export-artifacts | ||
| taskRef: | ||
| name: forge-step | ||
| kind: Task | ||
| workspaces: | ||
| - name: artifacts | ||
| workspace: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| value: "$(params.fjob-name)" | ||
| - name: fournos-workload-namespace | ||
| value: "$(params.fournos-workload-namespace)" | ||
| - name: kubeconfig-secret | ||
| value: "$(params.kubeconfig-secret)" | ||
| - name: job-step | ||
| value: export-artifacts | ||
| - name: job-step-name | ||
| value: 001__export-artifacts | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| # Full pipeline: pre_cleanup -> prepare → test → export-artifacts + post-cleanup. | ||
| apiVersion: tekton.dev/v1 | ||
| kind: Pipeline | ||
| metadata: | ||
| name: forge-prepare-test | ||
| annotations: | ||
| fournos.dev/resolve-image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/forge-core:latest | ||
| spec: | ||
| workspaces: | ||
| - name: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| type: string | ||
| - name: fournos-workload-namespace | ||
| type: string | ||
| - name: kubeconfig-secret | ||
| type: string | ||
|
|
||
| tasks: | ||
| - name: 01-prepare | ||
| taskRef: | ||
| name: forge-step | ||
| kind: Task | ||
| workspaces: | ||
| - name: artifacts | ||
| workspace: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| value: "$(params.fjob-name)" | ||
| - name: fournos-workload-namespace | ||
| value: "$(params.fournos-workload-namespace)" | ||
| - name: kubeconfig-secret | ||
| value: "$(params.kubeconfig-secret)" | ||
| - name: job-step | ||
| value: prepare | ||
| - name: job-step-name | ||
| value: 001__prepare | ||
|
|
||
| - name: 02-test | ||
| runAfter: [01-prepare] | ||
| taskRef: | ||
| name: forge-step | ||
| kind: Task | ||
| workspaces: | ||
| - name: artifacts | ||
| workspace: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| value: "$(params.fjob-name)" | ||
| - name: fournos-workload-namespace | ||
| value: "$(params.fournos-workload-namespace)" | ||
| - name: kubeconfig-secret | ||
| value: "$(params.kubeconfig-secret)" | ||
| - name: job-step | ||
| value: test | ||
| - name: job-step-name | ||
| value: 002__test | ||
|
|
||
| finally: | ||
| - name: 03-export-artifacts | ||
| taskRef: | ||
| name: forge-step | ||
| kind: Task | ||
| workspaces: | ||
| - name: artifacts | ||
| workspace: artifacts | ||
| params: | ||
| - name: fjob-name | ||
| value: "$(params.fjob-name)" | ||
| - name: fournos-workload-namespace | ||
| value: "$(params.fournos-workload-namespace)" | ||
| - name: kubeconfig-secret | ||
| value: "$(params.kubeconfig-secret)" | ||
| - name: job-step | ||
| value: export-artifacts | ||
| - name: job-step-name | ||
| value: 003__export-artifacts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Header comment contradicts the pipeline. This is
forge-prepare-onlyand runs apreparestep, but the comment reads "run only (no prepare, no cleanup)" — looks copy/pasted from the run-only pipeline.📝 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents