crystaldo

Version, currently master branch1 version
  • master branchlatestJun 14, 2020

github.com/incubaid/__crystaldo_archived

a tool which is like a swiss army knive to execute all kinds of system administration things

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystaldo:
    github: incubaid/__crystaldo_archived
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.34.0
License
MIT
Author
kristof
Target
  • crystaldo from src/crystaldo.cr

Dependencies

Runtime Dependencies

  • clim0.12.0github: at-grandpa/clim
  • kemal*github: kemalcr/kemal
  • crystaltools*github: crystaluniverse/crystaltools, branch: master
  • crystaldocker*github: crystaluniverse/crystaldocker

README

crystaldo

TODO: Write a description here

to get started

a oneliner gets you going (will remove existing installed version & rebuild)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/crystaluniverse/crystaldo/master/install.sh)" a pull reset
#next will only execute if not installed yet
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/crystaluniverse/crystaldo/master/install.sh)"

libs used

  • https://aca-labs.github.io/terminimal/
  • https://github.com/at-grandpa/clim : command line parser (looked at many, think this one best for now)
  • https://github.com/DFabric/dppm
    • https://dfabric.github.io/dppm/Process.html

Git trigger

Add webhook

Go to repo settings page and add new webhook and set the url of the webhook to <your server address>/github

Add deployment script to repos

add the .neph.yml file to the root directory of the repo

main:
  commands:
    - echo "This is a first line!"
    - echo "This is a second line!"

Check the syntax here

Start git trigger server

ct gittrigger start