Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A little and friendly buddy to help you in your devops automations when you can't use jenkins, github actions, etc

License

infinite-devops/miniops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miniops

A little and friendly buddy to help you in your devops automations.

requirements

  • A hello world of your favourite language in a git repository

  • Git

  • SSH for git

    • Configure the ssh keys of your favourite git platform (github, bitbucket, gitlab, etc). Check this
    • For windows, I advice you the pageant.exe
  • Nodejs

  • miniops tool

npm install -g https://github.com/usil/miniops.git#1.0.0-snapshot

Yaml

Similar to the yaml of gitlab, bitbucket, github actions, etc we need to create a valid yaml. You could use one of these templates

Variables

Windows

set cron_expression=*/15 * * * * *
set git_url=https://github.com/usil/asp-classic-hello-world.git
set git_branch=develop
set yaml_full_location=C:\foo\bar\acme.yaml
set log_level=debug
set log_file_location=C:\foo\bar\acme-devops.log

Linux

export cron_expression="*/15 * * * * *"
export git_url=https://github.com/foo/java-web-hello-world.git
export git_branch=develop
export yaml_full_location=/foo/bar/acme.yaml
export log_level=debug
export log_file_location=/foo/bar/acme-devops.log

Run (direct execution)

miniops --mode=direct

Run (polling execution)

linux

nohup miniops --action=start >/dev/null 2>&1 &

windows

START "miniops" /B miniops --action=start > NUL

close the cmd window :/

Stop

miniops --action=stop

Check status

miniops --action=status

Update

To try the latest or custom version:

  • delete it
npm uninstall -g https://github.com/usil/miniops.git#1.0.0-snapshot
npm uninstall -g miniops
  • clone or pull
  • start again

Advanced settings

For notitifations, templates, plugins, etc go to the wiki

Acknowledgments

Contributors


JRichardsz

About

A little and friendly buddy to help you in your devops automations when you can't use jenkins, github actions, etc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.8%
  • Shell 29.8%
  • Perl 7.4%