From 2ae48f1ca910031a77550e1f85492d9786c3069e Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Fri, 18 May 2018 17:33:57 +0200 Subject: Add QA integration test for full Auto DevOps flow --- qa/qa/fixtures/auto_devops_rack/Gemfile | 3 +++ qa/qa/fixtures/auto_devops_rack/Gemfile.lock | 15 +++++++++++++++ qa/qa/fixtures/auto_devops_rack/Rakefile | 7 +++++++ qa/qa/fixtures/auto_devops_rack/config.ru | 1 + 4 files changed, 26 insertions(+) create mode 100644 qa/qa/fixtures/auto_devops_rack/Gemfile create mode 100644 qa/qa/fixtures/auto_devops_rack/Gemfile.lock create mode 100644 qa/qa/fixtures/auto_devops_rack/Rakefile create mode 100644 qa/qa/fixtures/auto_devops_rack/config.ru (limited to 'qa/qa/fixtures') diff --git a/qa/qa/fixtures/auto_devops_rack/Gemfile b/qa/qa/fixtures/auto_devops_rack/Gemfile new file mode 100644 index 00000000000..fc7514242d0 --- /dev/null +++ b/qa/qa/fixtures/auto_devops_rack/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' +gem 'rack' +gem 'rake' diff --git a/qa/qa/fixtures/auto_devops_rack/Gemfile.lock b/qa/qa/fixtures/auto_devops_rack/Gemfile.lock new file mode 100644 index 00000000000..09cf72c48ac --- /dev/null +++ b/qa/qa/fixtures/auto_devops_rack/Gemfile.lock @@ -0,0 +1,15 @@ +GEM + remote: https://rubygems.org/ + specs: + rack (2.0.4) + rake (12.3.0) + +PLATFORMS + ruby + +DEPENDENCIES + rack + rake + +BUNDLED WITH + 1.16.1 diff --git a/qa/qa/fixtures/auto_devops_rack/Rakefile b/qa/qa/fixtures/auto_devops_rack/Rakefile new file mode 100644 index 00000000000..c865c9aaac1 --- /dev/null +++ b/qa/qa/fixtures/auto_devops_rack/Rakefile @@ -0,0 +1,7 @@ +require 'rake/testtask' + +task default: %w[test] + +task :test do + puts "ok" +end diff --git a/qa/qa/fixtures/auto_devops_rack/config.ru b/qa/qa/fixtures/auto_devops_rack/config.ru new file mode 100644 index 00000000000..bde8e15488a --- /dev/null +++ b/qa/qa/fixtures/auto_devops_rack/config.ru @@ -0,0 +1 @@ +run lambda { |env| [200, { 'Content-Type' => 'text/plain' }, StringIO.new("Hello World!\n")] } -- cgit v1.2.1