Skip to content
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

src/scheduler: fix field name for storing k8s context name #419

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

JenySadadia
Copy link
Collaborator

Correct field name for storing k8s cluster name to Node.data. Set data.job_context field to align with model definition.

Fixes: d916ba8 ("src/scheduler: store k8s context in the job node")

Correct field name for storing k8s cluster name to
`Node.data`. Set `data.job_context` field to align with
model definition.

Fixes: d916ba8 ("src/scheduler: store k8s context in the job node")
Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
@JenySadadia
Copy link
Collaborator Author

Tested OK on staging:

$ curl https://staging.kernelci.org:9000/latest/node/65c4c8418cf2fd1548f0c087
{"id":"65c4c8418cf2fd1548f0c087","kind":"kbuild","name":"kbuild-gcc-10-arm64","path":["checkout","kbuild-gcc-10-arm64"],"group":"kbuild-gcc-10-arm64","parent":"65c4c7eb8cf2fd1548f0c086","state":"done","result":"fail","artifacts":{"build_log":"https://kciapistagingstorage1.file.core.windows.net/staging/kbuild-gcc-10-arm64-65c4c8418cf2fd1548f0c087/build.log?sv=2022-11-02&ss=f&srt=sco&sp=r&se=2024-10-17T19:19:12Z&st=2023-10-17T11:19:12Z&spr=https&sig=sLmFlvZHXRrZsSGubsDUIvTiv%2BtzgDq6vALfkrtWnv8%3D","metadata":"https://kciapistagingstorage1.file.core.windows.net/staging/kbuild-gcc-10-arm64-65c4c8418cf2fd1548f0c087/metadata.json?sv=2022-11-02&ss=f&srt=sco&sp=r&se=2024-10-17T19:19:12Z&st=2023-10-17T11:19:12Z&spr=https&sig=sLmFlvZHXRrZsSGubsDUIvTiv%2BtzgDq6vALfkrtWnv8%3D","fragments/0_config":"https://kciapistagingstorage1.file.core.windows.net/staging/kbuild-gcc-10-arm64-65c4c8418cf2fd1548f0c087/fragments/0.config?sv=2022-11-02&ss=f&srt=sco&sp=r&se=2024-10-17T19:19:12Z&st=2023-10-17T11:19:12Z&spr=https&sig=sLmFlvZHXRrZsSGubsDUIvTiv%2BtzgDq6vALfkrtWnv8%3D"},"data":{"kernel_revision":{"tree":"kernelci","url":"https://github.com/kernelci/linux.git","branch":"staging-stable","commit":"421ae7760cacaaa5f8dd652aea61ca0cac0820e8","describe":"staging-stable-20240208.1","version":{"version":"6","patchlevel":"1","sublevel":"77","extra":"-1-g421ae7760caca"}},"runtime":"k8s-all","platform":"kubernetes","job_id":"kci-65c4c8418cf2fd1548f0c087-kbuild-gcc-10-arm64-n1dewguc","job_context":"gke_android-kernelci-external_europe-west4-c_kci-eu-west4","arch":"arm64","compiler":"gcc-10","defconfig":"defconfig","fragments":[],"config_full":"defconfig"},"debug":null,"error_code":null,"created":"2024-02-08T12:25:37.416000","updated":"2024-02-08T12:59:19.686000","timeout":"2024-02-08T18:25:37.416000","holdoff":null,"owner":"staging.kernelci.org","user_groups":[]}

@JenySadadia JenySadadia added this pull request to the merge queue Feb 9, 2024
Merged via the queue into kernelci:main with commit 6fca51e Feb 9, 2024
3 checks passed
@JenySadadia JenySadadia deleted the fix-k8s-context-field-name branch February 9, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant