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
# quick and dirty expression of automating importation | |
# of L/XL data into grafana from gplt metrics collector data | |
require "yaml" | |
time = "1571690335" # this should be introspected from the data directory | |
tag = "slv-649" # passed as an argument | |
source = "data/#{tag}" | |
# parse yaml | |
data = YAML.load(File.read("jrd-gplt-01/build/pe_xl/nodes.yaml")) |
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
# frozen_string_literal: true | |
# This file needs to be in the winston project | |
# Requires a yaml file with ticket information in the following | |
# format: | |
# | |
# --- | |
# issuetype: "1" # global: bug | |
# | |
# issues: |
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
➜ jrd-gplt git:(master) ✗ git diff <<< | |
diff --git a/rakefile b/rakefile | |
index 41f6ecd..af067a8 100644 | |
--- a/rakefile | |
+++ b/rakefile | |
@@ -253,7 +253,40 @@ rototiller_task :performance_without_provision do |t| | |
end | |
desc 'Run Performance setup for clamps' | |
-rototiller_task :performance_clamps do |t| |
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
# per https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/deploymenthost.html#configure-ubuntu | |
apt-get update | |
apt-get dist-upgrade | |
# reboot | |
apt-get install aptitude build-essential git ntp ntpdate openssh-server python-dev sudo | |
# deploy | |
git clone -b master https://git.openstack.org/openstack/openstack-ansible /opt/openstack-ansible | |
cd /opt/openstack-ansible/ | |
scripts/bootstrap-ansible.sh |
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/.flake8 b/.flake8 | |
new file mode 100644 | |
index 0000000..5429527 | |
--- /dev/null | |
+++ b/.flake8 | |
@@ -0,0 +1,16 @@ | |
+[flake8] | |
+ignore = W503 | |
+max-line-length = 80 | |
+pytest_mark1 = name=test_id |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/trusty64" | |
end |
This document will illustrate the steps for testing against a local checkout of the rpc-openstack repository using either a Phobos instance or a Vagrant instance running in VirtualBox.
The presence of VirtualBox and Vagrant on your development system along with a checkout of the rpc-openstack repo are assumed. The installation of this software is left as an exercise for the user.
NewerOlder