NAME
App::Prove::Elasticsearch::Provisioner::Git; - Provision new versions to test using git
VERSION
version 0.001
SUBROUTINES
get_available_provision_targets(current_value)
Returns a list of platforms it is possible to provision using this module. In our case, this means the branches .
Filters out your current branch if passed.
pick_platform(@platforms)
Pick out a platform from your list of platforms which can be provisioned by this module. Returns the relevant platform, and an arrayref of platforms less the relevant one used.
can_switch_version(versioner)
Returns whether the SUT version can be changed via this provisioner given we use a compatible versioner, which in this case is App::Prove::Elasticsearch::Versioner::Git.
switch_version_to(version)
Switch to the desired version. Dies unless can_switch_version().
provision(desired,existing)
Do all the necessary actions needed to provision the SUT into the passed platform, which in this case is check out a branch.
Example:
$provisioner::provision('beelzebub/7th_circle', 'origin/right_hand_of_the_father' );
AUTHOR
George S. Baugh <teodesian@cpan.org>
SOURCE
The development version is on github at http://https://github.com/teodesian/App-Prove-Elasticsearch and may be cloned from git://https://github.com/teodesian/App-Prove-Elasticsearch.git
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by George S. Baugh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.