This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 01 Oct, 2018 1 commit
  2. 28 Sep, 2018 1 commit
    • Michelle Nguyen's avatar
      PL-15 Setup scripts for dev environment · 05a6efa0
      Michelle Nguyen authored
      Summary:
      - Added minikube to list of packages that brew should install
      - Added "env-start" to Makefile, which starts up minikube and runs docker
      - Added "env-stop" to Makefile, which stops minikube
      - Added "env-teardown" to Makefile, which stops minikube and deletes it
      
      Test Plan:
      Ran the following (with changes from D41):
      1. make env-start
      2. cd /pl/src/pixielabs.ai/pixielabs && skaffold dev
      3. Exited skaffold/docker
      4. make env-stop
      
      Reviewers: zasgar, kgandhi
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D42
      
      GitOrigin-RevId: f1f43c8d8f72d2c13b468a4d3df770d90a7a2626
      05a6efa0
  3. 24 Sep, 2018 1 commit
  4. 27 Sep, 2018 2 commits
    • Zain Asgar's avatar
      Add k8s and skaffold build environment. · b800c4e9
      Zain Asgar authored
      Summary:
      First pass at adding this in. @michelle is working on some scripts to make build/test scripts cleaner.
      
      Also, edited the go client to loop to prevent race conditions with service start.
      
      Test Plan:
      On a Linux machine:
      1. `minikube start --cpus 6 --memory 8192 --profile=zdev`
      2. `eval $(minikube docker-env --profile=zdev`
      3. `skaffold dev`
      
      On a mac machine:
      1. `brew install minikube`
      2. `minikube start --cpus 6 --memory 8192`
      3.  `eval $(minikube docker-env)`
      4.
      
      ```
      docker run --rm -it \
             -v ~/.config:/root/.config \
             -v $HOME/.minikube:/root/.minikube \
             -v $HOME/.kube:/root/.kube \
             -v /var/run/docker.sock:/var/run/docker.sock \
             -v $HOME/.minikube:$HOME/.minikube \
             -v $GOPATH/src/pixielabs.ai:/pl/src/pixielabs.ai \
             gcr.io/pl-dev-infra/dev_image_with_extras:201809261551 \
             bash
      ```
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle
      
      Subscribers: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D41
      
      GitOrigin-RevId: 6e8bb2546ade49e4ed2e1f36d5aef7c6a918e041
      b800c4e9
    • Zain Asgar's avatar
      Setup bazel version 0.17.2 and also add Skaffold · cc5625f7
      Zain Asgar authored
      Summary:
      We need updated bazel so that .bazelignore files work.
      We use skaffold for the dev environment.
      
      Test Plan: Run container and make sure builds work.
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D40
      
      GitOrigin-RevId: 5d585538be606bea4c07aadfc9922ef69fd2440d
      cc5625f7
  5. 26 Sep, 2018 1 commit
    • Kaushal Gandhi's avatar
      PL-18: Adding proto file for host system information · 6f7f0fb3
      Kaushal Gandhi authored
      Summary:
      Adding a protofile for host system information. This defines the API we
      will use for the smoke tests. The API has separate messages for the host system,
      os information, and checks to be made.
      
      Test Plan: Builds should pass
      
      Reviewers: zasgar, michelle
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D39
      
      GitOrigin-RevId: aea363450eea169399e1bc6fe9d924aca333385e
      6f7f0fb3
  6. 24 Sep, 2018 1 commit
  7. 11 Sep, 2018 1 commit
    • Kaushal Gandhi's avatar
      T9: Setting up cobra for CLI so that we can run smoke tests on target systems · e3da68ba
      Kaushal Gandhi authored
      Summary: Adding command line tools for smoke tests. Added version and help for now.
      
      Test Plan:
      1. Builds should pass with platform-dependent folder excluded
      2. The following commands should work:
      ## bazel run //platform-dependent/smoke-test:smoke-test
      ## bazel run //platform-dependent/smoke-test:smoke-test -- -h
      ## bazel run //platform-dependent/smoke-test:smoke-test -- --version
      
      Reviewers: zasgar, michelle
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D33
      
      GitOrigin-RevId: 7fb906fb6783a5a153ab5c0d2e3c06be0647000b
      e3da68ba
  8. 06 Sep, 2018 2 commits
    • Zain Asgar's avatar
      Add kernel headers to the docker image · 87522df7
      Zain Asgar authored
      Summary:
      This will allow us to build eBPF code.
      
      The headers are currently pegged at kernel 4.15.1 which is the version used in our dev and jenkins env.
      We need to figure out our deploy story in the future.
      
      Test Plan: Start docker container, check headers exist in /usr/linux-headers.
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D32
      
      GitOrigin-RevId: 513509a47785e76062c12e64b1289693e31b349d
      87522df7
    • Michelle Nguyen's avatar
      Add Configuration Stream to controller proto · 5413afd1
      Michelle Nguyen authored
      Summary:
      The agent should be able to open up a bi-directional stream between itself and the controller. The agent will send keep-alive data, while the controller will send updates to the agent's configuration.
      Actual implementation of the ConfigureAgent function to come.
      
      Test Plan: Ran `build bazel` to make sure everything builds correctly.
      
      Reviewers: zasgar, kgandhi
      
      Reviewed By: zasgar
      
      Maniphest Tasks: T3
      
      Differential Revision: https://phab.corp.pixielabs.ai/D31
      
      GitOrigin-RevId: 3f906aaccb4653e7bf71992a2af7dbc7821f253d
      5413afd1
  9. 31 Aug, 2018 2 commits
    • Zain Asgar's avatar
      Add ignore for .bazel-cache and allow for a workspace .bazelrc file. · 377ec11f
      Zain Asgar authored
      Summary:
      A sample .bazelrc files looks like:
      ```
      build --disk_cache=.bazel-cache
      build --show_progress --experimental_ui
      build --announce_rc
      build --verbose_failures
      build --jobs=8
      ```
      
      Test Plan: Make sure git ignores that file.
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D30
      
      GitOrigin-RevId: 5d8f734ee76cabcf8a05d86fe3a174a76a7aeaa7
      377ec11f
    • Michelle Nguyen's avatar
      Controller server implementation · ad0dd70b
      Michelle Nguyen authored
      Summary:
      Fill out implementation for the controller's basic RegisterAgent and ProcessData functions.
      RegisterAgent just generates a uuid for the agent, and stores the agent's host config in memory in a map.
      ProcessData accepts streaming data from the agent and writes the data into a file under the agent's uuid.
      
      Test Plan: Unit test for RegisterAgent and ProcessData.
      
      Reviewers: zasgar, kgandhi
      
      Reviewed By: zasgar
      
      Maniphest Tasks: T3
      
      Differential Revision: https://phab.corp.pixielabs.ai/D29
      
      GitOrigin-RevId: dd69f432d0227e02258daff589c2080f7319abce
      ad0dd70b
  10. 29 Aug, 2018 2 commits
  11. 22 Aug, 2018 3 commits
    • Zain Asgar's avatar
      Move some of the scripts to yarn. · 86f29c32
      Zain Asgar authored
      Summary: More standard UI flow.
      
      Test Plan: yarn install, yarn build_dev, yarn dev
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D27
      
      GitOrigin-RevId: 4ff9aeb92fb055c99f4a2325b699c4b22f96234c
      86f29c32
    • Zain Asgar's avatar
      Basic UI infrastructure · 78bbc956
      Zain Asgar authored
      Summary:
      Based on create-react-project.
      Add support for webpack based react project:
        - Hot module reloading
        - Typescript
        - SASS
        - Packaging of images/other resources.
        - vendor bundle splitting
        - archiving
      
      Unit testing sample is included and is done with Jest + Enzyme.
      Bazel wrapper rule is included, but yarn based commands should work as expected.
      
      Test Plan:
      ```
        cd ui
        ./node_modules/.bin/webpack
      
        or
        ./node_modules/.bin/webpack-dev-server
      
        or
        ./node_modules/.bin/jest
      
        or
        ./node_modules/.bin/jest --watch
      ```
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D25
      
      GitOrigin-RevId: 5e4f02dbdcd49171dc0c06f8ef20e12375eaf44a
      78bbc956
    • Zain Asgar's avatar
      Add linting to Jenkins · 965c2044
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: Jenkins
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D24
      
      GitOrigin-RevId: c38cd6092df83402190eb59cf31dc6b64aa3251b
      965c2044
  12. 16 Aug, 2018 1 commit
    • Zain Asgar's avatar
      Jenkins + Docker · 62f5992c
      Zain Asgar authored
      Summary:
      This introduces docker images into our Jenkins build process. Specifically four docker images are used:
      
      base_image: This has the base setup that is used by all our build (ie. prod and dev).
      base_dev_image: This is the base developer image. It has all the things needed to build, but nothing to debug.
      dev_image: This is meant for short term changes, with the expectation that things eventually move into the base_dev_image as needed.
      dev_image_with_extras: This has debug tools on top of the dev_image.
      
      Jenkins will always use the dev_image to do the builds. There is a makefile that helps helps generate the docker images in the <TOT>/docker folder. ```make help``` has the usage information.
      
      Test Plan: Run the build in Jenkins.
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: kgandhi
      
      Maniphest Tasks: T1
      
      Differential Revision: https://phab.corp.pixielabs.ai/D23
      
      GitOrigin-RevId: 589284736bfa1bffb941e077cd6a4a17e3252f57
      62f5992c
  13. 15 Aug, 2018 6 commits
    • Zain Asgar's avatar
      Fix double proto build definition. · d65a28e2
      Zain Asgar authored
      Summary: Proto compile was defined twice causing make build to fail.
      
      Test Plan:
      ```
      make build
      ```
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: michelle
      
      Maniphest Tasks: T2
      
      Differential Revision: https://phab.corp.pixielabs.ai/D22
      
      GitOrigin-RevId: aea203f73c55de0cdcedef5220e3abf0e088f36b
      d65a28e2
    • Zain Asgar's avatar
      Basic CC GRPC service · 203e5676
      Zain Asgar authored
      Summary: Added CC GRPC example and tested.
      
      Test Plan:
      ```
      bazel build //throwaway/cc-grpc-service:greeter_server
      
      bazel run //throwaway/golang-grpc-service/greeter_client:greeter_client
      ```
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: kgandhi
      
      Maniphest Tasks: T2
      
      Differential Revision: https://phab.corp.pixielabs.ai/D21
      
      GitOrigin-RevId: fff56862eef8ddb47e947c0ede0e352e56a2cffa
      203e5676
    • Zain Asgar's avatar
      Add GO dependency management and build system including support for GRPC · 093adb86
      Zain Asgar authored
      Summary:
      This is the basics of GO builds.
      Will write up a document for this soon, when things stabalize a bit.
      
      We also need to add some validation to make sure that the wrong proto library does not get used (we only use gogo)
      and that it will auto-complete correctly in IDEs.
      
      Test Plan:
      ```
      make clean
      
      make help
      
      make build
      
      bazel run //throwaway/golang-grpc-service/greeter_server:greeter_server
      
      (in another window)
      bazel run //throwaway/golang-grpc-service/greeter_client:greeter_client
      ```
      
      Reviewers: kgandhi, michelle
      
      Reviewed By: kgandhi
      
      Maniphest Tasks: T2
      
      Differential Revision: https://phab.corp.pixielabs.ai/D20
      
      GitOrigin-RevId: 9360b845f7f291db517ed635c0f33644fd2ff480
      093adb86
    • Zain Asgar's avatar
      Add CC build to bazel · e137f4dc
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: bazel test //...
      
      Reviewers: kgandhi, michelle
      
      Reviewed By: kgandhi
      
      Maniphest Tasks: T2
      
      Differential Revision: https://phab.corp.pixielabs.ai/D19
      
      GitOrigin-RevId: 70124bbbece90aec4726848af59a1bb97dbbeb01
      e137f4dc
    • Zain Asgar's avatar
      T2 - Add basic golang support to build. · 26d03715
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: `bazel run //throwaway:throwaway`
      
      Reviewers: michelle, kgandhi
      
      Reviewed By: kgandhi
      
      Maniphest Tasks: T2
      
      Differential Revision: https://phab.corp.pixielabs.ai/D18
      
      GitOrigin-RevId: 22ecf55985ac6ff2270e4b76eeff559b4da71492
      26d03715
    • Zain Asgar's avatar
      Added sublime project file · 0448d5db
      Zain Asgar authored
      Summary: Added basic sublime-project file. We can add ignore paths in it later as needed.
      
      Test Plan: Open using sublime.
      
      Reviewers: kgandhi, michelle
      
      Reviewed By: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D17
      
      GitOrigin-RevId: 18bea3f0363be1d13c38ba36df537c91f4876e0d
      0448d5db
  14. 14 Aug, 2018 1 commit
  15. 06 Aug, 2018 2 commits
  16. 25 Jun, 2018 6 commits
  17. 24 Jun, 2018 1 commit
    • Zain Asgar's avatar
      test commit · 6e5c9880
      Zain Asgar authored
      Summary: testing phab jenkins
      
      Test Plan: N/A
      
      Reviewers: zasgar
      
      Reviewed By: zasgar
      
      Subscribers: jenkins
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3
      
      GitOrigin-RevId: 82d3924edbf9ef0eb7e3811ddf9ab6860d34aa03
      6e5c9880
  18. 23 Jun, 2018 3 commits