rails-on-services / ros-cli Goto Github PK
View Code? Open in Web Editor NEWros gem
License: MIT License
ros gem
License: MIT License
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
After running ros be g service <service_name>
for core service (under ros/services
) there were some parts that was wrong/missing. Here is the list of all changes that was done afterwards to make it work (on example of Organization service) in a single commit:
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
In this run, the process threw an error but the ros cli exited with 0
making CI think that all went well
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
Including fluentd, kafka, etc.
https://circleci.com/gh/PerxTech/whistler-services/409
if the branch name contains HEAD
then means that this has been initiated by a tag.
Get the closest tag git describe --tags --abbrev=0
, cut the enable-api-
part and use that as the domain for the deploy
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
During terraform apply (ros be infra apply -v), if user press ctrl-c the ros process exit but terraform apply process still runs in the background
Some running services are displayed as stopped.
We need a mechanism to regularly check for ros-cli
updates with convenient command to update it.
I suggest:
ros
command that will do the update of ros-cli
, if update neededA 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.