-
Ensure your local 'devel' branch is up to date
git checkout devel; git pull --rebase
-
Prepare your local branch
git checkout -b working_branch origin/devel
-
Prepare your commit
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
- hosts: localhost | |
vars: | |
split_in: 4 | |
do_number: 1 # 1 to 4 | |
tasks: | |
- command: 'ansible-test integration --python 3.7 -vvv --list-targets zuul/vmware/vcenter_1esxi/' | |
register: ansible_test_targets | |
- set_fact: |
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
firewall-cmd --zone=libvirt --add-service=http --permanent | |
firewall-cmd --reload |
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
ip l set up br-ex | |
ip a add 172.24.4.1/24 dev br-ex | |
losetup -f /opt/stack/data/stack-volumes-lvmdriver-1-backing-file | |
losetup -f /opt/stack/data/stack-volumes-default-backing-file | |
iptables-restore save |
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
#!/bin/bash | |
set -eux | |
systemctl stop multi-user.target | |
systemctl stop applmgmt | |
systemctl stop getty@tty1.service | |
systemctl stop getty@tty2.service | |
systemctl stop vami-lighttp | |
systemctl stop dnsmasq | |
systemctl stop vmafdd |
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
#!/bin/bash | |
echo VMware module. Number per type: | |
echo -n ' pyvmomi: ' | |
ag -H -l PyVmomi lib/ansible/modules/cloud/vmware/v*|wc -l | |
echo -n ' VMware vSAN Python SDK: ' | |
ag -H -il HAS_VSANPYTHONSDK lib/ansible/modules/cloud/vmware/v*|wc -l |
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
#!/bin/bash | |
set -eux | |
for i in $(seq 9); do | |
gsettings set org.gnome.shell.keybindings switch-to-application-$i '[]' | |
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Super>$i']" | |
done | |
gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['<Super>f']" | |
#gsettings set org.gnome.desktop.wm.keybindings toggle-maximized "['<Super>f']" | |
gsettings set org.gnome.desktop.interface enable-animations false |
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
#!/bin/bash | |
function test_venv() { | |
cmd=$1 | |
venv_dir=$(mktemp -d) | |
tmp_dir=$(mktemp -d) | |
if ! $cmd ${venv_dir} > /dev/null 2>&1; then | |
return |
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/fish | |
set github_account "goneri" | |
#git clone git@github.com:ansible/ansible upstream | |
for i in a b c | |
set -x GIT_DIR $i/.git | |
git clone --shared --origin upstream upstream $i | |
git remote add goneri git@github.com:{goneri}/ansible.git |
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
ansible-test units --tox --python 3.7 '.*vmware.*' |