Closed sachitrajbhandari closed 4 years ago
@jeremyh, EO3-nbart product set need to be removed from test?
I can't really comment on removing the AWS products from the tests... but otherwise it looks fine.
@jeremyh, Could you please provide feedback on removal of EO3-nbart product set from test?
I can't really comment on removing the AWS products from the tests... but otherwise it looks fine.
@jeremyh, Could you please provide feedback on removal of EO3-nbart product set from test?
The tests blindly try to add all products under the glob products/*.odc-product.yaml
, which is now
a problem because we now have two conflicting products that can't be added to the same datacube.
I'd probably fix it by either
I'd probably lean toward the first option. Perhaps a layout like this?
.
├── environment-specific
│ └── aws
│ └── products
│ ├── nbart_ls5.odc-product.yaml
│ ├── nbart_ls7.odc-product.yaml
│ └── nbart_ls8.odc-product.yaml
└── products
├── ard_ls5.odc-product.yaml
├── ard_ls7.odc-product.yaml
├── ard_ls8.odc-product.yaml
├── l1_ls5_ga.odc-product.yaml
├── l1_ls5.odc-product.yaml
├── l1_ls7_ga.odc-product.yaml
├── l1_ls7.odc-product.yaml
├── l1_ls8_ga.odc-product.yaml
└── l1_ls8.odc-product.yaml
I'd like to reorgnise the configs even further than that, though it should go into a separate issue. That layout would at least let us merge this now without conflicting with other open PRs.
I'd like to reorgnise the configs even further than that, though it should go into a separate issue. That layout would at least let us merge this now without conflicting with other open PRs.
The new directory products-aws
has been created as below for aws-specific products which follows your first option and excluded by the default test framework. Thanks for your feedback and suggestions.
.
├── products-aws
│ ├── ard_ls5.odc-product.yaml
│ ├── ard_ls7.odc-product.yaml
│ └── ard_ls8.odc-product.yaml
└── products
├── ard_ls5.odc-product.yaml
├── ard_ls7.odc-product.yaml
├── ard_ls8.odc-product.yaml
├── l1_ls5_ga.odc-product.yaml
├── l1_ls5.odc-product.yaml
├── l1_ls7_ga.odc-product.yaml
├── l1_ls7.odc-product.yaml
├── l1_ls8_ga.odc-product.yaml
└── l1_ls8.odc-product.yaml
Codecov Report
Continue to review full report at Codecov.