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
package breaker | |
import ( | |
"context" | |
"sync" | |
"github.com/micro/go-micro/client" | |
"github.com/micro/go-micro/errors" | |
"github.com/sony/gobreaker" | |
) |
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
{%- set archs = {'amd64': 'x86_64', 'i386': 'x86_32'} %} | |
{%- set system = '-'.join([salt['grains.get']('os'), salt['grains.get']('osrelease').split('.', 1)[0], archs.get(salt['grains.get']('osarch'), salt['grains.get']('osarch'))]).lower() %} | |
{%- set hostname, domainname = grains['id'].split('.',1) %} | |
{%- set project = '_'.join(domainname.split('.')[-2:]) %} | |
{%- set environment = domainname.replace('.','_') %} | |
{%- set roles = salt['pillar.get']('roles', []) %} | |
{%- from "macros.jinja" import include with context %} | |
base: | |
'*': | |
{{ include("systems/{0}/common".format(system)) }} |
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
common/*.sls | |
system/{{ __grains__['os'].lower() }}-{{ __grains__['osrelease'].lower() }}-{{ __grains__['osarch'] }}.sls | |
{% set hostname, domainname = minion_id.split('.',1) %} | |
envs/{{ domainname | replace('.','_') }}/*.sls | |
roles/{{ hostname.rstrip('0123456789') }}.sls | |
nodes/{{ domainname | replace('.','_') }}/{{ hostname }}.sls |
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
time="2016-05-14T13:31:44Z" level=debug msg="Agent 85.143.217.87 connected." | |
time="2016-05-14T13:31:44Z" level=info ip=85.143.217.87 latency=204.011337ms method=POST path="/api/queue/ping" status=200 time="2016-05-14T13:31:44Z" user-agent="Go-http-client/1.1" | |
time="2016-05-14T13:31:45Z" level=debug msg="Agent 85.143.217.87 connected." | |
time="2016-05-14T13:32:04Z" level=debug msg="cannot find build secrets for yoctocloud/packer-centos. 404 Not Found" | |
time="2016-05-14T13:32:04Z" level=debug msg="cannot parse .drone.yml.sig file. square/go-jose: compact JWS format must have three parts" | |
time="2016-05-14T13:32:04Z" level=info ip=172.17.0.3 latency=663.238398ms method=POST path="/hook" status=200 time="2016-05-14T13:32:04Z" user-agent=GogsServer | |
time="2016-05-14T13:32:04Z" level=debug msg="Agent 85.143.217.87 assigned work. yoctocloud/packer-centos#4.1" | |
time="2016-05-14T13:32:04Z" level=info ip=85.143.217.87 latency=20.228223957s method=POST path="/api/queue/pull/linux/amd64" status=202 time="2016-05-14T13:32:04Z" |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQINBE53PRkBEADHjXhU5qHsKsfS8gut4+zP3MDQgBFAqIwlrYB8rF0OazE+J7dr | |
aUAmTYz502AubQYTHC4gq5E5qc298mQwjREcVZAKKzE7JjwbVtKFlSYyVHZnlX5I | |
Mr7vNOLJFqVOldCjCLoDQu9VkrX9k4YiouC1d/3yzpBtpRjI+o6lheNOS10/TMe8 | |
tiacKMkKcr82JvHVl5xXWv0KR09N4EOCV1gtOWwqZkPEBqG9zWHnGf4kA/K8MlAV | |
UiEgzGzrFtbf9VAjcb88YvmOrAWWB4CsPmzXG4bgjJobc9NhRV573C6Td6NCu70U | |
nUfh4K9hJ5gPkLOT8Wa2IdtqsE9eml2dFvCqsJUanZw3B1T43kG5Zo8bZAZCSTkZ | |
r4O+LIkEifIezWOCXiKlH3pUO2uRDlegISZ6Ih7+sAp6UCOqBs17i5uP0JqbBGcg |
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
// +build ignore | |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"net/http" | |
) |
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
diff --git a/debian/patches/libvirt-qemu-detect-zeros.patch b/debian/patches/libvirt-qemu-detect-zeros.patch | |
index 582c49d..d86dee6 100644 | |
--- a/debian/patches/libvirt-qemu-detect-zeros.patch | |
+++ b/debian/patches/libvirt-qemu-detect-zeros.patch | |
@@ -130,7 +130,7 @@ index d2f37e408bab..49b76adc416f 100644 | |
+ if (disk->detect_zeros) { | |
+ if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_DETECT_ZEROS)) { | |
-+ virBufferAsprintf(&opt, ",detect_zeros=%s", | |
++ virBufferAsprintf(&opt, ",detect-zeroes=%s", |
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
diff --git a/debian/changelog b/debian/changelog | |
index b91b58d..1147142 100644 | |
--- a/debian/changelog | |
+++ b/debian/changelog | |
@@ -1,4 +1,4 @@ | |
-libvirt (1.3.0-3) stable; urgency=medium | |
+libvirt (1.3.0-4) stable; urgency=medium | |
* New upstream version | |
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
-----BEGIN CERTIFICATE----- | |
MIIFtzCCBJ+gAwIBAgIQISLfF6mL6AqRhsrIgpboFDANBgkqhkiG9w0BAQsFADBV | |
MQswCQYDVQQGEwJDTjEaMBgGA1UEChMRV29TaWduIENBIExpbWl0ZWQxKjAoBgNV | |
BAMTIVdvU2lnbiBDQSBGcmVlIFNTTCBDZXJ0aWZpY2F0ZSBHMjAeFw0xNTA3MzEx | |
MjAwMjRaFw0xODA3MzExMjAwMjRaMBQxEjAQBgNVBAMMCXNlbGZpcC5ydTCCASIw | |
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzkWqomkMbuzlsoR6gv/in/r8Wh | |
5aHSxtHSWRRPhQNr8D+aZSOAmmkAvGW73B92duc163euMS87cl7n3a3SIptP+I+D | |
vH9oCGC4wj5Wlt6LsZazKcymT51OQA0ynWD4vv0hdWlMPGYkdO1PliJcVLTo27nU | |
3IDuUciaTeeIBy6FLnV3tiCPoDy982vJBxs4RNyByy3imFw+WT3aiSm6ASWGFZoQ | |
t4//nKILZOyGqy8/gj0JoW3+PFUI59RhkzCuUYnyRa/86sz6uZ7xepasKw3pr3hJ |
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
From d5b944f0dd678d916b91728a34c6ac200bfdd54b Mon Sep 17 00:00:00 2001 | |
From: Vasiliy Tolstov <[email protected]> | |
Date: Mon, 30 Nov 2015 15:01:27 +0000 | |
Subject: [PATCH] allow to delete sheepdog snapshot | |
Signed-off-by: Vasiliy Tolstov <[email protected]> | |
--- | |
block/sheepdog.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- | |
1 file changed, 53 insertions(+), 2 deletions(-) |