Comments (12)
@marbar3778 And having this for Starport itself can be a huge help. Initially, even without the headless stuff #28
Having CI that runs on each PR will help us make sure that we didn't break anythig.
starport app github.com/example/blog
starport type post title body
starport serve
It's a bit harder to do with a long-running process like serve
. I've tried blogd start --halt-height 10
, but it always returns an. error code. Would be cool if it returned success on this forced halt, so we could differentiate between blogd start
didn't work and blogd start
successfuly halted after ten blocks.
from cli.
I think it is best to create a starport action for GH and use it to build the cross platform binaries with the build
command (requires some tweaks on the build command) and use another action to release the binaries.
Because we need to set some build time variables while building the app which includes things like chain id and this could have been configured inside the config.yml. Otherwise without using starport, we need to scaffold a custom script to figure out and set these variables.
wdyt?
from cli.
Do you mean an action for linting? I can see that being useful.
from cli.
linting, test (but commented out for now), go releaser and docker deployment configuration. I can help out on a few of these
from cli.
Functional testing is a big one, and actually can be considered a high priority. Having an action that runs starport serve
on PR, checks that there are no errors, checks 26657 and 1317, would be an incredible value add ⚡️
from cli.
This is a great idea.
I am experimenting with similar stuff over here:
https://gitlab.com/virgohardware/hardware/-/blob/master/.gitlab-ci.yml
https://gitlab.com/virgohardware/hardware/-/jobs/663817054
I have not really tried GitHub actions yet, and I like that GitLab the platform is an open source project itself, but I'd probably give GitHub actions a whirl if we templated actions.
Also, you can do long-running processes on GitLab, that'll be added to that repo soon.
from cli.
gaiad has a testnet command which launches 4 containers and gets a small testnet rolling, and could be useful here.
More super-interesting:
as starport matures, people with starport devices may be able to allow devs to launch testnets across their fleet of devices-- either for a fee or for free.
These "real world" testnest would be quite valuable, because they would include the types of network issues only seen in an actual live network.
from cli.
#236 closes this
from cli.
This is still very much relevant. We need a good default set of GH actions for scaffolded chains. Releasing a binary on GH release is my favorite, personally, so that users will be able to curl https://get.starport.network/foo/chain | bash
to install a binary of the chain.
from cli.
As part of this issue, let's remove everything that's currently in .github/workflows
and add a workflow that builds a chain and releases a binary, probably with the help of go releaser.
from cli.
Sounds like a plan, @ilgooz! 👍 This actually plays well into our goal of making starport build
more flexible.
from cli.
I think one of the goals with this is to make sure our release system is compatible with curl | bash
way of installing the binary.
from cli.
Related Issues (20)
- plugins: move band chain scaffolding functionality into a plugin HOT 1
- Prevent plugin load for some commands
- proposal: simplify the plugin system HOT 7
- Change Ignite apps system to support plugins written in other languages HOT 1
- Ignite redirects plugins output to Stderr instead of Stdout
- Ignite Scaffold for Vue does not support node v20+ HOT 2
- Bug: Ignite CLI Panics When Retrieving Chain Info Outside Chain Working Directory HOT 2
- Dynamic Account Index Selection
- Ignite apps can panic on chain get when running inside a Go module HOT 1
- ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "example-client-ts" HOT 5
- v0.47 -> v0.50 upgrades doesn't works using the last scaffold (v28.2.0) HOT 3
- Changing proto path in config.yml Reverts to Default with `ignite g proto-go`
- change: make `newChainWithHomeFlags` exportable
- changes: make `sourceModificationToString` exportable
- Rename Plugin to App in the README
- Enhance `config.yml` for Better UX
- Template `RegisterIBC` func needs app module adaptor for registering interfaces on cdc
- transaction memo is not supported by `cosmosclient` HOT 1
- Ignite CLI gives an error: Missing placeholders: HOT 6
- feat: create a function to get the list of `bufFiles` from `github.com/ignite/cli/v28/ignite/templates/app`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.