Ejemplo n.º 1
0
    def compile(self, context):
        dr = DetectorReport()
        docker_node = dr.create_node("Dockerfile.j2")
        docker_node.register_detector(PhpVersionDetector())

        docker_compose_node = dr.create_node("docker-compose.yml.j2")
        docker_compose_node.register_detector(ImageRepoDetector())

        jenkins_file_node = dr.create_node("Jenkinsfile.j2")
        jenkins_file_node.register_detector(ImageRepoDetector())
        return dr.generate_report()
Ejemplo n.º 2
0
    def compile(self, context):
        dc = DetectorReport()
        dn = dc.create_node("Dockerfile.j2")
        dn.register_detector(GolangVersionDetector())
        dn.register_detector(PackageNameDetector())

        jn = dc.create_node("Jenkinsfile.j2")
        jn.register_detector(ImageRepoDetector())

        dcn = dc.create_node("docker-compose.yml.j2")
        dcn.register_detector(ImageRepoDetector())
        return dc.generate_report()
Ejemplo n.º 3
0
    def compile(self, context):
        dr = DetectorReport()
        docker_node = dr.create_node("Dockerfile.j2")
        docker_node.register_detector(NodeVersionDetector())

        docker_compose_node = dr.create_node("docker-compose.yml.j2")
        docker_compose_node.register_detector(ImageRepoDetector())

        jenkins_file_node = dr.create_node("Jenkinsfile.j2")
        jenkins_file_node.register_detector(ImageRepoDetector())

        derrick_deployment_file_node = dr.create_node("derrick-deployment.yaml.j2")
        derrick_deployment_file_node.register_detector(ImageRepoDetector())
        derrick_deployment_file_node.register_detector(DerrickDetector())

        return dr.generate_report()
Ejemplo n.º 4
0
    def compile(self, context):
        dr = DetectorReport()
        dn = dr.create_node("Dockerfile.j2")
        dn.register_detector(GolangVersionDetector())
        dn.register_detector(PackageNameDetector())

        jn = dr.create_node("Jenkinsfile.j2")
        jn.register_detector(ImageRepoDetector())

        dcn = dr.create_node("docker-compose.yml.j2")
        dcn.register_detector(ImageRepoDetector())

        derrick_deployment_file_node = dr.create_node(
            "kubernetes-deployment.yaml.j2")
        derrick_deployment_file_node.register_detector(ImageRepoDetector())
        derrick_deployment_file_node.register_detector(DerrickDetector())

        return dr.generate_report()
Ejemplo n.º 5
0
    def compile(self, context):
        dr = DetectorReport()
        docker_node = dr.create_node("Dockerfile.j2")
        docker_node.register_detector(PythonVersionDetector())
        docker_node.register_detector(PythonPakcageManager())
        docker_node.register_detector(PythonFrameworkDetector())

        docker_compose_node = dr.create_node("docker-compose.yml.j2")
        docker_compose_node.register_detector(ImageRepoDetector())

        jenkins_file_node = dr.create_node("Jenkinsfile.j2")
        jenkins_file_node.register_detector(ImageRepoDetector())

        derrick_deployment_file_node = dr.create_node(
            "kubernetes-deployment.yaml.j2")
        derrick_deployment_file_node.register_detector(ImageRepoDetector())
        derrick_deployment_file_node.register_detector(DerrickDetector())

        return dr.generate_report()