Download the PHP package terminus-plugin-project/terminus-upstream-testing-plugin without Composer

On this page you can find all versions of the php package terminus-plugin-project/terminus-upstream-testing-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package terminus-upstream-testing-plugin

Terminus Upstream Testing

Terminus v1.x Compatible

Option Description
--repo Repository to use and pull code from. When omitted this will use the sites upstream
--branch Branch from the repository to use.
--env Environment to use for testing
--copy Environment to copy database and files from
--teardown Tear down the environment before applying any changes
--rebuild Rebuild the database and files
--username Change user 1's username
--password Change user 1's password
--notify Run a script after the process has been completed
--skipautocommit Skip files that were not autocommitted

Slack Integration

Integration with Slack using incoming webhooks

Option Description
--slack_url Slack URL to post to
--slack_channel Slack Channel to post message to. Should be prefixed with #
--slack_message Message to post to slack. Following variables are available {env} {site_id} {site_name} {url}
--slack_username Username to push through as slack message
--slack_icon Icon to use for slack message

Examples

Default Running

The following will apply all updates from the master branch of the site's upstream to the upstream multi-dev

Separate Upstream

If the --repo argument is omitted the plugin with default to the site's upstream git repository. Otherwise a git url could be used to pull from a completely different repo.

Specifying the environment to copy database and files

The --copy argument will allow you to specify the environment to bring the database and files from. This environment must already be initialized. Otherwise, the live/test/dev environments will be used respectively

Upstream Branch

To specify a particular branch that code would live in the --branch argument could be used. That branch will need to exist within the upstream or --repo repository.

Rebuild

To rebuild or copy the database and files from a particular environment use the --rebuild flag as it will dictate that you want to completely pull new content. In conjunction with --copy these could be helpful in automation if wanting to specify the environment that data should be rebuilt from.

Reset User 1 Username and Password

The following will reset the username and password of the user 1 account. This is helpful if you would like a standard account username and password for any other sort of automated testing like behat. Each argument may be used independently and do not need to be combined.

Reset Username

Reset Password

Slack Notification

There is an ability to have a slack message sent to a particular channel to notify when an environment has been updated. This is particularly useful if and when you are using this plugin for any sort of Continuous Integration work.

Installation

For help installing, see Manage Plugins

Install Notes

Occasionally you may get this issue:

The way to solve this will be to go to your terminus project and run composer update. If you globally require it you will need to go directly into terminus it's self as the lock file within the terminus may contain an older version of guzzle/psr7.

OS X & Linux Fix

The following will only work assuming the following:

Help

Run terminus list site:upstream:test for a complete list of available commands. Use terminus help <command> to get help on one command.


All versions of terminus-upstream-testing-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
maknz/slack Version ^1.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package terminus-plugin-project/terminus-upstream-testing-plugin contains the following files

Loading the files please wait ....