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

how to make lava-docker push job/build information to kernelci-backend (in kernelci-docker) #27

Open
BIRooter opened this issue Jul 31, 2023 · 1 comment

Comments

@BIRooter
Copy link

I used following block notify in lava-docker's job to push test successfully to kernelci-backend (in kernelci-docker):

notify:
criteria:
status: complete
callbacks:
- url: http://192.168.122.208:8000/api/v0.2/jobs/{LAVA_JOB_ID}/tests/?format=json
method: GET
- url: http://192.168.122.208:8081/callback/lava/test?lab_name=lab-01&status={STATUS}&status_string={STATUS_STRING}
method: POST
dataset: all
token: kernelci-token
content-type: json

So, how to push corresponding job and build to kernelci-backend too?

@BIRooter
Copy link
Author

It seems that kernelci-backend/app/taskqueue/tasks/build.py provides celery (name="impot-build") to store jobs into backend mongodb database.

My question is: how to use that celery remotely to store job from a lava-docker image?

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

No branches or pull requests

1 participant