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

Revamping the helm Chart and implementing CI/CD #271

Merged
merged 6 commits into from
Sep 13, 2023

Conversation

edmondop
Copy link
Contributor

@edmondop edmondop commented Aug 25, 2023

This PR implements CI/CD testing for the helm chart and addresses a couple of bugs discovered along the way:

Unfortunately my fork has no access to the secrets, so I think for this reason it fails. In my local fork everything works fine edmondop#2

Copy link
Member

@mwylde mwylde left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution. This looks great!

There's one merge conflict right now, and I think the testing will need to be updated a bit now that the gRPC API is gone, once those are fixed I think we should be able to merge.

containers:
- name: grpcurl
image: fullstorydev/grpcurl:v1.8.7-alpine
args: ['-plaintext', '{{ include "arroyo.fullname" . }}-api:{{ .Values.service.grpcPort }}','list']
Copy link
Member

Choose a reason for hiding this comment

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

I think we'll need to change this to the HTTP endpoint now as the gRPC endpoint is gone in the API server; we might also want to test that the other services are up

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was already a test for the HTTP endpoint, should this just be removed?

Copy link
Member

Choose a reason for hiding this comment

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

oh, I see — I think this will need to be tweaked a bit as the API service no longer has a gRPC endpoint. So it will need to run only on the controller and compiler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should address the problem with the services 554cab7 (#271)
I will submit a separate commit for the output dir

containers:
- name: grpcurl
image: fullstorydev/grpcurl:v1.8.7-alpine
args: ['-plaintext', '{{ include "arroyo.fullname" . }}-api:{{ .Values.compiler.service.grpcPort }}','list']
Copy link
Member

Choose a reason for hiding this comment

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

should this be -compiler (and below, -controller) instead of -api?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed with
af93b05 (#271)

Copy link
Member

@mwylde mwylde left a comment

Choose a reason for hiding this comment

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

Looks great!

@mwylde mwylde enabled auto-merge (squash) September 13, 2023 20:43
@mwylde mwylde disabled auto-merge September 13, 2023 20:50
@mwylde mwylde enabled auto-merge (squash) September 13, 2023 20:50
@mwylde mwylde merged commit a7f3e87 into ArroyoSystems:master Sep 13, 2023
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.

2 participants