2017 © Pedro Peláez
 

robo-tasks robo-digipolis-generic

Basic deploy flow for a generic php site.

image

digipolisgent/robo-digipolis-generic

Basic deploy flow for a generic php site.

  • Tuesday, July 3, 2018
  • by zero2one
  • Repository
  • 2 Watchers
  • 0 Stars
  • 172 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 8 Versions
  • 118 % Grown

The README.md

Robo Digipolis Generic

Latest Stable Version Latest Unstable Version Total Downloads License, (*1)

Build Status Maintainability Test Coverage PHP 7 ready, (*2)

Used by digipolis, serving as an example., (*3)

This package contains a RoboFileBase class that can be used in your own RoboFile. All commands can be overwritten by overwriting the parent method., (*4)

Example

<?php

use DigipolisGent\Robo\Generic\RoboFileBase;

class RoboFile extends RoboFileBase
{
    use \Robo\Task\Base\loadTasks;

    /**
     * @inheritdoc
     */
    public function digipolisDeployGeneric(
        array $arguments,
        $opts = [
            'app' => 'default',
            'worker' => null,
        ]
    ) {
        $collection = parent::digipolisDeployGeneric($arguments, $opts);
        $collection->taskExec('/usr/bin/custom-post-release-script.sh');
        return $collection;
    }
}

Available commands

Following the example above, these commands will be available:, (*5)

digipolis:backup-generic           Create a backup of files
(sites/default/files) and database.
digipolis:build-generic            Build a generic site and package it.
digipolis:clean-dir                Partially clean directories.
digipolis:clear-op-cache           Command digipolis:database-backup.
digipolis:database-backup          Command digipolis:database-backup.
digipolis:database-restore         Command digipolis:database-restore.
digipolis:deploy-generic           Build a generic site and push it to the
servers.
digipolis:download-backup-generic  Download a backup of files and database.
digipolis:init-generic-remote      Install or update a remote site.
digipolis:install-generic          Install the site in the current folder.
digipolis:package-project          Package a directory into an archive.
digipolis:push-package             Command digipolis:push-package.
digipolis:restore-backup-generic   Restore a backup of files and database.
digipolis:sync-generic             Sync the database and files between two
generic sites.
digipolis:update-generic           Executes database updates of the site
in the current folder.
digipolis:upload-backup-generic    Upload a files and database backup to a server.

The Versions

03/07 2018

dev-develop

dev-develop

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

03/07 2018

dev-feature/2

dev-feature/2

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

03/07 2018

dev-feature/1

dev-feature/1

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

03/07 2018

dev-feature/3

dev-feature/3

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

04/05 2018

dev-master

9999999-dev

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

04/05 2018

1.0.2

1.0.2.0

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

24/01 2018

1.0.1

1.0.1.0

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts

24/01 2018

1.0.0

1.0.0.0

Basic deploy flow for a generic php site.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dieter Blomme
by Jelle Sebreghts