hopinc / cli Goto Github PK
View Code? Open in Web Editor NEW๐ป Interact with Hop in your terminal
Home Page: https://docs.hop.io/cli
License: Mozilla Public License 2.0
๐ป Interact with Hop in your terminal
Home Page: https://docs.hop.io/cli
License: Mozilla Public License 2.0
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?
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
Add the possibility to put multiple .env files in the hop.yml
config file ?
Make the hop deploy
command supporting docker-compose files (through the hop.yml
config file for example) ?
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.
How to reproduce
hop.yml
if you have onehop deploy -y
> 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.