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

Refactor integration tests #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

aaronmondal
Copy link
Owner

Description

Please include a summary of the changes and the related issue. Please also
include relevant motivation and context.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please also list any relevant details for your test configuration

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

@aaronmondal aaronmondal force-pushed the refactor-integration-tests branch 10 times, most recently from 827436b to f79a26f Compare December 19, 2023 06:26
Remove the broken docker-compose workflows, rewrite the tests to be
rootlessly runnable via bazel and pin infrastructure outside of Bazel's
build graph in Nix.

Each integration test now spins up a nativelink deployment in K8s, runs
the test and removes the deployment again. All integration tests now
have timeouts to provide faster feedback on failing tests.

Apart from a few dynamically declared IPs the new approach is fully
reproducible and can reuse containers from the existing nix workflow.

The "build nativelink with nativelink" test has been removed as the
LRE/Remote test already covers that usecase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant