primitive 0.1.43__py3-none-any.whl → 0.1.45__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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2024-present Dylan Stein <dylan@primitive.tech>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.1.43"
4
+ __version__ = "0.1.45"
primitive/agent/runner.py CHANGED
@@ -116,7 +116,7 @@ class AgentRunner:
116
116
 
117
117
  sleep(5)
118
118
 
119
- result = proc.finish()
119
+ returncode = proc.finish()
120
120
  total_errors += proc.errors
121
121
 
122
122
  # Collect artifacts
@@ -124,13 +124,14 @@ class AgentRunner:
124
124
  self.collect_artifacts(step)
125
125
 
126
126
  # Check if we have a good result
127
- if not result:
127
+ if returncode > 0:
128
128
  conclusion = "failure"
129
129
  break
130
130
 
131
131
  if not conclusion and total_errors == 0:
132
132
  conclusion = "success"
133
133
  else:
134
+ logger.error(f"Job failed with {total_errors} errors.")
134
135
  conclusion = "failure"
135
136
 
136
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.43
3
+ Version: 0.1.45
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=YklF1keV1vCyQo_uNwk--eDN6QwIj3ctSf07DaJzbLs,130
1
+ primitive/__about__.py,sha256=C_iWoGC16I5cjedSBLgeA99Ue4OI3fM0FPFVM92HZXI,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
7
  primitive/agent/process.py,sha256=hYjjZL1DoUUVDJmORewYfLhWptLX_4e47DVW1i0PrKw,2252
8
- primitive/agent/runner.py,sha256=TfKLhnUWNCBQsKWLq_9blRFQfPEMpMbyEAkSyljbc1k,4837
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.43.dist-info/METADATA,sha256=jErWGc4yCZPv_-JA2ojKFrb5FYmf2D3GqMXMokujIXk,3782
49
- primitive-0.1.43.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
50
- primitive-0.1.43.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
51
- primitive-0.1.43.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
52
- primitive-0.1.43.dist-info/RECORD,,
48
+ primitive-0.1.45.dist-info/METADATA,sha256=81t7v7uY-HJeMh1bIaXujdFYlW2M_EuRFhiua84PwFs,3782
49
+ primitive-0.1.45.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
50
+ primitive-0.1.45.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
51
+ primitive-0.1.45.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
52
+ primitive-0.1.45.dist-info/RECORD,,