helm3 version
helm3 install <chart-name> <chart-location>
helm3 install grafana .
helm3 install grafana . --namespace <namespace>
| { | |
| "title":"QA Dashboard", | |
| "description":"", | |
| "widgets":[ | |
| { | |
| "id":0, | |
| "definition":{ | |
| "type":"timeseries", | |
| "requests":[ | |
| { |
| Feature: Google search | |
| Background: Google Home page | |
| Given I navigate to Google home page | |
| Scenario: C845 Verify Google Home Page | |
| Then I verify the Google home page | |
| Scenario: C847 C850 Verify Google Home Page x2 | |
| Then I fail to load Google home page |
| Before do |scenario| | |
| $dd_data ||= [] | |
| $dd_passed = $dd_failed = $dd_pending = 0 | |
| end | |
| After do |scenario| | |
| if $dd_data | |
| case scenario.status | |
| when :failed | |
| status_id = 0 |
| RSpec.configure do |config| | |
| $data ||= [] | |
| $passed = $failed = $pending = 0 | |
| config.after(:each) do |scenario| | |
| if (scenario.exception) && (!scenario.exception.message.include? 'pending') | |
| status_id = 0 | |
| elsif scenario.skipped? | |
| status_id = 2 | |
| elsif scenario.pending? |
| apt-get update && apt-get install -y apt-transport-https | |
| curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
| cat <<EOF >/etc/apt/sources.list.d/kubernetes.list | |
| deb http://apt.kubernetes.io/ kubernetes-xenial main | |
| EOF | |
| apt-get update |
| describe 'status validation', :focus do | |
| it "boolean validator", :get do | |
| expect(200).to eq(200) | |
| end | |
| it "boolean validator x2", :get do | |
| expect(200).to eq(201) | |
| end |
| RSpec.configure do |config| | |
| config.before(:all) do | |
| @prometheus = Prometheus::Client.registry | |
| @http_requests = Prometheus::Client::Counter.new(:website_baseline, docstring: 'desktop tests', labels: [:passed, :failed, :pending]) | |
| @prometheus.register(@http_requests) | |
| $data ||= [] | |
| $passed = 0 | |
| $failed ||= 0 | |
| $pending ||= 0 | |
| end |
| provider "aws" { | |
| version = "~> 2.0" | |
| region = "us-west-2" | |
| shared_credentials_file = "~/.aws/credentials" | |
| profile = "prashanth" | |
| } | |
| data "aws_ami" "amazon-linux-2" { | |
| most_recent = true | |
| owners = ["amazon"] |
| pip install ansible |