├── .cargo └── config.toml ├── .envrc ├── .github └── workflows │ └── rust.yml ├── .gitignore ├── .sqlx ├── query-049c2b15e5806241473754264be493889dfa874d73dfe257a2b8554b6543acaf.json ├── query-05e4170e17728e552240a2474d97bdd750d7adc15ea27c0d7b10ba5330ca4f9e.json ├── query-0626225fd580d1b49375835b17e129af1b84c9db615bdd224c5a36ed60344414.json ├── query-0b0f985664863d2e7883f7460fc451de6f773b2fd0348a471e8e03571dc80492.json ├── query-0f15524bd358e02a14c66f9058c866e937d5a124040f77ac62c20371c7421ff5.json ├── query-1a5a0676ca03a1c4659f05b45e1a32719dac5fa8bbb879afd3c0e1e106178d59.json ├── query-2a6f7b562d13337e240588d25734f9ea9c9601b2d010aa93038872c1538d0816.json ├── query-455497955081a6040cc5e95c6d96dae26d2400d878eb0eeb01d39487ff362480.json ├── query-60433164aae6d537f4b9056a5f9cf46af129639d2cc4cdc3262293846c088906.json ├── query-68ff1a22bdbfe552106035ff2f7fd349df6c1da958374a4842124581c7654d5c.json ├── query-694cba4e8063ef370358e1c5828b9450c3c06b8449eeee76f2a3a5131a6e3006.json ├── query-6a79a1188d2334feb26b255c1d57430873aa1b192cacdc98ebf7a8e48665d7a4.json ├── query-7b0ede437aa972b2588415a5bfe8ff545285d457dc809601c9c780c955e16ff5.json ├── query-83b10946d5b6a044491b73af2c8add459c04deb6b69e755840ff43e859fcd7a9.json ├── query-84173580db29e288f8e83dbae7ab5636bdcab6b0243168dde7cb7f81d7129fac.json ├── query-877e109257b264b87d8f0b90e91dcd7a913bfb4d216dd190eacd63f5a5f5cd45.json ├── query-8d6f5c4a866eca834ec76d1b7068f4091f65139067f38b16b047ba2561c0cfee.json ├── query-9ac00b06367900308f94877d24cc7db38d6e03e9208206195f52214648ddc2d2.json ├── query-a1a314a6add9d6b0f8e0930bf3422165a892887680443545bbfcb2b94925706a.json ├── query-a6cedfa152e75af251a255584fca2d67fdd2bf0bb258f4320da7c00bdf3c7680.json ├── query-a75df630ab35feb02b610618f538a1b3f5d45e09ad11c2c7a6113a505895c792.json ├── query-a9d877539b53ae4a71066f39613b2d02ed7a72e8ca184d2935a07f498a8992a7.json ├── query-aba8c9ff906e7abdbc49f2a4fb4a15a05ea5fab14dfa676cfb6a5a9d84297438.json ├── query-af02dbe27d340f0ee8ed4803d3a1ecf1fa7268064dba9130bbd833f1f484e2a7.json ├── query-b0f2aab8d3aae78a8c695d0a9433b19cb5ba6806d74c252593b76243e1c8c853.json ├── query-b600c93d66b45b9859173e0e0f7f36b29a641f881e3e61f728b39ddf068dddde.json ├── query-d155253f103fb9c24374199bd58a827071e69bf33e427bfa040a83d07b909e31.json ├── query-d1a70032949d4c470a20ba89589ce6f36c7fd576ed02d868f4185dd9f886a30b.json ├── query-e0d7d4bdb291d4d403aa37627d8b1cdc91d6c3515d2ae530fe14830950eecffb.json ├── query-e418dcd190f68642391dc8793fc30ad500dc5d513fce55a901e1d4a400323cc8.json ├── query-ec762ac14489cf15630e71703f7f1baf0e4fcf0a5bf41293343c626ce1b64f1a.json ├── query-ed7c8532b3c113ceb008675379f500a950610c46d6edafa7d9dca960398d8e45.json └── query-f99df144ca85c041624011f32dcfa0cce129a17edc95fad2444552bee8d6779d.json ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── TODO ├── clippy.toml ├── crates ├── binary-cache │ ├── Cargo.toml │ ├── examples │ │ ├── download_file.rs │ │ ├── simple_presigned.rs │ │ ├── upload_file.rs │ │ ├── upload_logs.rs │ │ └── upload_realisation.rs │ └── src │ │ ├── cfg.rs │ │ ├── compression.rs │ │ ├── debug_info.rs │ │ ├── lib.rs │ │ ├── narinfo.rs │ │ ├── presigned.rs │ │ └── streaming_hash.rs ├── db │ ├── Cargo.toml │ └── src │ │ ├── connection.rs │ │ ├── lib.rs │ │ └── models.rs ├── nix-utils │ ├── Cargo.toml │ ├── LICENSE │ ├── build.rs │ ├── examples │ │ ├── convert_hash.rs │ │ ├── copy_path.rs │ │ ├── drv_parse.rs │ │ ├── export_file.rs │ │ ├── get_settings.rs │ │ ├── import_file_fd.rs │ │ ├── import_file_stream.rs │ │ ├── is_valid_path.rs │ │ ├── list_nar.rs │ │ ├── path_infos.rs │ │ ├── query_requisites.rs │ │ ├── realisation_hashes.rs │ │ ├── realisation_parse.rs │ │ ├── realisation_query.rs │ │ ├── stream_test.rs │ │ └── upsert_file.rs │ ├── include │ │ ├── hash.h │ │ ├── nix.h │ │ ├── realisation.h │ │ └── utils.h │ └── src │ │ ├── cxx │ │ ├── hash.cpp │ │ ├── realisation.cpp │ │ └── utils.cpp │ │ ├── drv.rs │ │ ├── hash.rs │ │ ├── lib.rs │ │ ├── nix.cpp │ │ ├── realisation.rs │ │ ├── realise.rs │ │ └── store_path.rs ├── shared │ ├── Cargo.toml │ └── src │ │ └── lib.rs └── tracing │ ├── Cargo.toml │ └── src │ ├── lib.rs │ └── propagate.rs ├── default.nix ├── example-secret-key ├── flake.lock ├── flake.nix ├── proto └── v1 │ └── streaming.proto ├── queue-runner ├── Cargo.toml ├── build.rs ├── examples │ └── collect-fods.rs └── src │ ├── config.rs │ ├── io │ ├── build.rs │ ├── jobset.rs │ ├── machine.rs │ ├── mod.rs │ ├── queue_runner.rs │ ├── response_types.rs │ ├── stats.rs │ ├── step.rs │ └── step_info.rs │ ├── lib.rs │ ├── lock_file.rs │ ├── main.rs │ ├── server │ ├── grpc.rs │ ├── http.rs │ └── mod.rs │ ├── state │ ├── atomic.rs │ ├── build.rs │ ├── fod_checker.rs │ ├── jobset.rs │ ├── machine.rs │ ├── metrics.rs │ ├── mod.rs │ ├── queue.rs │ ├── step.rs │ ├── step_info.rs │ └── uploader.rs │ └── utils.rs ├── runner-module.nix ├── shell.nix ├── tests ├── certs │ ├── ca.crt │ ├── ca.key │ ├── client.crt │ ├── client.key │ ├── server.crt │ └── server.key ├── hydra_postgresql.nix ├── lib.nix ├── t00-simple.nix ├── t01-mtls.nix └── t02-mtls-nginx.nix └── treefmt.nix /.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags = ["--cfg", "tokio_unstable"] 3 | -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.gitignore -------------------------------------------------------------------------------- /.sqlx/query-049c2b15e5806241473754264be493889dfa874d73dfe257a2b8554b6543acaf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-049c2b15e5806241473754264be493889dfa874d73dfe257a2b8554b6543acaf.json -------------------------------------------------------------------------------- /.sqlx/query-05e4170e17728e552240a2474d97bdd750d7adc15ea27c0d7b10ba5330ca4f9e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-05e4170e17728e552240a2474d97bdd750d7adc15ea27c0d7b10ba5330ca4f9e.json -------------------------------------------------------------------------------- /.sqlx/query-0626225fd580d1b49375835b17e129af1b84c9db615bdd224c5a36ed60344414.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-0626225fd580d1b49375835b17e129af1b84c9db615bdd224c5a36ed60344414.json -------------------------------------------------------------------------------- /.sqlx/query-0b0f985664863d2e7883f7460fc451de6f773b2fd0348a471e8e03571dc80492.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-0b0f985664863d2e7883f7460fc451de6f773b2fd0348a471e8e03571dc80492.json -------------------------------------------------------------------------------- /.sqlx/query-0f15524bd358e02a14c66f9058c866e937d5a124040f77ac62c20371c7421ff5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-0f15524bd358e02a14c66f9058c866e937d5a124040f77ac62c20371c7421ff5.json -------------------------------------------------------------------------------- /.sqlx/query-1a5a0676ca03a1c4659f05b45e1a32719dac5fa8bbb879afd3c0e1e106178d59.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-1a5a0676ca03a1c4659f05b45e1a32719dac5fa8bbb879afd3c0e1e106178d59.json -------------------------------------------------------------------------------- /.sqlx/query-2a6f7b562d13337e240588d25734f9ea9c9601b2d010aa93038872c1538d0816.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-2a6f7b562d13337e240588d25734f9ea9c9601b2d010aa93038872c1538d0816.json -------------------------------------------------------------------------------- /.sqlx/query-455497955081a6040cc5e95c6d96dae26d2400d878eb0eeb01d39487ff362480.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-455497955081a6040cc5e95c6d96dae26d2400d878eb0eeb01d39487ff362480.json -------------------------------------------------------------------------------- /.sqlx/query-60433164aae6d537f4b9056a5f9cf46af129639d2cc4cdc3262293846c088906.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-60433164aae6d537f4b9056a5f9cf46af129639d2cc4cdc3262293846c088906.json -------------------------------------------------------------------------------- /.sqlx/query-68ff1a22bdbfe552106035ff2f7fd349df6c1da958374a4842124581c7654d5c.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-68ff1a22bdbfe552106035ff2f7fd349df6c1da958374a4842124581c7654d5c.json -------------------------------------------------------------------------------- /.sqlx/query-694cba4e8063ef370358e1c5828b9450c3c06b8449eeee76f2a3a5131a6e3006.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-694cba4e8063ef370358e1c5828b9450c3c06b8449eeee76f2a3a5131a6e3006.json -------------------------------------------------------------------------------- /.sqlx/query-6a79a1188d2334feb26b255c1d57430873aa1b192cacdc98ebf7a8e48665d7a4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-6a79a1188d2334feb26b255c1d57430873aa1b192cacdc98ebf7a8e48665d7a4.json -------------------------------------------------------------------------------- /.sqlx/query-7b0ede437aa972b2588415a5bfe8ff545285d457dc809601c9c780c955e16ff5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-7b0ede437aa972b2588415a5bfe8ff545285d457dc809601c9c780c955e16ff5.json -------------------------------------------------------------------------------- /.sqlx/query-83b10946d5b6a044491b73af2c8add459c04deb6b69e755840ff43e859fcd7a9.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-83b10946d5b6a044491b73af2c8add459c04deb6b69e755840ff43e859fcd7a9.json -------------------------------------------------------------------------------- /.sqlx/query-84173580db29e288f8e83dbae7ab5636bdcab6b0243168dde7cb7f81d7129fac.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-84173580db29e288f8e83dbae7ab5636bdcab6b0243168dde7cb7f81d7129fac.json -------------------------------------------------------------------------------- /.sqlx/query-877e109257b264b87d8f0b90e91dcd7a913bfb4d216dd190eacd63f5a5f5cd45.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-877e109257b264b87d8f0b90e91dcd7a913bfb4d216dd190eacd63f5a5f5cd45.json -------------------------------------------------------------------------------- /.sqlx/query-8d6f5c4a866eca834ec76d1b7068f4091f65139067f38b16b047ba2561c0cfee.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-8d6f5c4a866eca834ec76d1b7068f4091f65139067f38b16b047ba2561c0cfee.json -------------------------------------------------------------------------------- /.sqlx/query-9ac00b06367900308f94877d24cc7db38d6e03e9208206195f52214648ddc2d2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-9ac00b06367900308f94877d24cc7db38d6e03e9208206195f52214648ddc2d2.json -------------------------------------------------------------------------------- /.sqlx/query-a1a314a6add9d6b0f8e0930bf3422165a892887680443545bbfcb2b94925706a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-a1a314a6add9d6b0f8e0930bf3422165a892887680443545bbfcb2b94925706a.json -------------------------------------------------------------------------------- /.sqlx/query-a6cedfa152e75af251a255584fca2d67fdd2bf0bb258f4320da7c00bdf3c7680.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-a6cedfa152e75af251a255584fca2d67fdd2bf0bb258f4320da7c00bdf3c7680.json -------------------------------------------------------------------------------- /.sqlx/query-a75df630ab35feb02b610618f538a1b3f5d45e09ad11c2c7a6113a505895c792.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-a75df630ab35feb02b610618f538a1b3f5d45e09ad11c2c7a6113a505895c792.json -------------------------------------------------------------------------------- /.sqlx/query-a9d877539b53ae4a71066f39613b2d02ed7a72e8ca184d2935a07f498a8992a7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-a9d877539b53ae4a71066f39613b2d02ed7a72e8ca184d2935a07f498a8992a7.json -------------------------------------------------------------------------------- /.sqlx/query-aba8c9ff906e7abdbc49f2a4fb4a15a05ea5fab14dfa676cfb6a5a9d84297438.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-aba8c9ff906e7abdbc49f2a4fb4a15a05ea5fab14dfa676cfb6a5a9d84297438.json -------------------------------------------------------------------------------- /.sqlx/query-af02dbe27d340f0ee8ed4803d3a1ecf1fa7268064dba9130bbd833f1f484e2a7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-af02dbe27d340f0ee8ed4803d3a1ecf1fa7268064dba9130bbd833f1f484e2a7.json -------------------------------------------------------------------------------- /.sqlx/query-b0f2aab8d3aae78a8c695d0a9433b19cb5ba6806d74c252593b76243e1c8c853.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-b0f2aab8d3aae78a8c695d0a9433b19cb5ba6806d74c252593b76243e1c8c853.json -------------------------------------------------------------------------------- /.sqlx/query-b600c93d66b45b9859173e0e0f7f36b29a641f881e3e61f728b39ddf068dddde.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-b600c93d66b45b9859173e0e0f7f36b29a641f881e3e61f728b39ddf068dddde.json -------------------------------------------------------------------------------- /.sqlx/query-d155253f103fb9c24374199bd58a827071e69bf33e427bfa040a83d07b909e31.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-d155253f103fb9c24374199bd58a827071e69bf33e427bfa040a83d07b909e31.json -------------------------------------------------------------------------------- /.sqlx/query-d1a70032949d4c470a20ba89589ce6f36c7fd576ed02d868f4185dd9f886a30b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-d1a70032949d4c470a20ba89589ce6f36c7fd576ed02d868f4185dd9f886a30b.json -------------------------------------------------------------------------------- /.sqlx/query-e0d7d4bdb291d4d403aa37627d8b1cdc91d6c3515d2ae530fe14830950eecffb.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-e0d7d4bdb291d4d403aa37627d8b1cdc91d6c3515d2ae530fe14830950eecffb.json -------------------------------------------------------------------------------- /.sqlx/query-e418dcd190f68642391dc8793fc30ad500dc5d513fce55a901e1d4a400323cc8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-e418dcd190f68642391dc8793fc30ad500dc5d513fce55a901e1d4a400323cc8.json -------------------------------------------------------------------------------- /.sqlx/query-ec762ac14489cf15630e71703f7f1baf0e4fcf0a5bf41293343c626ce1b64f1a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-ec762ac14489cf15630e71703f7f1baf0e4fcf0a5bf41293343c626ce1b64f1a.json -------------------------------------------------------------------------------- /.sqlx/query-ed7c8532b3c113ceb008675379f500a950610c46d6edafa7d9dca960398d8e45.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-ed7c8532b3c113ceb008675379f500a950610c46d6edafa7d9dca960398d8e45.json -------------------------------------------------------------------------------- /.sqlx/query-f99df144ca85c041624011f32dcfa0cce129a17edc95fad2444552bee8d6779d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/.sqlx/query-f99df144ca85c041624011f32dcfa0cce129a17edc95fad2444552bee8d6779d.json -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/TODO -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/clippy.toml -------------------------------------------------------------------------------- /crates/binary-cache/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/Cargo.toml -------------------------------------------------------------------------------- /crates/binary-cache/examples/download_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/examples/download_file.rs -------------------------------------------------------------------------------- /crates/binary-cache/examples/simple_presigned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/examples/simple_presigned.rs -------------------------------------------------------------------------------- /crates/binary-cache/examples/upload_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/examples/upload_file.rs -------------------------------------------------------------------------------- /crates/binary-cache/examples/upload_logs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/examples/upload_logs.rs -------------------------------------------------------------------------------- /crates/binary-cache/examples/upload_realisation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/examples/upload_realisation.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/cfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/cfg.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/compression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/compression.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/debug_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/debug_info.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/lib.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/narinfo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/narinfo.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/presigned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/presigned.rs -------------------------------------------------------------------------------- /crates/binary-cache/src/streaming_hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/binary-cache/src/streaming_hash.rs -------------------------------------------------------------------------------- /crates/db/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/db/Cargo.toml -------------------------------------------------------------------------------- /crates/db/src/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/db/src/connection.rs -------------------------------------------------------------------------------- /crates/db/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/db/src/lib.rs -------------------------------------------------------------------------------- /crates/db/src/models.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/db/src/models.rs -------------------------------------------------------------------------------- /crates/nix-utils/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/Cargo.toml -------------------------------------------------------------------------------- /crates/nix-utils/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/LICENSE -------------------------------------------------------------------------------- /crates/nix-utils/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/build.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/convert_hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/convert_hash.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/copy_path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/copy_path.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/drv_parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/drv_parse.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/export_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/export_file.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/get_settings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/get_settings.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/import_file_fd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/import_file_fd.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/import_file_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/import_file_stream.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/is_valid_path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/is_valid_path.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/list_nar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/list_nar.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/path_infos.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/path_infos.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/query_requisites.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/query_requisites.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/realisation_hashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/realisation_hashes.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/realisation_parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/realisation_parse.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/realisation_query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/realisation_query.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/stream_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/stream_test.rs -------------------------------------------------------------------------------- /crates/nix-utils/examples/upsert_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/examples/upsert_file.rs -------------------------------------------------------------------------------- /crates/nix-utils/include/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/include/hash.h -------------------------------------------------------------------------------- /crates/nix-utils/include/nix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/include/nix.h -------------------------------------------------------------------------------- /crates/nix-utils/include/realisation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/include/realisation.h -------------------------------------------------------------------------------- /crates/nix-utils/include/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/include/utils.h -------------------------------------------------------------------------------- /crates/nix-utils/src/cxx/hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/cxx/hash.cpp -------------------------------------------------------------------------------- /crates/nix-utils/src/cxx/realisation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/cxx/realisation.cpp -------------------------------------------------------------------------------- /crates/nix-utils/src/cxx/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/cxx/utils.cpp -------------------------------------------------------------------------------- /crates/nix-utils/src/drv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/drv.rs -------------------------------------------------------------------------------- /crates/nix-utils/src/hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/hash.rs -------------------------------------------------------------------------------- /crates/nix-utils/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/lib.rs -------------------------------------------------------------------------------- /crates/nix-utils/src/nix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/nix.cpp -------------------------------------------------------------------------------- /crates/nix-utils/src/realisation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/realisation.rs -------------------------------------------------------------------------------- /crates/nix-utils/src/realise.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/realise.rs -------------------------------------------------------------------------------- /crates/nix-utils/src/store_path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/nix-utils/src/store_path.rs -------------------------------------------------------------------------------- /crates/shared/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/shared/Cargo.toml -------------------------------------------------------------------------------- /crates/shared/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/shared/src/lib.rs -------------------------------------------------------------------------------- /crates/tracing/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/tracing/Cargo.toml -------------------------------------------------------------------------------- /crates/tracing/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/tracing/src/lib.rs -------------------------------------------------------------------------------- /crates/tracing/src/propagate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/crates/tracing/src/propagate.rs -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/default.nix -------------------------------------------------------------------------------- /example-secret-key: -------------------------------------------------------------------------------- 1 | cache.example.org-1:xNeLcxZussMZSodSJniyz3+259ZAvTKmVWlCua6WOmayxjpr9grUyrXwYDuM5Ez+01qFKW1kwfGaBqlPsUX8Bw== -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/flake.nix -------------------------------------------------------------------------------- /proto/v1/streaming.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/proto/v1/streaming.proto -------------------------------------------------------------------------------- /queue-runner/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/Cargo.toml -------------------------------------------------------------------------------- /queue-runner/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/build.rs -------------------------------------------------------------------------------- /queue-runner/examples/collect-fods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/examples/collect-fods.rs -------------------------------------------------------------------------------- /queue-runner/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/config.rs -------------------------------------------------------------------------------- /queue-runner/src/io/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/build.rs -------------------------------------------------------------------------------- /queue-runner/src/io/jobset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/jobset.rs -------------------------------------------------------------------------------- /queue-runner/src/io/machine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/machine.rs -------------------------------------------------------------------------------- /queue-runner/src/io/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/mod.rs -------------------------------------------------------------------------------- /queue-runner/src/io/queue_runner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/queue_runner.rs -------------------------------------------------------------------------------- /queue-runner/src/io/response_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/response_types.rs -------------------------------------------------------------------------------- /queue-runner/src/io/stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/stats.rs -------------------------------------------------------------------------------- /queue-runner/src/io/step.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/step.rs -------------------------------------------------------------------------------- /queue-runner/src/io/step_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/io/step_info.rs -------------------------------------------------------------------------------- /queue-runner/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/lib.rs -------------------------------------------------------------------------------- /queue-runner/src/lock_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/lock_file.rs -------------------------------------------------------------------------------- /queue-runner/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/main.rs -------------------------------------------------------------------------------- /queue-runner/src/server/grpc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/server/grpc.rs -------------------------------------------------------------------------------- /queue-runner/src/server/http.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/server/http.rs -------------------------------------------------------------------------------- /queue-runner/src/server/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/server/mod.rs -------------------------------------------------------------------------------- /queue-runner/src/state/atomic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/atomic.rs -------------------------------------------------------------------------------- /queue-runner/src/state/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/build.rs -------------------------------------------------------------------------------- /queue-runner/src/state/fod_checker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/fod_checker.rs -------------------------------------------------------------------------------- /queue-runner/src/state/jobset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/jobset.rs -------------------------------------------------------------------------------- /queue-runner/src/state/machine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/machine.rs -------------------------------------------------------------------------------- /queue-runner/src/state/metrics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/metrics.rs -------------------------------------------------------------------------------- /queue-runner/src/state/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/mod.rs -------------------------------------------------------------------------------- /queue-runner/src/state/queue.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/queue.rs -------------------------------------------------------------------------------- /queue-runner/src/state/step.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/step.rs -------------------------------------------------------------------------------- /queue-runner/src/state/step_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/step_info.rs -------------------------------------------------------------------------------- /queue-runner/src/state/uploader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/state/uploader.rs -------------------------------------------------------------------------------- /queue-runner/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/queue-runner/src/utils.rs -------------------------------------------------------------------------------- /runner-module.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/runner-module.nix -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/shell.nix -------------------------------------------------------------------------------- /tests/certs/ca.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/ca.crt -------------------------------------------------------------------------------- /tests/certs/ca.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/ca.key -------------------------------------------------------------------------------- /tests/certs/client.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/client.crt -------------------------------------------------------------------------------- /tests/certs/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/client.key -------------------------------------------------------------------------------- /tests/certs/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/server.crt -------------------------------------------------------------------------------- /tests/certs/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/certs/server.key -------------------------------------------------------------------------------- /tests/hydra_postgresql.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/hydra_postgresql.nix -------------------------------------------------------------------------------- /tests/lib.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/lib.nix -------------------------------------------------------------------------------- /tests/t00-simple.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/t00-simple.nix -------------------------------------------------------------------------------- /tests/t01-mtls.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/t01-mtls.nix -------------------------------------------------------------------------------- /tests/t02-mtls-nginx.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/tests/t02-mtls-nginx.nix -------------------------------------------------------------------------------- /treefmt.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helsinki-systems/hydra-queue-runner/HEAD/treefmt.nix --------------------------------------------------------------------------------