Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-5002

voltha-protos: cleanup install directory

    XMLWordPrintable

    Details

    • Type: Task
    • Status: To Do (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None
    • Story Points:
      0

      Description

      https://jenkins.opencord.org/job/verify_voltha-protos_unit-test/607/console

       

      Update voltha-protos makefile *-proto targets to be more selective about files copied into the installation directory

      Install seems to be a blind recursive copy, everything is in here...

       

      % make go-protos

      Install beneath /go/src

       

      Targets java-protos and python-protos likely have similar cruft accumulation.

       

      17:47:36 
      17:47:36 ** -----------------------------------------------------------------------
      17:47:36 ** make: processing target [go-protos]
      17:47:36 ** Creating *.go.pb files
      17:47:36 ** -----------------------------------------------------------------------
      17:47:36 docker --debug run --rm --user $(id -u):$(id -g) -v /w/workspace/verify_voltha-protos_unit-test/voltha-protos:/go/src/github.com/opencord/voltha-protos/v5  --tty --workdir=/go/src/github.com/opencord/voltha-protos/v5 voltha/voltha-ci-tools:2.4.0-protoc sh -c
      

       

      .tox/ testing directory

      17:47:37 -rw-rw-r--    1 1001     1001          7734 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/api.proto
      17:47:37 drwxrwxr-x    2 1001     1001          4096 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/compiler
      17:47:37 -rw-rw-r--    1 1001     1001          8754 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/compiler/plugin.proto
      17:47:37 -rw-rw-r--    1 1001     1001         37969 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/descriptor.proto
      17:47:37 -rw-rw-r--    1 1001     1001          2429 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/empty.proto
      17:47:37 -rw-rw-r--    1 1001     1001          8185 May 30 21:47 /go/src/github.com/opencord/voltha-protos/v5/.tox/3.10.6/lib/python3.6/site-packages/grpc_tools/_proto/google/protobuf/field_mask.proto
      

       

      Python interpreter, virtual env install

      17:47:37 -rw-rw-r--    1 1001     1001           609 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/bytecode.py
      17:47:37 -rw-rw-r--    1 1001     1001         30703 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/cmdline.py
      17:47:37 -rw-rw-r--    1 1001     1001         19169 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/collector.py
      17:47:37 -rw-rw-r--    1 1001     1001         19710 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/config.py
      17:47:37 -rw-rw-r--    1 1001     1001          2142 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/context.py
      17:47:37 -rw-rw-r--    1 1001     1001         43669 May 30 21:36 /go/src/github.com/opencord/voltha-protos/v5/.venv/lib/python3.6/site-packages/coverage/control.py
      

       

      Revision control directory ?!?

      17:47:37 drwxrwxr-x    2 1001     1001          4096 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/0.1.0
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/0.1.1
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/0.1.2
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/0.1.3
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/0.1.4
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/1.0.0
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/1.0.1
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/1.0.2
      17:47:37 -rw-rw-r--    1 1001     1001            41 May 30 21:35 /go/src/github.com/opencord/voltha-protos/v5/.git/refs/tags/v1.0.3

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            joey Joey Armstrong
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes