google/cloud-tools
Dev utilities for Google Cloud in PHP. Includes flex_exec to run commands inside the same Docker image as an App Engine Flexible deployment, with optional Cloud SQL connectivity via Cloud Build. Also provides Google\Cloud\TestUtils helpers and fixtures.
app-engine-php component from gcloud install (#83)CloudRun gcloud wrapper (#71)DeploymentTrait (#59)install_test_deps.sh script (#67)gcloud beta (#64)runSnippets function to TestTrait (#61)New Feature!
wp-gae tool moved into this repo for deploying WordPress to App Engine Standard (#54)
Misc allows latest symfony console version (#52) Adds RUN_CS_CHECK as a valid env var (#53)
Fixes copy/rename issues with WordPress sample by using symfony/filesystem
0.1.4relativeDir for Windows0.1.3 (the latest version)runCommand static in ExecuteCommandTraitGOOGLE_SKIP_DEPLOYMENT skips beforeDeploy and afterDeploy as wellGoogle\Cloud\TestUtils\FileUtil into this repository, from php-docs-samplesGoogle\Cloud\TestUtils\ExecuteCommandTrait into this repository, from php-docs-samplesAdds ability for WordPress to be installed in the root Project directory
Adds Test Helper Traits!
Google\Cloud\TestUtils\TestTrait
GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_PROJECT_IDcheckEnv for checking other environment variablesGoogle\Cloud\TestUtils\ExponentialBackoffTrait
EventuallyConsistencyTrait by exposing the backoff class to the testuseResourceExhaustedBackoff to retry APIs which have low quotasuseExpectationFailedBackoff for eventual consistency on failing PHPUnit testsGoogle\Cloud\TestUtils\ExecuteCommandTrait
runCommand for testing commandsThis adds a generic "Project" class which can be used to create a directory, download and install code, and ask the users questions about the installation
This class is used in our setups of WordPress on php55, php72, and App Engine Flex. The class has been abstracted to this repository so we can have samples in all those languages and keep them dry.
Now supplying GOOGLE_SKIP_DEPLOYMENT will skip deploying the app and run the tests. This is useful when the app is already deployed and the fix in the test was based on something other than deploying the app, and so it is helpful to run the test against the already running app.
flex_execcatchAllExceptions instance var.Fix for broken EventuallyConsistentTestTrait
Release 0.6.2
Configurable EventuallyConsistentRetryCount
The first tagged release
How can I help you explore Laravel packages today?