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

removed ova-list endpoint and code that was now dead #618

Closed
wants to merge 3 commits into from

Conversation

TheMrSheldon
Copy link
Member

No description provided.

@TheMrSheldon TheMrSheldon requested a review from mam10eks March 12, 2024 10:01
Copy link
Member

@mam10eks mam10eks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for starting the clean up.

I think the removal of build-tira-git-docker is critical, we need this image in production to run all our Github CI workloads. That this makefile uses the source code deleted in this repository likely means that we can not delete it now. It is very likely that some protobuff communication that we still use need this.

I guess the only place where we still use Protobuff at the moment (which will likely fail after this pull request) is when a run is finished it tries to communicate the run results to TIRA.

So this likely has to go hand in hand with the refactoring of the communication that you wanted to do. @kaaage and @MattiWe do you have any opinions on that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the clean up. This script should not be removed, as this is still important for our discourse deployment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the clean up.

The thing below should still be important, as this is used for our production system on gitlab.
I think there might be a reason for this cp -r ../host/src/tira_host src command, so I think we can not yet remove this code, as it would mean that likely the protobuff communication is not possible anymore?

Best regards,

Maik
This script should not be removed, as this is still important for our discourse deployment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned above, this is needed for our discourse deployment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maik, you're right. I overlooked it when was reviewing. Here pipelines/src/python/tira/git_integration/grpc_wrapper.py we still use TiraHostClient for callbacks:

    sys.path.append('/tira-git/src/tira_host')
    from grpc_client import TiraHostClient

    ret = TiraHostClient(args.tira_application_host, args.tira_application_grpc_port)
    print('GRPC client is loaded.')

We might move just host/src/tira_host/grpc_client.py into pipelines module, that should be it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored grpc_client.py and its dependencies

…-deploy-discourse-api-key.sh, and pipelines/Makefile
@TheMrSheldon TheMrSheldon requested review from mam10eks and kaaage March 15, 2024 11:16
@TheMrSheldon TheMrSheldon deleted the remove_ova_list_endpoint branch March 19, 2024 13:13
@TheMrSheldon TheMrSheldon restored the remove_ova_list_endpoint branch March 19, 2024 13:13
@TheMrSheldon TheMrSheldon reopened this Mar 19, 2024
@TheMrSheldon TheMrSheldon marked this pull request as draft May 24, 2024 07:24
@TheMrSheldon
Copy link
Member Author

I close this in favor of #656.

@TheMrSheldon TheMrSheldon deleted the remove_ova_list_endpoint branch July 31, 2024 06:20
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.

3 participants