GithubHelp home page GithubHelp logo

hopinc / cli Goto Github PK

View Code? Open in Web Editor NEW
78.0 4.0 8.0 1.75 MB

๐Ÿ’ป Interact with Hop in your terminal

Home Page: https://docs.hop.io/cli

License: Mozilla Public License 2.0

Rust 98.71% Shell 1.22% PowerShell 0.07%
async clap cli command-line rust

cli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cli's Issues

`hop auth login` with `--token` option fails in newer versions

Hey there,

I'm current embedding the hop.io CLI within a Github Actions workflow. Installation works fine, but when I run the hop auth login command with the project token in the --token option, it gives me the following error for all newer versions.

When I try the exact same procedure with the version stated in the docs (v0.1.46) (https://docs.hop.io/cli/ci#example) it works fine.

Have you encountered this error already?

Screenshot 2023-08-04 at 08 02 51

Installation script doesn't work

image

OS: WSL2 Ubuntu
Shell: zsh

Error:

sh: 4: [: x1000: unexpected operator
sh: 21: [[: not found
sh: 21: [[: not found
sh: 21: [[: not found
sh: 25: [[: not found
sh: 25: [[: not found
sh: 25: [[: not found
sh: 29: [[: not found
sh: 29: [[: not found
sh: 29: [[: not found
sh: 37: [[: not found
sh: 41: HOP_VERSION: parameter not set

hop deploy -> Gateway Timeout

I've been using Hop CLI for my deployments but now I'm getting 504 on my terminal while the process gets successfully executed in the Hope servers

  1. hop deploy
  2. Hop says it is pending
Screenshot 2023-11-08 at 18 52 15 3. CLI throws `error: HTTP 504: Gateway Timeout` Screenshot 2023-11-08 at 18 50 02

Happy to provide more details if needed ๐Ÿ˜„

deploy with compose

Make the hop deploy command supporting docker-compose files (through the hop.yml config file for example) ?

Hop tunnel port arguments

This would be useful for things like run configurations to be able to just say hop fwd deployment -h 127.0.0.1 -p 5000 -r 5432 -p coolproject so I don't need to enter it everytime when I run my run configuration to forward to my DB.

Fix error when trying to `hop deploy -y`

How to reproduce

  1. Go to the project directory you want to deploy
  2. Delete hop.yml if you have one
  3. Run hop deploy -y
  4. You might see this error:
> hop deploy -y    
info: Attempting to deploy ./yourprojectdir
info: No hopfile found, creating one
info: Deploying to project project_name  /project  project_id  date  regular
warn: Using default config, skipping arguments
error: body.restart_policy should be equal to one of the allowed values

Expected behavior
The restart policy on_failure should work fine by default and allowed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.