github.com/pachyderm/pachyderm@v1.13.4/etc/testing/migration/README.md (about)

     1  # Migration test data
     2  
     3  This directory contains sample data for testing pachyderm migration. In general,
     4  it contains cluster metadata dumps generated by using the scripts contained in
     5  version-specific directories to create sample repos and piplines in a pachyderm
     6  cluster with the corresponding version, and then running `pachctl export` and
     7  putting the result back in the corresponding directory (e.g. we'd create
     8  pipelines in a Pachyderm 1.7 cluster with `v1_7/sort.sh`, which would run
     9  `pachctl export > v1_7/sort.dump`).
    10  
    11  This way, our CI test suite can restore a pachyderm cluster from a pre-generated
    12  dump file, to test the correctness of `restore`, without having to deploy a
    13  pachyderm cluster with the old version of Pachyderm first.
    14  
    15  Each version of Pachyderm has its own scripts for generating test data in case
    16  our syntax for creating pipelines and such evolves. It will remain possible to
    17  generate dumps from old versions of Pachyderm using scripts in the corresponding
    18  directories.