pypeline-runner 1.8.0__tar.gz → 1.8.1__tar.gz

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.
Files changed (32) hide show
  1. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/PKG-INFO +1 -1
  2. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/pyproject.toml +1 -1
  3. pypeline_runner-1.8.1/src/pypeline/__init__.py +1 -0
  4. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/execution_context.py +3 -1
  5. pypeline_runner-1.8.0/src/pypeline/__init__.py +0 -1
  6. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/LICENSE +0 -0
  7. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/README.md +0 -0
  8. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/__run.py +0 -0
  9. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/__init__.py +0 -0
  10. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/artifacts.py +0 -0
  11. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/config.py +0 -0
  12. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/pipeline.py +0 -0
  13. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/domain/project_slurper.py +0 -0
  14. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/__init__.py +0 -0
  15. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/create.py +0 -0
  16. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/.gitignore +0 -0
  17. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/bootstrap.ps1 +0 -0
  18. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/bootstrap.py +0 -0
  19. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/poetry.toml +0 -0
  20. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/pypeline.ps1 +0 -0
  21. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/pypeline.yaml +0 -0
  22. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/pyproject.toml +0 -0
  23. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/scoopfile.json +0 -0
  24. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/steps/my_step.py +0 -0
  25. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/kickstart/templates/project/west.yaml +0 -0
  26. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/main.py +0 -0
  27. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/py.typed +0 -0
  28. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/pypeline.py +0 -0
  29. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/steps/__init__.py +0 -0
  30. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/steps/create_venv.py +0 -0
  31. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/steps/scoop_install.py +0 -0
  32. {pypeline_runner-1.8.0 → pypeline_runner-1.8.1}/src/pypeline/steps/west_install.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pypeline-runner
3
- Version: 1.8.0
3
+ Version: 1.8.1
4
4
  Summary: Configure and execute pipelines with Python (similar to GitHub workflows or Jenkins pipelines).
5
5
  License: MIT
6
6
  Author: cuinixam
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypeline-runner"
3
- version = "1.8.0"
3
+ version = "1.8.1"
4
4
  description = "Configure and execute pipelines with Python (similar to GitHub workflows or Jenkins pipelines)."
5
5
  authors = ["cuinixam <me@cuinixam.com>"]
6
6
  license = "MIT"
@@ -0,0 +1 @@
1
+ __version__ = "1.8.1"
@@ -24,7 +24,9 @@ class ExecutionContext:
24
24
  # Add the install directories to the PATH
25
25
  env = os.environ.copy()
26
26
  env["PATH"] = os.pathsep.join([path.absolute().as_posix() for path in self.install_dirs] + [env["PATH"]])
27
- return SubprocessExecutor(command, cwd=cwd, env=env, shell=True) # noqa: S604
27
+ # When started from a windows shell (e.g. cmd on Jenkins) the shell parameter must be set to True
28
+ shell = True if os.name == "nt" else False
29
+ return SubprocessExecutor(command, cwd=cwd, env=env, shell=shell)
28
30
 
29
31
  def create_artifacts_locator(self) -> ProjectArtifactsLocator:
30
32
  return ProjectArtifactsLocator(self.project_root_dir)
@@ -1 +0,0 @@
1
- __version__ = "1.8.0"
File without changes