quicksilver-examples
quicksilver-examples copied to clipboard
Example scripts for using Pantheon's Quicksilver Platform Hooks
In order to trigger a GH Action using a GH App a Json Web Tokens are needed. [Firebase PHP-JWT ](https://github.com/firebase/php-jwt) seems to be the way to go. I wonder how...
https://github.com/pantheon-systems/quicksilver-examples/blob/0c44bd18c87ddf788e36da98890ece70f0cf4a79/example.pantheon.yml#L1 Copying the example.pantheon.yml file may cause some error due to the line: 1 `---` Any invalid syntax for `pantheon.yml` file should be removed to avoid from users from accidentally...
Adding a comment to add `--network` option when the site is a multisite
[Slack changed their incoming webhook API](https://api.slack.com/messaging/attachments-to-blocks) to use blocks instead of attachments in 2019. I rewrote the slack_notification QuickSilver script to use the current API. I also fixed the link...
## The problem - I followed the instructions on [this README](https://github.com/pantheon-systems/quicksilver-examples/tree/main/drush_config_import) and created a similar script. - I put my script under `web/private` and it didn't work. - I put...
In the Slack example there's a mismatch between the documented script location and the example `pantheon.yml` file. The document describes using the `private` location: > Add, and update as needed,...
Would be good to have an example of the autopilot_vrt hook, so that devs have some context for writing scripts.
Using the Solr index example it times out after 175 seconds. This is fine except no sign of an error is displayed to the user unless watching workflows with Terminus,...
## Issue Description: The [passthru](https://www.php.net/manual/en/function.passthru.php) [usages](https://github.com/pantheon-systems/quicksilver-examples/search?q=passthru&type=Code) will result in a false positive if the called command returns with non-zero exit code. ## Suggested Resolution: Check &$return_var value and raise an...