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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
run: foo | |
name: foo | |
namespace: default | |
spec: | |
containers: | |
- args: |
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
#!/bin/bash -ex | |
exec 2>&1 | |
export HOME=/root | |
cd | |
echo ,+ | sfdisk --force -u S -N 2 /dev/sda || true | |
partprobe | |
xfs_growfs /dev/sda2 |
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
package capture | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"syscall" | |
"testing" | |
) |
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
dnf install dnf-util | |
# Install prerequisites | |
yum-config-manager --add-repo=https://cbs.centos.org/repos/paas7-crio-311-candidate/x86_64/os/ | |
# Install CRI-O | |
yum install --nogpgcheck cri-o podman | |
systemctl start crio | |
systemctl enable crio | |
# root file system might need extending... | |
add alisas to nine /home/lab-user/.bashrc |
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
test |
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
package kubeclient | |
import ( | |
"errors" | |
"net" | |
"net/http" | |
"time" | |
"github.com/sirupsen/logrus" | |
"k8s.io/client-go/kubernetes" |
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
package kubeclient | |
//go:generate go get github.com/golang/mock/gomock | |
//go:generate go install github.com/golang/mock/mockgen | |
//go:generate mockgen -destination=../../util/mocks/mock_$GOPACKAGE/types.go github.com/openshift/openshift-azure/pkg/cluster/$GOPACKAGE Kubeclient | |
//go:generate gofmt -s -l -w ../../util/mocks/mock_$GOPACKAGE/types.go | |
//go:generate goimports -local=github.com/openshift/openshift-azure -e -w ../../util/mocks/mock_$GOPACKAGE/types.go | |
import ( | |
"context" |
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
ime="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-drools" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-infinispan" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-rest-sql" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-teiid" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-xa" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-camel-xml" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-cxf-jaxrs" | |
time="2019-02-07T15:37:24Z" level=info msg="Create Template.template.openshift.io/openshift/s2i-fuse71-spring-boot-cxf-jaxws" | |
t |
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
package kubeclient | |
//go:generate go get github.com/golang/mock/gomock | |
//go:generate go install github.com/golang/mock/mockgen | |
//go:generate mockgen -destination=../../util/mocks/mock_$GOPACKAGE/types.go github.com/openshift/openshift-azure/pkg/cluster/$GOPACKAGE Kubeclient | |
//go:generate gofmt -s -l -w ../../util/mocks/mock_$GOPACKAGE/types.go | |
//go:generate goimports -local=github.com/openshift/openshift-azure -e -w ../../util/mocks/mock_$GOPACKAGE/types.go | |
import ( | |
"context" |
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 bash | |
if [ "$1" == "" ]; then | |
echo "plugin config file argument is missing" | |
exit 1 | |
fi | |
PLUGINCONFIG="$1" | |
#################################################### | |
SOURCE="${BASH_SOURCE[0]}" |