Skip to content

Commit

Permalink
DEVPROD-1575: added error for missing config file (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldo-aguilar authored and Ubuntu committed Jan 8, 2024
1 parent 79417a2 commit 2b87401
Show file tree
Hide file tree
Showing 37 changed files with 39 additions and 38 deletions.
2 changes: 1 addition & 1 deletion _modules/evergreen/alias.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.alias &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.alias &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
4 changes: 3 additions & 1 deletion _modules/evergreen/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.api &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.api &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -1490,6 +1490,8 @@ <h1>Source code for evergreen.api</h1><div class="highlight"><pre>
<span class="n">config</span> <span class="o">=</span> <span class="kc">None</span>
<span class="k">if</span> <span class="n">use_config_file</span><span class="p">:</span>
<span class="n">config</span> <span class="o">=</span> <span class="n">read_evergreen_config</span><span class="p">()</span>
<span class="k">if</span> <span class="n">config</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">FileNotFoundError</span><span class="p">(</span><span class="s2">&quot;The Evergreen config file cannot be found.&quot;</span><span class="p">)</span>
<span class="k">elif</span> <span class="n">config_file</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">config</span> <span class="o">=</span> <span class="n">read_evergreen_from_file</span><span class="p">(</span><span class="n">config_file</span><span class="p">)</span>

Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/api_requests.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.api_requests &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.api_requests &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.base &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.base &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.build &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.build &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/commitqueue.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.commitqueue &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.commitqueue &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
3 changes: 1 addition & 2 deletions _modules/evergreen/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.config &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.config &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down Expand Up @@ -81,7 +81,6 @@ <h1>Source code for evergreen.config</h1><div class="highlight"><pre>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">for</span> <span class="n">filename</span> <span class="ow">in</span> <span class="p">[</span><span class="n">filename</span> <span class="k">for</span> <span class="n">filename</span> <span class="ow">in</span> <span class="n">CONFIG_FILE_LOCATIONS</span> <span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isfile</span><span class="p">(</span><span class="n">filename</span><span class="p">)]:</span>
<span class="k">return</span> <span class="n">read_evergreen_from_file</span><span class="p">(</span><span class="n">filename</span><span class="p">)</span>

<span class="k">return</span> <span class="kc">None</span></div>


Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/distro.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.distro &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.distro &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/errors/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.errors.exceptions &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.errors.exceptions &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/host.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.host &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.host &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/manifest.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.manifest &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.manifest &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/metrics/buildmetrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.metrics.buildmetrics &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.metrics.buildmetrics &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/metrics/versionmetrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.metrics.versionmetrics &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.metrics.versionmetrics &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/patch.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.patch &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.patch &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/performance_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.performance_results &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.performance_results &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.project &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.project &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/resource_type_permissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.resource_type_permissions &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.resource_type_permissions &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.stats &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.stats &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/task.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.task &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.task &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/task_annotations.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.task_annotations &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.task_annotations &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/task_reliability.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.task_reliability &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.task_reliability &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/tst.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.tst &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.tst &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/users_for_role.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.users_for_role &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.users_for_role &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/util.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.util &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.util &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/evergreen/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.version &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.version &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; evergreen.py 3.6.16 documentation</title>
<title>Overview: module code &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '3.6.16',
VERSION: '3.6.17',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion evergreen.errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.errors package &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.errors package &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion evergreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen package &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen package &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion evergreen.metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>evergreen.metrics package &#8212; evergreen.py 3.6.16 documentation</title>
<title>evergreen.metrics package &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; evergreen.py 3.6.16 documentation</title>
<title>Index &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Getting started with evergreen.py &#8212; evergreen.py 3.6.16 documentation</title>
<title>Getting started with evergreen.py &#8212; evergreen.py 3.6.17 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/readable.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
Loading

0 comments on commit 2b87401

Please sign in to comment.