Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github actions: add integration tests for nydus #535

Merged
merged 8 commits into from
Jun 28, 2022

Commits on Jun 28, 2022

  1. Add integration test for nydus

    This integration tests covers nydusd and nydus-image as well as
    nydusify, nydus-snapshotter.
    
    Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
    liubogithub authored and yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    a8e7b0f View commit details
    Browse the repository at this point in the history
  2. contrib/nydus-test: fix ossutil bin

    Instead of hardcoding the path of ossutil binary, this allows the
    tests to read binary path from the anchor file.
    
    Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
    liubogithub authored and yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    305b4a1 View commit details
    Browse the repository at this point in the history
  3. contrib/nydus-test: skip test_backend_swap

    test_backend_swap failed for some unknown reasons, skip it for now.
    
    Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
    liubogithub authored and yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    5ebc38e View commit details
    Browse the repository at this point in the history
  4. Workflow: add integration test for Nydus

    This adds a new action to run nydus integration test.
    
    Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
    liubogithub authored and yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    23faad3 View commit details
    Browse the repository at this point in the history
  5. workflow: avoid timeout in integration test

    This runs only test_api for now to avoid timeout issue.
    
    Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
    liubogithub authored and yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    414a963 View commit details
    Browse the repository at this point in the history
  6. github action: integration test run selectively

    For now, to avoid timeout and unknown error reasons,
    we temporarily only runs 4 tests in test_api.py,
    other tests still need to be tested.
    
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    b407d5f View commit details
    Browse the repository at this point in the history
  7. github action: downgrade cross to 0.2.1

    The use of cross-0.2.2 leads to constantly
    cancelled CI, therefore we downgrade it.
    
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    0d81edf View commit details
    Browse the repository at this point in the history
  8. github actions: runs the integration test nightly

    The secret in github actions won't be passed to
    actions triggered by pull request. What's more,
    the time consumed is unacceptable. Therefore,
    we change integration test to nightly test.
    
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    6af12ad View commit details
    Browse the repository at this point in the history