primitive 0.1.25__py3-none-any.whl → 0.1.26__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@steins.studio>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.1.25"
4
+ __version__ = "0.1.26"
@@ -142,15 +142,18 @@ class Agent(BaseAction):
142
142
  yaml_config = yaml.load(
143
143
  open(yaml_config_path, "r"), Loader=Loader
144
144
  )
145
- run_script_path = generate_script_from_yaml(
146
- yaml_config,
147
- slug=job_run["job"]["slug"],
148
- destination=source_dir,
149
- )
150
- cmd = (
151
- "/bin/bash",
152
- str(run_script_path.resolve()),
153
- )
145
+
146
+ job_slug = job_run["job"]["slug"]
147
+ if job_slug in yaml_config:
148
+ run_script_path = generate_script_from_yaml(
149
+ yaml_config,
150
+ slug=job_slug,
151
+ destination=source_dir,
152
+ )
153
+ cmd = (
154
+ "/bin/bash",
155
+ str(run_script_path.resolve()),
156
+ )
154
157
 
155
158
  match job_run["job"]["slug"]:
156
159
  case "lint":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: primitive
3
- Version: 0.1.25
3
+ Version: 0.1.26
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,8 +1,8 @@
1
- primitive/__about__.py,sha256=i0NlPJ8V0aw-MeG6oFFKWul3Sxet8naZe6kx_IfGXqM,129
1
+ primitive/__about__.py,sha256=a19O8WnOn3ROV23kEwlS3xrir42FlkaB8Dr-YizwN3M,129
2
2
  primitive/__init__.py,sha256=bwKdgggKNVssJFVPfKSxqFMz4IxSr54WWbmiZqTMPNI,106
3
3
  primitive/cli.py,sha256=VQPSewC6ouGdEG9W1gllawGJTydpOY0Lzg7LURXcqQg,2374
4
4
  primitive/client.py,sha256=SFPG4H2wJao8euGdnYp-l7dk_fDpWeVn2aT2WNJUAqo,2370
5
- primitive/agent/actions.py,sha256=fAuQmd5Z8FX3w1AiwLd4a_PPuBynzmdiWRmWA9ftn-8,8632
5
+ primitive/agent/actions.py,sha256=8W1T1fLQ4ArDI2BE1q1DuI7zt_2GuCjw2jYQOc0KRY0,8765
6
6
  primitive/agent/commands.py,sha256=-dVDilELfkGfbZB7qfEPs77Dm1oT62qJj4tsIk4KoxI,254
7
7
  primitive/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  primitive/auth/actions.py,sha256=N2bGcwXNsB89pzs66gF9A5_WzUScY5fhfOyWixqo2y8,1054
@@ -42,8 +42,8 @@ primitive/utils/printer.py,sha256=f1XUpqi5dkTL3GWvYRUGlSwtj2IxU1q745T4Fxo7Tn4,37
42
42
  primitive/utils/shell.py,sha256=-7UjQaBqSGHzEEyX8pNjeYFFP0P3lVnDV0OkgPz1qHU,1050
43
43
  primitive/utils/verible.py,sha256=QYczN1IvxODfj4jeq0nqjFuF0Oi0Zdx-Q32ySOJgcw8,2205
44
44
  primitive/utils/yaml.py,sha256=4UP_9MXHoNb9_SCeUDm9xqYg9sHltqpVhNgsY6GNfb8,527
45
- primitive-0.1.25.dist-info/METADATA,sha256=5NMhuWAXJ8_TyFlU18X_tye-uGgziJhnodXBhRCviQg,1840
46
- primitive-0.1.25.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
47
- primitive-0.1.25.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
48
- primitive-0.1.25.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
49
- primitive-0.1.25.dist-info/RECORD,,
45
+ primitive-0.1.26.dist-info/METADATA,sha256=XxG6yVdKBVXh1YSM5Nj0lifEsEkGJTS5Gi5cGbETSVA,1840
46
+ primitive-0.1.26.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
47
+ primitive-0.1.26.dist-info/entry_points.txt,sha256=p1K8DMCWka5FqLlqP1sPek5Uovy9jq8u51gUsP-z334,48
48
+ primitive-0.1.26.dist-info/licenses/LICENSE.txt,sha256=B8kmQMJ2sxYygjCLBk770uacaMci4mPSoJJ8WoDBY_c,1098
49
+ primitive-0.1.26.dist-info/RECORD,,