Download the PHP package digipolisgent/robo-digipolis-deploy without Composer
On this page you can find all versions of the php package digipolisgent/robo-digipolis-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digipolisgent/robo-digipolis-deploy
More information about digipolisgent/robo-digipolis-deploy
Files in digipolisgent/robo-digipolis-deploy
Package robo-digipolis-deploy
Short Description Deploy tasks for Robo Task Runner
License MIT
Informations about the package robo-digipolis-deploy
Robo Digipolis Deploy
Deploy tasks for Robo Task Runner
Tasks in this package
PushPackage
SFTP
Ssh
SymlinkFolderFileContents
As this command will most likely be used to symlink config files on a server during deployment, this task should be used in a command that runs on the server. For example:
RoboFile.php on the server (let's say 192.168.1.1 in folder /path/to/remote/dir):
RoboFile.php on the build server / your local machine:
DatabaseBackup
DatabaseRestore
File system configuration options
More information on the configuration options for the file systems can be found at https://github.com/backup-manager/backup-manager.
Database configuration options
More information on the configuration options for the databases can be found at https://github.com/backup-manager/backup-manager. However, we provide our own MySql database handler. The configuration options are explained below:
Commands in this package
This package provides default commands wich you can use in your RoboFile.php
like so:
digipolis:database-backup
vendor/bin/robo digipolis:database-backup [DATABASE] [OPTIONS]
Use events for default configuration
Implement an on-event hook for the digipolis-db-config event to return the datbase config as specified above used by this command. For example:
Arguments
DATABASE
The database config key. See above for more details. In de given example, this argument would have to be 'production'. Defaults to 'default'.
Options
--file-system-config, -fsconf
Path to a PHP file containing filesystem config as documented at https://github.com/backup-manager/backup-manager. Defaults to the root directory of the local filesystem.
--database-config, -dbconf
Path to a PHP file containing database config as documented at
https://github.com/backup-manager/backup-manager. Defaults to a database with
the name of the current working directory as database name, on localhost
port
3306
, user root
and an empty password.
--compression, -c
The compression to use for this backup. Defaults to tar
.
--destination, -d
The destination file for this backup. Defaults to project.tar.gz
in the
current working directory.
--destination-type, -dtype
The destination type (e.g. local
, dropbox
, ftp
). Defaults to local
.
digipolis:database-restore
vendor/bin/robo digipolis:database-restore [DATABASE] [OPTIONS]
Use events for default configuration
Implement an on-event hook for the digipolis-db-config event to return the datbase config as specified above used by this command. For example:
Arguments
DATABASE
The database config key. See above for more details. In de given example, this argument would have to be 'production'. Defaults to 'default'.
Options
--file-system-config, -fsconf
Path to a PHP file containing filesystem config as documented at https://github.com/backup-manager/backup-manager. Defaults to the root directory of the local filesystem.
--database-config, -dbconf
Path to a PHP file containing database config as documented at
https://github.com/backup-manager/backup-manager. Defaults to a database with
the name of the current working directory as database name, on localhost
port
3306
, user root
and an empty password.
--compression, -c
The compression of the given backup. Defaults to tar
.
--source, -s
The source file to restore. Defaults to project.tar.gz
in the current working
directory.
--source-type, -stype
The source type (e.g. local
, dropbox
, ftp
). Defaults to local
.
digipolis:push-package
vendor/bin/robo digipolis:push-package USER HOST PACKAGE [DESTINATION] [OPTIONS]
Arguments
USER
The user to connect to the host.
HOST
The host to connect to.
PACKAGE
The package (tar-file) to push.
DESTINATION
The destination folder on the server. Defaults to the home directory of the user.
Options
--password
The password to connect to the host.
--key-file
The private key file to connect to the host.
--port
The port to connect on. Defaults to 22
.
--timeout
The timeout for the connection in seconds. Defaults to 10
.
All versions of robo-digipolis-deploy with dependencies
phpseclib/phpseclib Version ^3.0
district09/backup-manager Version ^4.0
gordalina/cachetool Version ^8.0 || ^9.0
digipolisgent/command-builder Version ^1.2
digipolisgent/robo-digipolis-general Version ^2.0.0