Skip to content

Commit

Permalink
Ploigos rename:
Browse files Browse the repository at this point in the history
- fix relative module paths to absolute
  • Loading branch information
itewk committed Dec 18, 2020
1 parent 4c2f174 commit 3d080ea
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 29 deletions.
10 changes: 5 additions & 5 deletions src/ploigos_step_runner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@

import __main__

from .exceptions import StepRunnerException
from .step_implementer import DefaultSteps, StepImplementer
from .step_result import StepResult
from .step_runner import StepRunner
from .workflow_result import WorkflowResult
from ploigos_step_runner.exceptions import StepRunnerException
from ploigos_step_runner.step_implementer import DefaultSteps, StepImplementer
from ploigos_step_runner.step_result import StepResult
from ploigos_step_runner.step_runner import StepRunner
from ploigos_step_runner.workflow_result import WorkflowResult
2 changes: 1 addition & 1 deletion src/ploigos_step_runner/config/decryptors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Decryptors for configuration values.
"""

from .sops import SOPS
from ploigos_step_runner.config.decryptors.sops import SOPS
3 changes: 1 addition & 2 deletions src/ploigos_step_runner/step_implementers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"""
com.redhat.ploigos_step_runner.step_implementers
"""StepImplementer implementations.
"""
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""`StepImplementers` for the `container-image-static-compliance-scan` step.
"""

from .openscap import OpenSCAP
from ploigos_step_runner.step_implementers.container_image_static_compliance_scan.\
openscap import OpenSCAP
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""`StepImplementers` for the `container-image-static-vulnerability-scan` step.
"""

from .openscap import OpenSCAP
from ploigos_step_runner.step_implementers.container_image_static_vulnerability_scan.\
openscap import OpenSCAP
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `create-container-image` step.
"""

from .buildah import Buildah
from ploigos_step_runner.step_implementers.create_container_image.buildah import Buildah
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `deploy` step.
"""

from .argocd import ArgoCD
from ploigos_step_runner.step_implementers.deploy.argocd import ArgoCD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""`StepImplementers` for the `generate-metadata` step.
"""

from .git import Git
from .maven import Maven
from .npm import Npm
from .semantic_version import SemanticVersion
from ploigos_step_runner.step_implementers.generate_metadata.git import Git
from ploigos_step_runner.step_implementers.generate_metadata.maven import Maven
from ploigos_step_runner.step_implementers.generate_metadata.npm import Npm
from ploigos_step_runner.step_implementers.generate_metadata.semantic_version import SemanticVersion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `package` step.
"""

from .maven import Maven
from ploigos_step_runner.step_implementers.package.maven import Maven
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `push-artifacts` step.
"""

from .maven import Maven
from ploigos_step_runner.step_implementers.push_artifacts.maven import Maven
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `push-container-image` step.
"""

from .skopeo import Skopeo
from ploigos_step_runner.step_implementers.push_container_image.skopeo import Skopeo
4 changes: 2 additions & 2 deletions src/ploigos_step_runner/step_implementers/shared/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""StepImplementer parent classes that are shared accross multiple steps.
"""

from .maven_generic import MavenGeneric
from .openscap_generic import OpenSCAPGeneric
from ploigos_step_runner.step_implementers.shared.maven_generic import MavenGeneric
from ploigos_step_runner.step_implementers.shared.openscap_generic import OpenSCAPGeneric
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""`StepImplementers` for the `sign-container-image` step.
"""

from .curl_push import CurlPush
from .podman_sign import PodmanSign
from ploigos_step_runner.step_implementers.sign_container_image.curl_push import CurlPush
from ploigos_step_runner.step_implementers.sign_container_image.podman_sign import PodmanSign
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `static-code-analysis` step.
"""

from .sonarqube import SonarQube
from ploigos_step_runner.step_implementers.static_code_analysis.sonarqube import SonarQube
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `tag-source` step.
"""

from .git import Git
from ploigos_step_runner.step_implementers.tag_source.git import Git
2 changes: 1 addition & 1 deletion src/ploigos_step_runner/step_implementers/uat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""`StepImplementers` for the `uat` (User Acceptance Tests) step.
"""

from .maven_selenium_cucumber import MavenSeleniumCucumber
from ploigos_step_runner.step_implementers.uat.maven_selenium_cucumber import MavenSeleniumCucumber
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""`StepImplementers` for the `unit-test` step.
"""
from .maven import Maven
from ploigos_step_runner.step_implementers.unit_test.maven import Maven
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"""`StepImplementers` for the `validate-environment-configuration` step.
"""
from .configlint import Configlint
from .configlint_from_argocd import ConfiglintFromArgocd
from ploigos_step_runner.step_implementers.validate_environment_configuration.\
configlint import Configlint
from ploigos_step_runner.step_implementers.validate_environment_configuration.\
configlint_from_argocd import ConfiglintFromArgocd
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ commands =
coverage report --fail-under=100

[testenv:lint]
skip_install = True
deps =
pylint
flake8
Expand Down

0 comments on commit 3d080ea

Please sign in to comment.