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

[Merged by Bors] - feat: Add smdk install support in CLI and release #2648

Closed
wants to merge 41 commits into from
Closed

[Merged by Bors] - feat: Add smdk install support in CLI and release #2648

wants to merge 41 commits into from

Conversation

tjtelan
Copy link
Contributor

@tjtelan tjtelan commented Oct 5, 2022

Closes #2644

Adds a name check to fluvio install.
If it starts with fluvio-, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of fluvio install smdk --develop installs the latest published smdk to install in my fluvio path.

--

Added smdk to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the cargo make configs since they are out of date and unmaintained

@tjtelan tjtelan changed the title ci: Updates to release for SmartModule Development Kit feat: Add smdk install support in CLI and release Oct 6, 2022
@tjtelan tjtelan marked this pull request as ready for review October 6, 2022 18:01
@tjtelan tjtelan requested a review from sehz October 6, 2022 18:08
Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

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

Looks very good. One minor not about naming

crates/smart-module-development-kit/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

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

LGTM

@sehz
Copy link
Contributor

sehz commented Oct 7, 2022

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

Bors failed because while we had steps to upload SMDK in CI, but we weren't building it in the first place. Hopefully this will fix.

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Canceled.

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

Based on cranelift-codegen's build, I removed the arm and arm7 targets. I hope this build is the one!

https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/codegen/build.rs#L174

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Canceled.

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

This time it was publish to Github Release (dev) that failed. I checked on the Publish, and Release workflows to ensure that we don't have this kind of artifact missing traps waiting for us there.

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

I really wish Bors supported rerunning jobs...

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

Just need to be careful about deriving name from the binary
Make sure we can wildcard the release files
The expected outcome is that CI fails, bc commands prefixed with
non-command
Plugins names that don't start with `fluvio-` go into the bin directory
Standardizing on `smartmodule` instead of `smart-module`.

Added an alias to the subcommand with a note for future removal
Updated docstrings and tests
Target is unsupported by dependency
I don't see it as a supported target in cranelift-codegen's build system
@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

I had to rebase after the last PR, but here we go again

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Build failed:

@tjtelan
Copy link
Contributor Author

tjtelan commented Oct 7, 2022

Removed Windows targets for smdk for now

bors r+

bors bot pushed a commit that referenced this pull request Oct 7, 2022
Closes #2644 

Adds a name check to `fluvio install`.
If it starts with `fluvio-`, it is an extension and gets installed in the channel extension dir. Otherwise, it gets installed in the fluvio bin dir.

The result of `fluvio install smdk --develop` installs the latest published `smdk` to install in my fluvio path.

--

Added `smdk` to CI for build and publish for CI

Moving a lot of publish and release workflows into Makefile so I can test it easier locally

Got rid of the `cargo make` configs since they are out of date and unmaintained
@bors
Copy link

bors bot commented Oct 7, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: Add smdk install support in CLI and release [Merged by Bors] - feat: Add smdk install support in CLI and release Oct 7, 2022
@bors bors bot closed this Oct 7, 2022
xxchan added a commit to xxchan/fluvio that referenced this pull request Feb 19, 2023
which should be deleted in infinyon#2648
bors bot pushed a commit that referenced this pull request Feb 22, 2023
which should be deleted in #2648
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.

CLI installation of SmartModule Development Kit - smdk
2 participants