sparrlets

Sparrlets

Sparrlets are Git based Sparrowdo scenarios.

How it works?

  1. Create a sparrowdo scenario

    $ nano sparrowfile

      my $name  = config<name>;
      bash "echo Hi $name, I am Sparrlet"

    $ nano config.pl6

      {
        name => "Stranger"
      }
  1. Commit your code to Git

    $ git init .
    $ git add sparrowfile config.pl6
    $ git commit -a -m 'My Sparrlet Scenario'
  1. Push you code to remote repository

    $ git remote add origin https://github.com/melezhik/sparrlet-example.git
    $ git push origin master
  1. Run sparrlet with sparrowdo client

    $ sparrowdo --git=https://github.com/melezhik/sparrlet-example.git

Sparrlet configuration

Create config.pl6 file in $CWD directory and it will be copied into sparrlet environment during execution.

This is how you override default sparrlets settings:

    $ nano config.pl6

    {
      name => "Alexey"
    }
    $ sparrowdo --git=https://github.com/melezhik/sparrlet-example.git

Caveats

  • You need to install edge version of Sparrowdo ( zef install https://github.com/melezhik/sparrowdo.git ) to start playing with sparrlets

  • Sparrlets are alpha feature, don't blame me if something goes awry :)), but I promise to response to GH issues :))

Sparrowdo v0.1.13

Run Sparrow tasks remotely (and not only)

Authors

  • Alexey Melezhik

License

Artistic-2.0

Dependencies

Sparrow6:ver<0.0.25+>

Test Dependencies

Provides

  • Sparrowdo
  • Sparrowdo::Bootstrap
  • Sparrowdo::Docker
  • Sparrowdo::Localhost
  • Sparrowdo::Ssh
  • Sparrowdo::Utils

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.