Skip to content

Ritchie CLI formulas to create a Kubernetes Cluster on AWS through one command line 🤖 🛠

License

Notifications You must be signed in to change notification settings

GuillaumeFalourd/formulas-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ritchie Formula Repo

Rit banner

Documentation

This repository contains Ritchie formulas which can be executed by the ritchie-cli.

What you'll find in this repository

Rit aws create cluster

Use Formulas

To import this repository, you need Ritchie CLI installed

Then, you can use the rit add repo command manually, or execute the command line below directly on your terminal (since CLI version 2.8.0):

rit add repo --provider="Github" --name="formulas-aws" --repoUrl="https://github.com/GuillaumeFalourd/formulas-aws" --priority=1

Finally, you can check if the repository has been imported correctly by executing the rit list repo command.

How to give priority

The commons repository installed through the rit init command of Ritchie CLI has duplicated commands with the formulas-aws repository.

You have to set priority 0 for the formulas-aws repository, and set priority 1 for the commons repository, for the rit aws create cluster command to work.

This can be achieved through the rit set repo-priority command.

Contribute to the repository

Creating formulas

  1. Fork and clone the repository
  2. Create a branch: git checkout -b <branch_name>
  3. Check the step by step of how to create formulas on Ritchie
  4. Add your formulas to the repository and commit your implementation: git commit -m '<commit_message>
  5. Push your branch: git push origin <project_name>/<location>
  6. Open a pull request on the repository for analysis.

Updating Formulas

  1. Fork and clone the repository
  2. Create a branch: git checkout -b <branch_name>
  3. Add the cloned repository to your workspaces (rit add workspace) with a highest priority (for example: 1).
  4. Check the step by step of how to implement formulas on Ritchie and commit your implementation: git commit -m '<commit_message>
  5. Push your branch: git push origin <project_name>/<location>
  6. Open a pull request on the repository for analysis.