diff options
Diffstat (limited to 'qa/tasks')
-rw-r--r-- | qa/tasks/ci.rake | 10 | ||||
-rw-r--r-- | qa/tasks/knapsack.rake | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/qa/tasks/ci.rake b/qa/tasks/ci.rake index 84a26e3e555..aaf691de1b5 100644 --- a/qa/tasks/ci.rake +++ b/qa/tasks/ci.rake @@ -54,15 +54,15 @@ namespace :ci do append_to_file(env_file, "QA_FEATURE_FLAGS='#{feature_flags}'") end - desc "Download test results from downstream pipeline" - task :download_test_results, [:trigger_name, :test_report_job_name, :report_path] do |_, args| - QA::Tools::Ci::TestResults.get(args[:trigger_name], args[:test_report_job_name], args[:report_path]) - end - desc "Export test run metrics to influxdb" task :export_test_metrics, [:glob] do |_, args| raise("Metrics file glob pattern is required") unless args[:glob] QA::Tools::Ci::TestMetrics.export(args[:glob]) end + + desc "Get available QA environment variables" + task :env_var_name_list do + puts Gitlab::QA::Runtime::Env.variables.keys.join("\n") + end end diff --git a/qa/tasks/knapsack.rake b/qa/tasks/knapsack.rake index c502d1cbb4a..5e60703ced3 100644 --- a/qa/tasks/knapsack.rake +++ b/qa/tasks/knapsack.rake @@ -20,6 +20,7 @@ namespace :knapsack do test_stage_name = args[:stage_name] knapsack_reports = ENV["QA_KNAPSACK_REPORTS"]&.split(",") ci_token = ENV["QA_GITLAB_CI_TOKEN"] + QA::Support::KnapsackReport.configure! reports = if knapsack_reports knapsack_reports @@ -43,6 +44,7 @@ namespace :knapsack do desc "Merge and upload knapsack report" task :upload, [:glob] do |_task, args| + QA::Support::KnapsackReport.configure! QA::Support::KnapsackReport.upload_report(args[:glob]) end |