Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)M
Posts
7
Comments
12
Joined
3 yr. ago

  • It uses yaml only for configuration part, but pipeline itself is far more then that . Not sure what do you mean by “middle ground”, could you please elaborate? Thanks

  • Just added the feature of running jobs on localhost for debugging:

    cd .dsci/job_one; docker run -it -v $PWD:/opt/job --entrypoint /bin/bash dsci -c "cd /opt/job/; s6 --task-run ."

  • Just added the feature of running jobs on localhost for debugging:

    cd .dsci/job_one docker run -it -v $PWD:/opt/job \ --entrypoint /bin/bash \ -v $PWD:/opt/job dsci \ -c "cd /opt/job/; s6 --task-run ."

  • Feedback are welcome , the project is in very early stage …

  • Programming @programming.dev

    Dead Simple CI

    deadsimpleci.sparrowhub.io /doc/README
  • Programming @programming.dev

    Double TAP - Text and Test Anything Protocol

    doubletap.sparrowhub.io
  • Yep. Fancy devs watching me coding some Rakulang in nano 😂

  • Not generator, validator. It validates configuration files . Ansible is not flexible in comparison with Sparrow, you'd need to write more boilerplate code to do the same ... Also core ansible modules search is limited by "one line" mode, thus it does not allow to search for example within nested structures, like if we want something in between or in nested blocks, or search for sequences, like when we want to search a sequence of strings, a,b,c,d etc, Sparrow does allow al thatl as it has ranges/sequential/SLN search by design. Sparrow allows to generate check rules in runtime as well, Ansible can't

  • fair enough, however the intention is to show how one could create rules on Sparrow/Raku, not to show rules ... Maybe I should have mentioned that ...

    for example this is more interesting example evaluation of net.ipv4.tcp_synack_retries"

     
        
    regexp: ^^ "net.ipv4.tcp_synack_retries" \s* "=" \s* (\d+) \s* $$
    
    generator: <<RAKU
    !raku
    if matched().elems {
      my $v = capture()[];
      say "note: net.ipv4.tcp_synack_retries={$v}";
      if $v >= 3 && $v <= 5 {
         say "assert: 1 net.ipv4.tcp_synack_retries in [3..5] range"
      } else {
         say "assert: 0 net.ipv4.tcp_synack_retries in [3..5] range"
      }
    } else {
      say "note: net.ipv4.tcp_synack_retries setting not found"
    }
    RAKU
    
      
  • sorry, could you please elaborate on "shouldn’t copy" ? thanks

  • you are seemed to have edited your initial reply - "it should be sysctl.conf not syslog.conf " - anyway thanks for that, now it's fixed, this was just overlook typo

  • Linux @programming.dev

    Harden sysctl.conf by Sparrow checks

    wp.me /p8gE3q-18N
  • Golang @programming.dev

    Useful terminal plugins to build golang code

    dev.to /melezhik/useful-terminal-plugins-to-build-golang-code-gj0
  • Ok. Huge part of building microservices framework is infrastructure automation - like setup nginx load balancing in runtime, build and deploy apps from source code, configuring services, tcp ports, health checks, horizontal scaling (adding new worker nodes), setup logging and monitoring, etc, also this needs to be propagated to all cluster nodes, I am not going to do this from the scratch - Sparky is alike (rough comparison though) ansible but with UI and programmable on Raku, so as Sparky has already addressed the mentioned tasks, it's logical for me to carry on with it. If we take Sparky out of equation, Raku by itself is reach and super flexible language to automate infrastructure, I don't see why can't I use it for that ...

  • The plan is to build the entire system on top of Sparky which is written on Raku and extended by Raku

  • Open Source @lemmy.ml

    Dormitory - Dead simple dockerless microservice framework

    github.com /melezhik/Dormitory/wiki