- Create the namespace
kubectl create ns monitoring
- Deploy influxdb
kubectl apply -f influxdb.yml
| # | |
| # TestRail API binding for Ruby (API v2, available since TestRail 3.0) | |
| # | |
| # Learn more: | |
| # | |
| # http://docs.gurock.com/testrail-api2/start | |
| # http://docs.gurock.com/testrail-api2/accessing | |
| # | |
| # Copyright Gurock Software GmbH. See license.md for details. | |
| # |
| require_relative '../../features/helpers/testrail' | |
| class ResultUploader | |
| attr_accessor :client | |
| def initialize(scenario) | |
| @scenario = scenario | |
| @config = TestrailConfig.new.config['testrail'] | |
| setup_testrail_client |
| class TestrailConfig | |
| attr_reader :config | |
| CONFIG_FILE = './testrail_config.yml' | |
| def initialize | |
| if File.exist? CONFIG_FILE | |
| @config = YAML.load_file(CONFIG_FILE) | |
| raise 'configuration not loaded successfully' if @config.nil? |
| testrail: | |
| url: https://xyz.testrail.io/ | |
| user: user@domain.com | |
| password: xxxxxxx | |
| run_id: 111 |
| def browserstack | |
| browserstack = { | |
| 'chrome' => { | |
| 'os': "windows", | |
| 'os_version': "10", | |
| 'browser': "chrome", | |
| 'browser_version': "73", | |
| 'resolution': "1280x800", | |
| 'browserstack.local': false | |
| }, |
aws s3api create-bucket --bucket my-kops-bucket --location- eu-west-1 --create-bucket-configuration LocationConstraint=eu-west-1
export NAME=my-kops-cluster-name
export KOPS_STATE_STORE=s3://my-kops-bucket-name
kops create cluster --zones eu-west-1a,eu-west-1b --name $NAME --node-count=2 --node-size=t2.medium --authorization=RBAC --networking=calico --encrypt-etcd-storage --kubernetes-version=v1.7.10
kops update cluster --yes
kops validate cluster
| watch -n x <your command> | |
| watch -n 60 ls -l ~/Desktop | |
| job("main-repo") { | |
| scm { | |
| github("StephenKing/chef-ci-main-repo") | |
| } | |
| steps { | |
| shell("knife upload roles environments data_bags --chef-repo-path ./") | |
| } | |
| } |
| version: "3.5" | |
| services: | |
| sonarqube: | |
| image: sonarqube | |
| ports: | |
| - "9000:9000" | |
| networks: | |
| - sonarnet | |
| environment: |