-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
57 lines (46 loc) · 4.12 KB
/
index.xml
File metadata and controls
57 lines (46 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>PHPDrone documentation on PHPDrone</title>
<link>https://phpdrone.github.io/</link>
<description>Recent content in PHPDrone documentation on PHPDrone</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://phpdrone.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Drone Client PHP SDK</title>
<link>https://phpdrone.github.io/php-sdks/drone-client-sdk/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://phpdrone.github.io/php-sdks/drone-client-sdk/</guid>
<description>The client SDK is currently unstested an a work in progress
Using with composer $ composer require gboddin/php-drone-client Getting Started Please follow the installation procedure and then run the following:
&lt;?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: accessToken DroneClient\Configuration::getDefaultConfiguration()-&gt;setApiKey('access_token', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // DroneClient\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('access_token', 'Bearer'); $api_instance = new DroneClient\Api\BuildsApi(); $owner = &quot;owner_example&quot;; // string | owner of the repository $name = &quot;name_example&quot;; // string | name of the repository try { $result = $api_instance-&gt;reposOwnerNameBuildsGet($owner, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling BuildsApi-&gt;reposOwnerNameBuildsGet: ', $e-&gt;getMessage(), PHP_EOL; } ?</description>
</item>
<item>
<title>Drone Plugin PHP SDK</title>
<link>https://phpdrone.github.io/php-sdks/drone-plugin-sdk/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://phpdrone.github.io/php-sdks/drone-plugin-sdk/</guid>
<description>Allows for creating PHP based plugins.
Using with composer $ composer require phpdrone/drone-plugin-sdk:~0.1 Example &lt;?php require __DIR__.&quot;/vendor/autoload.php&quot;; // Get the build : $build = new \DronePluginSdk\Build(); // Get some settings : var_dump($build-&gt;getPluginParameter('my_parameter')); Full example See the example included on Github
API documentation See the full API documentation</description>
</item>
<item>
<title>Composer SA Checker</title>
<link>https://phpdrone.github.io/drone-plugins/composer-sa-checker/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://phpdrone.github.io/drone-plugins/composer-sa-checker/</guid>
<description> This plugin connects to Sensiolab Security Advisories, to check if your composer.lock contains any reference to vulnerable components.
Usage pipeline: test-composer-deps: image: phpdrone/composer-sa-checker # lock_file: composer.lock Result Security Report =============== No known* vulnerabilities detected. * Disclaimer: This checker can only detect vulnerabilities that are referenced in the SensioLabs security advisories database. </description>
</item>
<item>
<title>PHAR Composer</title>
<link>https://phpdrone.github.io/drone-plugins/phar-composer/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://phpdrone.github.io/drone-plugins/phar-composer/</guid>
<description>This plugins allows for creating a standalone PHAR file from a composer project.
Operation The plugin will :
Move away your current vendor, .git and .drone.yml file Do a composer install --no-dev to get a minimal build Build a PHAR file Restore your vendor, .git and .drone.yml file Example pipeline: build-phar: image: phpdrone/phar-composer output: ghcli.phar Result Backing up vendor directory ... Moving away non-dist material ... Installing mininal components .</description>
</item>
</channel>
</rss>