primitive 0.1.44__py3-none-any.whl → 0.1.46__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- primitive/__about__.py +1 -1
- primitive/agent/process.py +2 -0
- primitive/agent/runner.py +3 -4
- {primitive-0.1.44.dist-info → primitive-0.1.46.dist-info}/METADATA +1 -1
- {primitive-0.1.44.dist-info → primitive-0.1.46.dist-info}/RECORD +8 -8
- {primitive-0.1.44.dist-info → primitive-0.1.46.dist-info}/WHEEL +0 -0
- {primitive-0.1.44.dist-info → primitive-0.1.46.dist-info}/entry_points.txt +0 -0
- {primitive-0.1.44.dist-info → primitive-0.1.46.dist-info}/licenses/LICENSE.txt +0 -0
primitive/__about__.py
CHANGED
primitive/agent/process.py
CHANGED
primitive/agent/runner.py
CHANGED
@@ -116,7 +116,7 @@ class AgentRunner:
|
|
116
116
|
|
117
117
|
sleep(5)
|
118
118
|
|
119
|
-
|
119
|
+
returncode = proc.finish()
|
120
120
|
total_errors += proc.errors
|
121
121
|
|
122
122
|
# Collect artifacts
|
@@ -124,15 +124,14 @@ class AgentRunner:
|
|
124
124
|
self.collect_artifacts(step)
|
125
125
|
|
126
126
|
# Check if we have a good result
|
127
|
-
if
|
128
|
-
logger.info(f"Job failed: {result}")
|
127
|
+
if returncode > 0:
|
129
128
|
conclusion = "failure"
|
130
129
|
break
|
131
130
|
|
132
131
|
if not conclusion and total_errors == 0:
|
133
132
|
conclusion = "success"
|
134
133
|
else:
|
135
|
-
logger.
|
134
|
+
logger.error(f"Job failed with {total_errors} errors.")
|
136
135
|
conclusion = "failure"
|
137
136
|
|
138
137
|
self.primitive.jobs.job_run_update(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: primitive
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.46
|
4
4
|
Project-URL: Documentation, https://github.com//primitivecorp/primitive-cli#readme
|
5
5
|
Project-URL: Issues, https://github.com//primitivecorp/primitive-cli/issues
|
6
6
|
Project-URL: Source, https://github.com//primitivecorp/primitive-cli
|
@@ -1,11 +1,11 @@
|
|
1
|
-
primitive/__about__.py,sha256=
|
1
|
+
primitive/__about__.py,sha256=sRMwBrZLRft1UkcHWA_mftlqcuHgEAEN5ognvvffRL0,130
|
2
2
|
primitive/__init__.py,sha256=bwKdgggKNVssJFVPfKSxqFMz4IxSr54WWbmiZqTMPNI,106
|
3
3
|
primitive/cli.py,sha256=VQPSewC6ouGdEG9W1gllawGJTydpOY0Lzg7LURXcqQg,2374
|
4
4
|
primitive/client.py,sha256=vSJkifx450czuLvu0f2o-viSCC0p2f1UicA-2P5cJAw,2188
|
5
5
|
primitive/agent/actions.py,sha256=d_garPm3rl5uMEu-g681yMYEnBqfUDeEPeeKl_VEd64,5489
|
6
6
|
primitive/agent/commands.py,sha256=-dVDilELfkGfbZB7qfEPs77Dm1oT62qJj4tsIk4KoxI,254
|
7
|
-
primitive/agent/process.py,sha256=
|
8
|
-
primitive/agent/runner.py,sha256=
|
7
|
+
primitive/agent/process.py,sha256=UckQWxj-JL_Su5tvFXXYcFCeAQMao_k2-RVFYPSj5A0,2328
|
8
|
+
primitive/agent/runner.py,sha256=rsJmK2nwCrTQ61AwWlWA34I9AqsQLf_QR5HqtT6Ikpw,4913
|
9
9
|
primitive/agent/uploader.py,sha256=ngbynmQzxKVNMp7VWkTWW7vZIN_rnnRzYC6OAL21n1k,1378
|
10
10
|
primitive/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
primitive/auth/actions.py,sha256=2vZEC3LLAXj6eBBmt_2OEDEcBIb3uLkkNjgbZTIaQsY,1095
|
@@ -45,8 +45,8 @@ primitive/utils/memory_size.py,sha256=4xfha21kW82nFvOTtDFx9Jk2ZQoEhkfXii-PGNTpIU
|
|
45
45
|
primitive/utils/printer.py,sha256=f1XUpqi5dkTL3GWvYRUGlSwtj2IxU1q745T4Fxo7Tn4,370
|
46
46
|
primitive/utils/shell.py,sha256=-7UjQaBqSGHzEEyX8pNjeYFFP0P3lVnDV0OkgPz1qHU,1050
|
47
47
|
primitive/utils/verible.py,sha256=r7c_hfqvL0UicMmIzK3Cy_BfZI1ZpcfBeLqKEWFWqJo,2252
|
48
|
-
primitive-0.1.
|
49
|
-
primitive-0.1.
|
50
|
-
primitive-0.1.
|
51
|
-
primitive-0.1.
|
52
|
-
primitive-0.1.
|
48
|
+
primitive-0.1.46.dist-info/METADATA,sha256=8Yz7jh7AsSAH4LMXFrThBpKJYnSVMlknw2rq664pn0U,3782
|
49
|
+
primitive-0.1.46.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
50
|
+
primitive-0.1.46.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
|
51
|
+
primitive-0.1.46.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
|
52
|
+
primitive-0.1.46.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|