Giter Club home page Giter Club logo

ros-cli's People

Contributors

dependabot[bot] avatar duanshiqiang avatar kostyaplis avatar omieliekh avatar peterhoeg avatar rjayroach avatar rpbaltazar avatar shihaotan91 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

peterhoeg

ros-cli's Issues

Configuration naming follow closer conventions to industry

Currently we have development for referring to local development, test points to the K8 cluster, development-test points to circle ci, ...

I think we should clear this configurations to make it closer to what it is:

development => local development
test => circle ci
staging => staging cluster
production => production cluster

ros-cli loads AWS environment variables which might conflict with local settings

running ros-native sets the AWS environment variables as they are expected to be set for services that depend on AWS to run.

When running ros be sh <service name> it tries to fetch the AWS caller identity, but because there are env variables set, tries to use those instead. For development this leads to using localstack configuration which is invalid.

I have to unset the AWS keys before i can run any ros-cli commands to run on the kluster.
I think this is a bug

ros be down <service_name> brings down all services

ros be down campaign -v
docker-compose down
Stopping whistler_mounted_game_1       ... done
Stopping whistler_mounted_iam_1        ... done
Stopping whistler_mounted_campaign_1   ... done
Stopping whistler_mounted_nginx_1      ... done
Stopping whistler_mounted_fluentd_1    ... done
Stopping whistler_mounted_localstack_1 ... done
Stopping whistler_mounted_redis_1      ... done
Stopping whistler_mounted_postgres_1   ... done
Removing whistler_mounted_game_1       ... done
Removing whistler_mounted_iam_1        ... done
Removing whistler_mounted_campaign_1   ... done
Removing whistler_mounted_nginx_1      ... done
Removing whistler_mounted_wait_1       ... done
Removing whistler_mounted_fluentd_1    ... done
Removing whistler_mounted_localstack_1 ... done
Removing whistler_mounted_redis_1      ... done
Removing whistler_mounted_postgres_1   ... done
Removing network whistler_mounted_default

ros generate service <service name> is currently breaking

when running ros generate service <service name> it tries to start a new application using rails 6.0.0 instead of the 6.0.0.rc2 that we currently use in our services. This then fails because apartment gem is not yet supporting rails 6 creating a breaking dependency.

Either we help on ensuring apartment supports rails 6, or we will have to run rails _6.0.0.rc2_ new <service name> when trying to generate the ros service to ensure that it is initialised with the rc2 version instead of the 6.0.0

CLI command and notification to update ros

We need a mechanism to regularly check for ros-cli updates with convenient command to update it.

I suggest:

  • check for updates with any command as post execution action with some interval
  • check only if previous check was done more than 24 hours ago
  • upon check, print ros command that will do the update of ros-cli, if update needed

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.