Once a formula repository has been published, other users can add it locally from its URL to access its formulas.
Example: https://github.com/ZupIT/ritchie-formulas
To add a new repository on Ritchie, it is necessary to run the command:
rit add repo
Once the repository has been added, Ritchie will use the selected release on the repository to access the available formulas.
If the formula repository is private, the user will have to inform his Github / Gitlab token.
This feature is available from Ritchie 2.2 version.
On Ritchie, it is possible to check out new formula commands and if there is a new version of some repository you added locally.
To do so, just follow these steps:
Run the help commandrit --help
. The system will return a list with the group of available repositories.
(new version 2.12.1) commons repo commands:beagle Beagle commandsbitbucket Manage bitbucket objectsclean-swift Manage clean-swift objectsdocker Manipulate Docker objectsgit Manipulate Git objectsgithub Manipulate GitHub objectsgitlab Manipulate GitLab objectsistio Istio Service Mesh commandsjupyter Manage jupyter objectskafka Kafka commandskubernetes Manipulate kubernetes objectspublish Publish commandscaffold Manipulate scaffold objectsxcode Manage xcode objects
2. If you prefer, run the rit list repo
command, that returns informations about the imported repositories, like the latest version and the last available version.
To update the version of any repository, you just have to run the command below informing the repository and the version you wish to be updated.
rit update repo
On this section, you saw how to share a formula on Ritchie. To keep configuring the formula:
👉 Check out how to manipulate credentials with your formulas.
👉 Check out our list of commands to see the available automations on our community repo.