2023-09-21 21:32:44 +02:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
2024-05-02 23:09:46 +02:00
|
|
|
(depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
|
2023-09-21 21:32:44 +02:00
|
|
|
runTests = true;
|
2024-03-03 16:46:20 +01:00
|
|
|
testPreRun = ''
|
|
|
|
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
|
|
|
|
'';
|
2024-03-19 11:12:03 +01:00
|
|
|
|
|
|
|
# enable some optional features.
|
|
|
|
features = [ "default" "cloud" ];
|
2024-05-02 23:09:46 +02: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" ];
|
|
|
|
};
|
|
|
|
})
|