-
Notifications
You must be signed in to change notification settings - Fork 487
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
chore: clone smdk test
to fluvio sm test
#3559
Conversation
failure in the CI |
also |
CI is failing again, but it's not related to the changes:
|
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.
Please add CLI test
16cfcd7
to
2854036
Compare
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.
lgtm!
069f09f
to
3c1784a
Compare
@matheus-consoli can you open a separate issue for the ci service account for the failing test on this pr and the other one and assign it to me? Since this passes on local tests, lets merge that and I'll take a look at the auth separately. |
Can we just create mock hub server them instead of trying to hub actually? |
3c1784a
to
5c2ed31
Compare
Yes, but I'd like to keep a live hub check test around for in pre release checks, a mock hub server is probably best for regular CI automation - but lets think about how to structure that on the follow on CI #3634 issue. And get this pr merged. |
5c2ed31
to
9bb1fc9
Compare
bors r+ |
Closes #3553 Moves most of the `TestCdm` from the smdk to `fluvio-cli-common` and reutilizes it from `fluvio-cli` and `smartmodule-development-kit`. The API for `smdk` is unchanged. The API for `fluvio sm test` is mostly the same, except for removing: ```sh --release <RELEASE> Release profile name [default: release-lto] -p, --package-name <PACKAGE_NAME> Optional package/project name --wasm-file <WASM_FILE> Optional wasm file path ``` ## Testing Download a SM from the hub: ```sh fluvio hub download infinyon/[email protected] ``` and run a test for it: ```sh fluvio sm test -t '{"uses":"infinyon/[email protected]", "with": {"regex": "^fl"}}' --text 'fluvio' ``` ![fluvio-cli-sm](https://github.com/infinyon/fluvio/assets/27595790/6ee931cc-e3bc-45b8-a392-7773899a7a4c)
Build failed: |
bors retry |
2aa2175
to
159ca34
Compare
For testing a smartmodule we need cranelift as a dependency, but cranelift does not have support for arm target architectures
159ca34
to
a772ba3
Compare
Closes #3553
Moves most of the
TestCdm
from the smdk tofluvio-cli-common
and reutilizes it fromfluvio-cli
andsmartmodule-development-kit
.The API for
smdk
is unchanged.The API for
fluvio sm test
is mostly the same, except for removing:Testing
Download a SM from the hub:
and run a test for it: