CosmWasm / cw-template

Quickstart template to get started writing your own cosmwasm contracts
Apache License 2.0
286 stars 172 forks source link

CI: different pipelines for this repo and generated templates #133

Open uint opened 2 years ago

uint commented 2 years ago

At a glance, it looks like this might be possible with pre-hooks:

https://cargo-generate.github.io/cargo-generate/templates/scripting.html

webmaster128 commented 2 years ago
  1. is done using Appveyor. See the meta folder and #132
uint commented 2 years ago

Ah, I see

webmaster128 commented 2 years ago

There might be better options, but using Appveyor worked for years for this use case.

I don't know about gitpod. Orkun created it. Would be good to understand how this is used.

uint commented 2 years ago

There might be better options

Nah, I just assumed we had nothing for testing the template because nothing seemed to run on PRs. If we have something, I'm happy.

uint commented 2 years ago

@orkunkl What's the gitpod for? It looks pretty unused. It's only triggered for the master branch (which doesn't exist) and tags (last one was a while ago).

Is it meant to only be built for the cw-template repo and not generated projects?

orkunkl commented 2 years ago

Gitpod is an vscode coding environment on the browser. The idea back then putting in gitpod to generated repos to enable devs to be able to open up an environment. Then Oraichain team built an IDE that works with vscode and gitpod enabling cw development on browser(like remix ide). @ducphamle2 is running the cw ide project. He can give ideas if the .gitpod is necessary here.

ducphamle2 commented 2 years ago

@orkunkl Thank you for referencing the IDE. Basically with Gitpod, you can put .gitpod.yml file in the root of the workspace and choose the git repo URL through the IDE (works with any branch, not just master), then it will create the dev environment with the repo you want. I don't know if that's what you guys currently need or not