This file contains hidden or 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
# Instrument binaries, pgo data to /data/pgo, serial make is important to not confuse the pgo generator | |
env CXXFLAGS='-march=native -fprofile-dir=/data/pgo -fprofile-generate=/data/pgo' cmake .. -DCMAKE_BUILD_TYPE=Release | |
make -j 1 | |
# Run instrumented program, generate and write pgo data | |
./runIt | |
# Use profile data and feed into gcc, correct for threading counter noise, serial make is important to not confuse the pgo generator | |
env CXXFLAGS='-march=native -fprofile-dir=/data/pgo -fprofile-use=/data/pgo -fprofile-correction' cmake .. -DCMAKE_BUILD_TYPE=Release | |
make -j 1 |
This file contains hidden or 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
required = [ | |
"github.com/emicklei/go-restful", | |
"github.com/onsi/ginkgo", # for test framework | |
"github.com/onsi/gomega", # for test matchers | |
"k8s.io/client-go/plugin/pkg/client/auth/gcp", # for development against gcp | |
"k8s.io/code-generator/cmd/deepcopy-gen", # for go generate | |
"sigs.k8s.io/controller-tools/cmd/controller-gen", # for crd/rbac generation | |
"sigs.k8s.io/controller-runtime/pkg/client/config", | |
"sigs.k8s.io/controller-runtime/pkg/controller", | |
"sigs.k8s.io/controller-runtime/pkg/handler", |
This file contains hidden or 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
required = [ | |
"github.com/emicklei/go-restful", | |
"github.com/onsi/ginkgo", # for test framework | |
"github.com/onsi/gomega", # for test matchers | |
"k8s.io/client-go/plugin/pkg/client/auth/gcp", # for development against gcp | |
"k8s.io/code-generator/cmd/deepcopy-gen", # for go generate | |
"sigs.k8s.io/controller-tools/cmd/controller-gen", # for crd/rbac generation | |
"sigs.k8s.io/controller-runtime/pkg/client/config", | |
"sigs.k8s.io/controller-runtime/pkg/controller", | |
"sigs.k8s.io/controller-runtime/pkg/handler", |
This file contains hidden or 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
required = [ | |
"github.com/emicklei/go-restful", | |
"github.com/onsi/ginkgo", # for test framework | |
"github.com/onsi/gomega", # for test matchers | |
"k8s.io/client-go/plugin/pkg/client/auth/gcp", # for development against gcp | |
"k8s.io/code-generator/cmd/deepcopy-gen", # for go generate | |
"sigs.k8s.io/controller-tools/cmd/controller-gen", # for crd/rbac generation | |
"sigs.k8s.io/controller-runtime/pkg/client/config", | |
"sigs.k8s.io/controller-runtime/pkg/controller", | |
"sigs.k8s.io/controller-runtime/pkg/handler", |
This file contains hidden or 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
--- | |
- name: create maildir | |
file: | |
path: "{{item}}" | |
state: directory | |
with_items: | |
- "~/.kubebuilder" | |
- name: download github props |
This file contains hidden or 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
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or 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
I0823 18:36:02.386736 1 webhook.go:86] HALP! &v1beta1.AdmissionRequest{UID:"6313dcfa-a703-11e8-8fa6-f8b6c95d944d", Kind:v1.GroupVersionKind{Group:"", Version:"v1", Kind:"Pod"}, Resource:v1.GroupVersionResource{Group:"", Version:"v1", Resource:"pods"}, SubResource:"", Name:"", Namespace:"default", Operation:"CREATE", UserInfo:v1.UserInfo{Username:"system:serviceaccount:kube-system:kubevirt-controller", UID:"8e96abe6-a701-11e8-8fa6-f8b6c95d944d", Groups:[]string{"system:serviceaccounts", "system:serviceaccounts:kube-system", "system:authenticated"}, Extra:map[string]v1.ExtraValue(nil)}, Object:runtime.RawExtension{Raw:[]uint8{0x7b, 0x22, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3a, 0x7b, 0x22, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x76, 0x69, 0x72, 0x74, 0x2d, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x2d, 0x6b, 0x76, 0x69, 0x72, 0x74, 0x76, 0x6d, 0x32, 0x2d, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54 |
This file contains hidden or 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/env python2 | |
import argparse | |
import subprocess | |
import logging | |
import distutils.util | |
import os | |
import sys | |
import socket | |
from shutil import copyfile |
This file contains hidden or 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/env python2 | |
import argparse | |
import subprocess | |
import logging | |
import distutils.util | |
import os | |
import sys | |
import socket | |
from shutil import copyfile |
This file contains hidden or 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/env python2 | |
import argparse | |
import subprocess | |
import logging | |
import distutils.util | |
import os | |
import sys | |
import socket | |
from shutil import copyfile |