Commit Graph

13605 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
6b3722d3f6 Avoid using possibly-private API. 2022-02-03 12:50:29 -05:00
Itamar Turner-Trauring
23c8bde9d5 Nicer cleanup. 2022-02-03 12:44:55 -05:00
Itamar Turner-Trauring
1dfc0bde36 Use better method to listen on random port. 2022-02-03 12:43:49 -05:00
Itamar Turner-Trauring
aebb5056de Don't use real reactor in these tests. 2022-02-02 11:00:16 -05:00
fenn-cs
67fefaebcd Merge branch 'master' of github.com:tahoe-lafs/tahoe-lafs into 3816.improve-release-checklist 2022-02-02 01:33:45 +01:00
fenn-cs
7a1f8e64f1 remove code-markup around commands
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2022-02-02 01:33:22 +01:00
Itamar Turner-Trauring
70d0bd0597 Test and document what happens for non-existent storage index. 2022-02-01 10:41:12 -05:00
Itamar Turner-Trauring
35bbcad4de Merge branch '3868-istorageserver-tests-http' into 3871-http-list-storage-index-shares 2022-02-01 10:36:55 -05:00
Itamar Turner-Trauring
0fbf746e27 Skip on Python 2. 2022-02-01 10:30:27 -05:00
Itamar Turner-Trauring
7da506d5d0 News file. 2022-02-01 10:26:42 -05:00
Itamar Turner-Trauring
48a9bf7457 Hook up more IStorageServer tests that can now pass with HTTP. 2022-02-01 10:25:13 -05:00
Itamar Turner-Trauring
c72e7b0585 Implement HTTP share listing endpoint. 2022-02-01 10:20:23 -05:00
Itamar Turner-Trauring
26f6d0036c Merge branch '3868-istorageserver-tests-http' into 3871-http-list-storage-index-shares 2022-02-01 09:58:25 -05:00
Itamar Turner-Trauring
c2e524ddb8 Make mypy happy. 2022-02-01 09:55:13 -05:00
Itamar Turner-Trauring
5cda7ad8b9 News file. 2022-02-01 09:52:04 -05:00
Itamar Turner-Trauring
5dfaa82ed2 Skip tests that don't pass. 2022-02-01 09:47:51 -05:00
Itamar Turner-Trauring
66abe5dfca First passing immutable-API-over-HTTP IStorageServer tests. 2022-01-31 12:02:52 -05:00
Itamar Turner-Trauring
5e8cc06e93
Merge pull request #1172 from tahoe-lafs/3855-immutable-http-apis-part-1
Immutable HTTP APIs, part 1

Fixes ticket:3855
2022-01-31 11:55:43 -05:00
Itamar Turner-Trauring
ef56435578 Merge branch '3855-immutable-http-apis-part-1' into 3868-istorageserver-tests-http 2022-01-31 11:36:28 -05:00
Itamar Turner-Trauring
03bc39ed77 Try to fix nix builds. 2022-01-31 11:30:41 -05:00
Itamar Turner-Trauring
e672029e6d First HTTP test passes. 2022-01-31 10:49:43 -05:00
Itamar Turner-Trauring
77f6f5d176 Merge remote-tracking branch 'origin/master' into 3855-immutable-http-apis-part-1 2022-01-31 10:36:54 -05:00
Jean-Paul Calderone
2b2bd4ef76
Merge pull request #1123 from Fenn-CS/3788.refactor-src.test.mutable
Refactor mutable tests to use common Async or Sync testcase

Fixes: ticket:3788
2022-01-31 09:04:48 -05:00
Jean-Paul Calderone
640bb05a57 Merge remote-tracking branch 'origin/master' into 3788.refactor-src.test.mutable 2022-01-28 13:07:48 -05:00
Itamar Turner-Trauring
d23fdcdb8a Sketch of first IStorageServer test with HTTP server/client. 2022-01-28 12:03:17 -05:00
Jean-Paul Calderone
210a0e773b
Merge pull request #1175 from tahoe-lafs/3867.mach-nix
Switch Nix packaging to use mach-nix

Fixes: ticket:3867
2022-01-28 12:00:07 -05:00
Jean-Paul Calderone
9ba17ba8d1 explain sources.nix a bit 2022-01-28 10:46:13 -05:00
Jean-Paul Calderone
005a762269 spelling 2022-01-28 10:46:10 -05:00
Jean-Paul Calderone
d6e82d1d56 explain this unfortunate cache step 2022-01-28 10:41:40 -05:00
Jean-Paul Calderone
e4505cd7b8 change the strategy for building the test environment
it's not clear to me if this is conceptually better or worse than what it
replaces but it is about 25% faster
2022-01-28 10:03:53 -05:00
Jean-Paul Calderone
f5de5fc127 produce and output so the build appears to be a success 2022-01-27 16:41:38 -05:00
Jean-Paul Calderone
16fd427b15 Get undetected txi2p-tahoe test dependency into the test environment 2022-01-27 16:27:10 -05:00
Jean-Paul Calderone
f03f5fb8d7 Add an expression for running the test suite 2022-01-27 16:18:43 -05:00
Jean-Paul Calderone
60dd2ee413 Document the parameters and also accept an extras parameter 2022-01-27 16:17:37 -05:00
Jean-Paul Calderone
6154be1a96 Give the NixOS job instantiations nice names 2022-01-27 15:37:12 -05:00
Jean-Paul Calderone
f5e1af00c0 try using parameters to avoid environment collision
the `cachix push` later on also needs CACHIX_NAME so defining it on a single
step is not great
2022-01-27 15:35:23 -05:00
Jean-Paul Calderone
ccb6e65c04 make sure CACHIX_NAME is set for both nixos jobs 2022-01-27 15:26:19 -05:00
Jean-Paul Calderone
136734c198 try to use cachix 2022-01-27 15:09:52 -05:00
Jean-Paul Calderone
0fb56c9a48 I checked, git is there. 2022-01-27 15:03:21 -05:00
Jean-Paul Calderone
a8033e2c2f cannot get python env that way
we don't need python until later anyway
2022-01-27 14:59:29 -05:00
Jean-Paul Calderone
17d2119521 get setuptools in there 2022-01-27 14:55:34 -05:00
Jean-Paul Calderone
7ee55d07e5 Use nix-env less wrong, maybe 2022-01-27 14:47:43 -05:00
Jean-Paul Calderone
e4ed98fa64 maybe this is where they may be found 2022-01-27 14:39:30 -05:00
Jean-Paul Calderone
e7bba3dad0 cannot use the source before we do the checkout... 2022-01-27 14:36:59 -05:00
Jean-Paul Calderone
5edd96ce6b Change around environment management so we can install ssh too
The new image does not come with it
2022-01-27 14:31:56 -05:00
Jean-Paul Calderone
83a172210c Switch to Nix 2.3. mach-nix is not compatible with older versions. 2022-01-27 14:22:35 -05:00
Jean-Paul Calderone
b2acd0f7d0 >- and indentation changes don't interact well
blackslashes are more likely to be understood, I guess
2022-01-27 14:05:59 -05:00
Jean-Paul Calderone
5b7f5a9f88 fix typo 2022-01-27 14:04:21 -05:00
Jean-Paul Calderone
78c4b98b08 that comment handles the >- yaml string type badly 2022-01-27 14:01:40 -05:00
Jean-Paul Calderone
013e1810e4 try to use a single nixpkgs in each job 2022-01-27 13:59:37 -05:00