Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Add Go Client CI #1

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Add Go Client CI #1

merged 4 commits into from
Sep 10, 2024

Conversation

megglos
Copy link
Collaborator

@megglos megglos commented Sep 9, 2024

Adds CI to run on main and PRs.

The following stages are equivalent to their base from camunda/camunda: go-client (run tests) and go-lint.

The go-apidiff job was previously comparing the Go client state to the latest stable branch, I went for protecting from breaking changes on each PR instead. As there are not existing releases on this new repo.

Instead of using as freshly built Zeebe image for the integration tests I went for referencing the latest 8.6.0-alpha5 release, also instructing test containers to automatically pull it.

Note: I'm making progress on this repo until we have the community hub repo created see camunda-community-hub/community#159

Removed deprecation notice from camunda repo.
Removed now invalid parts like gateway protocol generation and docker image build.
@megglos megglos self-assigned this Sep 9, 2024
@megglos megglos requested a review from Sijoma September 9, 2024 08:45
Copy link

@Sijoma Sijoma left a comment

Choose a reason for hiding this comment

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

Two comments but lgtm.


# Development

If we had a gateway-protocol change we need to make sure that we regenerate the protobuf file, which is used by the go client.
In order to do this please follow [this guide](../../gateway-protocol-impl/README.md).
Copy link

Choose a reason for hiding this comment

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

No helper guide anymore for this? Can we still link that somehow?

It's certainly quite useful to have. I think I used it from time to time and still needed support with it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There is not setup yet to generate the protocol stub, this will be handled separately see Phase 1 of camunda/camunda#21817

It's also not crucial now as there are no changes planned to the GRPC protocol going forward.

README.md Show resolved Hide resolved
@megglos
Copy link
Collaborator Author

megglos commented Sep 10, 2024

Extracted the image name to one constant and referred to it's location in the integration test readme, also could remove the alwaysPull flag, thanks for the input @Sijoma 🙇
Could you take a final look for approval?

5a026ce

@megglos megglos requested a review from Sijoma September 10, 2024 13:53
@megglos megglos merged commit b5679f1 into main Sep 10, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants