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 | |
| if grep -q -i "release 6" /etc/redhat-release 2> /dev/null | |
| then | |
| sudo yum -y install scl-utils | |
| sudo yum -y install --enablerepo=rhui-ap-southeast-2-rhel-server-rhscl rh-python36 | |
| PYTHON36=$(scl enable rh-python36 "bash -c 'which python'") | |
| export PATH=$(dirname $PYTHON36):$PATH | |
| fi |
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 | |
| data: | |
| fluentd.conf: | | |
| # Capture the kubernetes pod container logs | |
| <source> | |
| @type tail | |
| format json | |
| path /var/log/containers/*.log | |
| pos_file /var/log/kubernetes.pos | |
| time_format %Y-%m-%dT%H:%M:%S |
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
| require 'rake' | |
| require 'rspec/core/rake_task' | |
| require 'yaml' | |
| namespace :spec do | |
| desc 'Run unit tests' | |
| task :unit do | |
| FileList["modules/*/Rakefile"].each do |project| | |
| dir = project.pathmap("%d") | |
| sh "cd #{dir}; rake spec:unit" |
NewerOlder