Skip to content

Conversation

@zZHorizonZz
Copy link
Contributor

This PR updates docs and also updates the use of grpc generator.

@zZHorizonZz zZHorizonZz marked this pull request as draft May 9, 2025 08:48
@zZHorizonZz
Copy link
Contributor Author

We should probably wait until GA release with this so that dependency on the vertx-gen can be removed.

@tsegismont tsegismont requested a review from vietj May 9, 2025 08:57
@tsegismont
Copy link
Contributor

@zZHorizonZz thanks! AFAIC publishing an interim version for CR8 is fine.

@tsegismont
Copy link
Contributor

@vietj fine with you?

@zZHorizonZz zZHorizonZz marked this pull request as ready for review May 15, 2025 08:41
@zZHorizonZz
Copy link
Contributor Author

zZHorizonZz commented May 15, 2025

Although, do we even need a publish action for GitHub Pages since it is disabled? I assume it is done somehow through an external system.

I have updated the build so that we can test properly against all systems windows, unix and mac

@vietj
Copy link

vietj commented May 15, 2025

looks all fine to me

@zZHorizonZz
Copy link
Contributor Author

@vietj and what about the .run files? Are they necessary, as I have removed them but I'm starting to think they are needed for something else?

@tsegismont
Copy link
Contributor

@vietj and what about the .run files? Are they necessary, as I have removed them but I'm starting to think they are needed for something else?

Please revert these changes, they are needed for deployment of the content to the howto website

@zZHorizonZz
Copy link
Contributor Author

@tsegismont I assume only these two files are needed for proper deployment?

@tsegismont
Copy link
Contributor

@zZHorizonZz files in the .github dir are also required. Can you summarize the motivation for your changes in these files?

@zZHorizonZz
Copy link
Contributor Author

zZHorizonZz commented May 19, 2025

@tsegismont Basically, it all boils down to the fact that I want to test builds against all platforms, because there are changes to how the plugin is used. Now you don't need to manually download protobuf-javascript and protoc-gen-grpc-web plugins because they are specified for all platforms, but at the same time, that means publish and build need/should to be separate.

Copy link
Contributor

@tsegismont tsegismont left a comment

Choose a reason for hiding this comment

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

@zZHorizonZz I'm not sure why it's necessary to split build and publish workflows, would it be possible to keep this simple by including a build matrix in the original workflow file?

- name: Build with Maven
run: mvn -B clean install

- name: Cache build artifacts
Copy link
Contributor

Choose a reason for hiding this comment

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

Whats' the purpose of this? I thought the cache: 'maven' config above was enough

restore-keys: |
${{ runner.os }}-maven-
- name: Upload build artifacts
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this this for inspection in case of failure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't personally like running builds twice (because I'm used to builds taking a couple of minutes and because at work we have only one build agent, so you can imagine how that is going). But if you want to merge build and publish back into one file, I think I can do that and remove this.

zZHorizonZz and others added 2 commits May 21, 2025 07:41
Co-authored-by: Thomas Segismont <tsegismont@gmail.com>
Copy link
Contributor

@tsegismont tsegismont left a comment

Choose a reason for hiding this comment

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

Thank you @zZHorizonZz , looks good to me

@tsegismont
Copy link
Contributor

@vietj any comment? Otherwise, we'll go ahead and merge

@tsegismont tsegismont merged commit 997f712 into vertx-howtos:master May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants