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

Use cli without interaction #100

Open
sampaiodiego opened this issue Nov 13, 2020 · 2 comments
Open

Use cli without interaction #100

sampaiodiego opened this issue Nov 13, 2020 · 2 comments
Labels
🐛 bug A mal-feature that needs smashed. 🙋‍♂️ help wanted We want YOU to help!

Comments

@sampaiodiego
Copy link
Member

I'd like to use the cli on a CI environment, thus I'd need to use all commands without any kind of interaction.

The basic functionality I'd like to have on CI would be:

  • login
    • I don't think there is a way to set any credentials or how to get an access token from Cloud
  • package
    • Working fine
  • submit
    • Need a way to pass the changelog and skip the "ready to submit" confirmation

These are the issues I've found so far.

@d-gubert d-gubert added 🐛 bug A mal-feature that needs smashed. 🙋‍♂️ help wanted We want YOU to help! labels Dec 10, 2020
@d-gubert
Copy link
Member

Indeed those might have been overlooked when introducing the latest changes. Unfortunately, we don't have the bandwidth to handle this for now :/

@geekgonecrazy
Copy link
Contributor

geekgonecrazy commented Dec 10, 2020

I think the login one actually can be hacked around. Just would need to set the "home" location and create the necessary file from secret in CI.

Hardest part would be the https://github.com/RocketChat/Rocket.Chat.Apps-cli/blob/master/src/misc/cloudAuth.ts#L233 I think encryption key would probably change in ci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug A mal-feature that needs smashed. 🙋‍♂️ help wanted We want YOU to help!
Projects
None yet
Development

No branches or pull requests

3 participants