-
Notifications
You must be signed in to change notification settings - Fork 38
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
Refactor Value Entity to use codegen #8
Conversation
.circleci/config.yml
Outdated
- samples-tests: | ||
filters: # required since publish jobs have tag filters and dependencies | ||
tags: | ||
only: /.*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may need clean-up.
.circleci/config.yml
Outdated
sbt publishM2 | ||
export SDK_VERSION=`sbt sdk/version | tail -n 1 | cut -c8-100` | ||
cd samples/java-valueentity-shopping-cart | ||
mvn -Dakkaserverless-sdk.version=$SDK_VERSION clean verify -Pit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still very hacky.
It's annoying to publishM2
for each sample test.
I need to test further, but an alternative is to have job that creates a version.sbt
fixing the version to some build id from CircleCI. We run publishM2
once and we run the other sample jobs using the same fixed version.
35c0afa
to
1738119
Compare
This is ready for review, but not for immediate merge. Merging this will probably break the docs since it touches the example used for the Value Entity. I will keep refactoring the other samples and will send PRs on top of this one. |
Superseded by #10 |
Introduces CD and depends on published codegen
Not yet to merge since docs are referencing the samples.
TODO