2023-09-21 22:32:44 +03:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
2024-05-03 00:09:46 +03:00
|
|
|
(depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
|
2023-09-21 22:32:44 +03:00
|
|
|
runTests = true;
|
2024-03-03 17:46:20 +02:00
|
|
|
testPreRun = ''
|
|
|
|
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
|
|
|
|
'';
|
2024-03-19 12:12:03 +02:00
|
|
|
|
|
|
|
# enable some optional features.
|
|
|
|
features = [ "default" "cloud" ];
|
2024-05-03 00:09:46 +03:00
|
|
|
}).overrideAttrs (_: {
|
|
|
|
meta.ci.targets = [ "integration-tests" ];
|
|
|
|
passthru.integration-tests = depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
|
|
|
|
runTests = true;
|
|
|
|
testPreRun = ''
|
|
|
|
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
|
|
|
|
export PATH="$PATH:${pkgs.lib.makeBinPath [pkgs.cbtemulator pkgs.google-cloud-bigtable-tool]}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# enable some optional features.
|
|
|
|
features = [ "default" "cloud" "integration" ];
|
|
|
|
};
|
|
|
|
})
|