balena-io-hardware / meta-hardwareProcess-doc

https://landr-balena-io-hardware-repo-hardware-process.netlify.app/
2 stars 0 forks source link

Use oclif for creating a rfq cli as well as github action #47

Open anujdeshpande opened 2 years ago

anujdeshpande commented 2 years ago

@Bucknalla @rcooke-warwick what are your thoughts on this? Previously we had used the rfq tool as a cli - and then executed that in the CI environment. This allowed us to use the rfq tool easily locally. Running GitHub actions - especially reusable actions - locally isn't straightforward.

The rfq tool used to use capitano - a balena project - to create a cli. We have since abandoned that project and are using oclif elsewhere in the company. So I'd be doing some extra work to make that work for us

Bucknalla commented 2 years ago

@anujdeshpande I like that a lot; we should be able to deploy to RFQ locally to see what the artefacts look like and check that they are as expected. Oclif is good because everything starts as a node package and makes it much more reusable.

rcooke-warwick commented 2 years ago

agreed, makes a lot of sense