primitive 0.1.42__py3-none-any.whl → 0.1.44__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.42"
4
+ __version__ = "0.1.44"
primitive/agent/runner.py CHANGED
@@ -120,16 +120,19 @@ class AgentRunner:
120
120
  total_errors += proc.errors
121
121
 
122
122
  # Collect artifacts
123
- self.collect_artifacts(step)
123
+ if "artifacts" in step:
124
+ self.collect_artifacts(step)
124
125
 
125
126
  # Check if we have a good result
126
127
  if not result:
128
+ logger.info(f"Job failed: {result}")
127
129
  conclusion = "failure"
128
130
  break
129
131
 
130
132
  if not conclusion and total_errors == 0:
131
133
  conclusion = "success"
132
134
  else:
135
+ logger.info(f"Job failed, number of errors: {total_errors}")
133
136
  conclusion = "failure"
134
137
 
135
138
  self.primitive.jobs.job_run_update(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: primitive
3
- Version: 0.1.42
3
+ Version: 0.1.44
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=u-DLawECAKKaoy1KSShRxS80LNVKSj_ljkAxbM6sQvw,130
1
+ primitive/__about__.py,sha256=eCjk6mOnVCCBa9X77fNe9aZ0ysspKIR87_jlCVWpVhA,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=NRuZXuGnnbK3br4GmnF5JS1T2mKznDu5T2xkVfFxFQU,4797
8
+ primitive/agent/runner.py,sha256=jkeOEpvh-jcXV1IS5RupiXh1d_mHpsrlS9foN-gAGzo,4963
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.42.dist-info/METADATA,sha256=yubLi_ubmuVzT-AjHYPa3zw15GxOcNbrPyxvdyue6gc,3782
49
- primitive-0.1.42.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
50
- primitive-0.1.42.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
51
- primitive-0.1.42.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
52
- primitive-0.1.42.dist-info/RECORD,,
48
+ primitive-0.1.44.dist-info/METADATA,sha256=z5ImzTPezggbJslbsEuGlEYSEQzHOLcLKe4Gat0vkoQ,3782
49
+ primitive-0.1.44.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
50
+ primitive-0.1.44.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
51
+ primitive-0.1.44.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
52
+ primitive-0.1.44.dist-info/RECORD,,