Coder Social home page Coder Social logo

mono-rip's Introduction

mono

CI-CD

▶ mono
monorepo management cli

Usage:
  mono [command]

Available Commands:
  build       Builds artifact for a service
  checksum    Computes services checksums
  help        Help about any command
  list        Lists all services under the current directory
  push        Pushes a service artifact to the cloud

Install

Linux
▶ sudo wget https://github.com/acciaioli/mono/releases/latest/download/mono.linux-amd64 -O /usr/local/bin/mono
▶ sudo chmod +x /usr/local/bin/mono

Get Started

AWS

▶ export AWS_REGION=my-aws-region
▶ export AWS_PROFILE=my-aws-profile
▶ export MONO_ARTIFACT_BUCKET=my-aws-s3-bucket

mono usage

▶ mono --version
mono version snapshot-juan-dc0649b

▶ mono list
SERVICE                	DIFF	VERSION	CHECKSUM	LOCAL CHECKSUM                           
examples/go-service    	true	0      	-       	5215256745a800ab8909097d230933f42ebe249f	
examples/python-service	true	0      	-       	fc09aaad1dc4cfd8f3165d9f5f9af2f394675664	

▶ mono build --clean

▶ mono build
SERVICE                	ARTIFACT                                                                     
examples/go-service    	.builds/examples/go-service/5215256745a800ab8909097d230933f42ebe249f.zip    	
examples/python-service	.builds/examples/python-service/fc09aaad1dc4cfd8f3165d9f5f9af2f394675664.zip	

▶ mono push
ARTIFACT                                                                    	STATUS    	KEY                                                                    	ERROR 
.builds/examples/python-service/fc09aaad1dc4cfd8f3165d9f5f9af2f394675664.zip	successful	examples/python-service/v1.fc09aaad1dc4cfd8f3165d9f5f9af2f394675664.zip	-    	
.builds/examples/go-service/5215256745a800ab8909097d230933f42ebe249f.zip    	successful	examples/go-service/v1.5215256745a800ab8909097d230933f42ebe249f.zip    	-    	

▶ mono list
SERVICE                	DIFF 	VERSION	CHECKSUM                                	LOCAL CHECKSUM                           
examples/go-service    	false	1      	5215256745a800ab8909097d230933f42ebe249f	5215256745a800ab8909097d230933f42ebe249f	
examples/python-service	false	1      	fc09aaad1dc4cfd8f3165d9f5f9af2f394675664	fc09aaad1dc4cfd8f3165d9f5f9af2f394675664	

▶ echo foo bar > examples/python-service/a-new-file.txt

▶ mono list
SERVICE                	DIFF 	VERSION	CHECKSUM                                	LOCAL CHECKSUM                           
examples/python-service	true 	1      	fc09aaad1dc4cfd8f3165d9f5f9af2f394675664	486bff14a41a94c82b37109447398ce1ab225643	
examples/go-service    	false	1      	5215256745a800ab8909097d230933f42ebe249f	5215256745a800ab8909097d230933f42ebe249f	

▶ mono build --clean

▶ mono build
SERVICE                	ARTIFACT                                                                     
examples/python-service	.builds/examples/python-service/486bff14a41a94c82b37109447398ce1ab225643.zip	

▶ mono push
ARTIFACT                                                                    	STATUS    	KEY                                                                    	ERROR 
.builds/examples/python-service/486bff14a41a94c82b37109447398ce1ab225643.zip	successful	examples/python-service/v2.486bff14a41a94c82b37109447398ce1ab225643.zip	-    	

▶ mono list
SERVICE                	DIFF 	VERSION	CHECKSUM                                	LOCAL CHECKSUM                           
examples/go-service    	false	1      	5215256745a800ab8909097d230933f42ebe249f	5215256745a800ab8909097d230933f42ebe249f	
examples/python-service	false	2      	486bff14a41a94c82b37109447398ce1ab225643	486bff14a41a94c82b37109447398ce1ab225643	

To Do

  • enhance mono list (prefix/contains filter)
  • support for docker images as artifacts

mono-rip's People

Contributors

acciaioli avatar

Watchers

 avatar

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.