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
| setw -g mode-keys vi | |
| # set Zsh as your default Tmux shell | |
| set-option -g default-shell /bin/zsh | |
| # UTF is great, let us use that | |
| #set -g utf8 | |
| #set-window-option -g utf8 on | |
| # Tmux should be pretty, we need 256 color for that |
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
| [OSEv3:children] | |
| masters | |
| nodes | |
| [OSEv3:vars] | |
| ansible_ssh_user=root | |
| debug_level=2 | |
| openshift_deployment_type=origin | |
| openshift_image_tag=latest | |
| openshift_disable_check=disk_availability,docker_storage,memory_availability | |
| openshift_pkg_version=-1.5.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
| set rtp+=/usr/share/vim/vimfiles/plugin/powerline.vim | |
| set laststatus=2 | |
| set t_Co=256 | |
| syntax on | |
| filetype plugin indent on | |
| autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab | |
| set number | |
| set autoindent | |
| set tabstop=4 |
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
| [OSEv3:children] | |
| masters | |
| nodes | |
| [OSEv3:vars] | |
| ansible_ssh_user=root | |
| debug_level=2 | |
| openshift_deployment_type=origin | |
| openshift_release=v3.6 | |
| openshift_image_tag=v3.6.0-alpha.2 | |
| openshift_disable_check=disk_availability,docker_storage,memory_availability,package_version |
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 and build test | |
| gather_facts: False | |
| hosts: localhost | |
| connection: local | |
| tasks: | |
| - command: "oc new-project {{ item }}" | |
| with_sequence: start=0 end=9 format=bs%02x | |
| ignore_errors: True | |
| - command: "oc -n {{ item }} new-build --name generic -D 'FROM centos\nRUN yum install wget -y'" | |
| with_sequence: start=0 end=9 format=bs%02x |
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/python | |
| import os | |
| import requests | |
| def main(): | |
| home = os.environ['HOME'] | |
| ssh_private_key = "%s/.ssh/id_rsa" % home | |
| ssh_public_key = "%s/.ssh/id_rsa.pub" % home |
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
| [OSEv3:children] | |
| masters | |
| nodes | |
| [OSEv3:vars] | |
| ansible_ssh_user=root | |
| debug_level=2 | |
| openshift_deployment_type=origin | |
| openshift_release=v3.6 | |
| openshift_disable_check=disk_availability,docker_storage,memory_availability,package_version | |
| openshift_image_tag=v3.6.0-alpha.2 |
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
| localhost ansible_connection=local ip_eth0=10.10.10.10 |
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
| + '[' 1001 '!=' 1000150000 ']' | |
| + sed 's@apb:x:${USER_ID}:@apb:x:1000150000:@g' /opt/apb/etc/passwd.template | |
| + oc-login.sh | |
| Attempting to login with a service account... | |
| Logged into "https://kubernetes.default:443" as "system:serviceaccount:jenkins:apb" using the token provided. | |
| You have one project on this server: "jenkins" | |
| Using project "jenkins". | |
| Welcome! See 'oc help' to get started. | |
| + [[ -e /opt/apb/actions/provision.yaml ]] | |
| + [[ -e /opt/apb/actions/provision.yml ]] |
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
| FROM centos:7.3.1611 | |
| RUN yum install -y epel-release && \ | |
| yum install -y pass && \ | |
| mkdir /home/jimb0 && \ | |
| useradd -l -u 1001 -r -g users -d /home/jimb0 -s /bin/bash jimb0 && \ | |
| chown -R jimb0:users /home/jimb0 | |