- docker 18.03.0-ce
- kubectl v1.8.6
- gcloud 216.0.0
- helm v2.8.2
- postgres 9.6
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Sakila Sample Database Data | |
-- Version 1.0 | |
-- Copyright (c) 2006, 2015, Oracle and/or its affiliates. | |
-- All rights reserved. | |
-- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
-- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
-- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/groovy | |
def label = UUID.randomUUID().toString() | |
podTemplate(label: label, cloud: 'local cluster', | |
containers: [ | |
containerTemplate( | |
name: 'test', | |
image: 'jenkins-slave-k8s', | |
ttyEnabled: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/karixtech/karix-php.git | |
cd karix-php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
// Configure HTTP basic authorization: basicAuth | |
$config = new \Swagger\Client\Configuration(); | |
$config->setUsername('AUTH_ID'); | |
$config->setPassword('AUTH_TOKEN'); | |
$apiInstance = new Swagger\Client\Api\MessageApi( | |
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once('/path/to/SwaggerClient-php/vendor/autoload.php'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/karixtech/karix-php.git" | |
} | |
], | |
"require": { | |
"karixtech/karix-php": "0.0.2" | |
} |
- Gunicorn + Gevent
- Use unix sockets
- Unix socket gives better performance than IP sockets. https://lists.freebsd.org/pipermail/freebsd-performance/2005-February/001143.html
NewerOlder