Commit Graph

385 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
5ef8fa5b89 TEmporary only build the image we care about. 2022-05-18 12:57:50 -04:00
Itamar Turner-Trauring
d6abefb041 Temporary always build images. 2022-05-18 12:57:29 -04:00
Itamar Turner-Trauring
36e3beaa48 Get rid of deprecations builder. 2022-04-29 10:03:43 -04:00
Itamar Turner-Trauring
6190399aef Just codechecks. 2022-02-15 14:33:00 -05:00
Itamar Turner-Trauring
bd90728946 Re-add missing environment. 2022-02-15 10:26:54 -05:00
Itamar Turner-Trauring
7ea106a018 Switch back to building Docker images on a schedule. 2022-02-15 10:19:56 -05:00
Itamar Turner-Trauring
95c32ef2ee Fix syntax. 2022-02-15 10:13:35 -05:00
Itamar Turner-Trauring
1fd8603673 Use modern Docker version (with bugfixes for modern distributions). 2022-02-15 10:07:04 -05:00
Itamar Turner-Trauring
3ccd051473 Correct image. 2022-02-14 11:40:03 -05:00
Itamar Turner-Trauring
0bcfc58c22 Various version fixes. 2022-02-14 11:30:24 -05:00
Itamar Turner-Trauring
34fe6a41ed Fix Fedora package name. 2022-02-14 11:05:31 -05:00
Itamar Turner-Trauring
19a3d2acf7 Fix some more. 2022-02-14 10:49:17 -05:00
Itamar Turner-Trauring
4e133eb759 Fix name. 2022-02-14 10:46:55 -05:00
Itamar Turner-Trauring
5935d99776 Fix name. 2022-02-14 10:45:56 -05:00
Itamar Turner-Trauring
f0a81e1095 Fix typo. 2022-02-14 10:44:44 -05:00
Itamar Turner-Trauring
d4810ce5b8 Get rid of duplicate. 2022-02-14 10:42:58 -05:00
Itamar Turner-Trauring
71989c64eb Fix some references. 2022-02-14 10:40:38 -05:00
Itamar Turner-Trauring
0639f2c16c Try to switch to modern Python 3 world.
Temporarily switch image building to always happen.
2022-02-14 10:35:43 -05:00
Jean-Paul Calderone
d6e82d1d56 explain this unfortunate cache step 2022-01-28 10:41:40 -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
Jean-Paul Calderone
5cab1f7a4c Get Python this way? 2022-01-27 13:57:09 -05:00
Jean-Paul Calderone
9c964f4acd generate the version info 2022-01-27 13:52:10 -05:00
Jean-Paul Calderone
b47457646c Correct naming of the CircleCI job 2022-01-27 13:26:57 -05:00
Jean-Paul Calderone
86bcfaa14d Update CircleCI configuration to the new packaging 2022-01-27 13:24:05 -05:00
Itamar Turner-Trauring
04cf206e0d Switch back to running image building on schedule. 2022-01-24 11:06:58 -05:00
Itamar Turner-Trauring
31e4556bd1 Need image with Docker _and_ git+ssh. 2022-01-24 11:01:47 -05:00
Itamar Turner-Trauring
02740f075b Temporarily enable image builds on every push. 2022-01-24 10:56:11 -05:00
Itamar Turner-Trauring
f04e121a7d Try to use correct Docker image. 2022-01-24 10:51:55 -05:00
Itamar Turner-Trauring
fa2b4a11c7 Welcome to the WORLD OF TOMORROW 2022-01-24 10:50:40 -05:00
Itamar Turner-Trauring
8eb6ab4765 Switch to Python 3.7 as minimal version. 2022-01-24 10:42:09 -05:00
Jean-Paul Calderone
49df402f07 maybe this is the right url 2021-09-29 15:48:33 -04:00
Jean-Paul Calderone
5a3028bdab add a python3 expression
most deps are in nixpkgs now but we still need an overlay for th very very
recent collections-extended dependency
2021-09-29 15:46:18 -04:00
Jean-Paul Calderone
fc01835a56 ci configuration 2021-09-29 15:16:01 -04:00
Jean-Paul Calderone
e0414fd8af Upload eliot.log on CircleCI runs 2021-09-08 09:14:47 -04:00
Jean-Paul Calderone
a1112e4cd0 Add the new job to the workflow 2021-08-11 10:25:49 -04:00
Jean-Paul Calderone
97008b70b2 Avoid renaming a job, it causes operational hassle 2021-08-11 10:25:42 -04:00
Jean-Paul Calderone
6e89713b65 Merge remote-tracking branch 'origin/master' into 3760.run-codechecks3 2021-08-11 10:25:13 -04:00
Jean-Paul Calderone
2bb310c511 Try to run codechecks3 on CI 2021-08-11 09:50:23 -04:00
Jean-Paul Calderone
0e2c4ff7e6 I suppose you cannot define an empty yaml map by leaving everything out 2021-08-11 07:45:45 -04:00
Jean-Paul Calderone
6f36f85a87 Define the yaml anchor elsewhere, where it is still needed 2021-08-11 07:41:59 -04:00
Jean-Paul Calderone
c5fec82328 CircleCI succeeds in pulling the docker images without this
It says "Warning!" but then says it is going to use its own credentials.
Great.  Just what I want.
2021-08-11 07:40:16 -04:00
Jean-Paul Calderone
a4da804870 Stop using the dockerhub-auth context for normal jobs 2021-08-11 07:33:58 -04:00
Sajith Sasidharan
70291cd468 Add "docs" job to CircleCI workflow 2021-03-19 15:55:19 -04:00
Sajith Sasidharan
61fc96181e Build docs on CI 2021-03-09 16:57:20 -05:00
Jean-Paul Calderone
7864330562 Merge remote-tracking branch 'origin/master' into 3385.coveralls-for-coverage-reports 2021-02-12 12:58:49 -05:00
Itamar Turner-Trauring
5aa452c8bb Drop build-porting-depgraph step. 2021-02-12 10:23:07 -05:00
Jean-Paul Calderone
7f22441423 Change Debian 8 to Debian 10 for CI 2021-02-11 15:59:51 -05:00
Jean-Paul Calderone
a01078ddec Switch to one of our Docker images for typecheck CI 2021-01-15 15:00:57 -05:00
Jean-Paul Calderone
b4128a8d10 Stop collecting coverage on CircleCI 2021-01-05 15:58:21 -05:00
Jason R. Coombs
d2e2a22f62 Run typechecks in CircleCI 2020-12-04 19:51:47 -05:00
Jean-Paul Calderone
dddf49ff71 Restore original image configuration 2020-10-22 17:00:02 -04:00
Jean-Paul Calderone
da75fa4069 make all the image builders run too, to see if they will 2020-10-22 14:47:18 -04:00
Jean-Paul Calderone
81428d0839 explain "Schema conformity" a bit more 2020-10-22 14:46:26 -04:00
Jean-Paul Calderone
e2f03e00ba typo 2020-10-22 12:27:22 -04:00
Jean-Paul Calderone
1303a85285 Attempt to get the Docker Hub auth into the right place 2020-10-22 12:21:11 -04:00
Jean-Paul Calderone
5e1d3db72e Correct whitespace 2020-10-22 12:12:58 -04:00
Jean-Paul Calderone
22921e2b1d Use secrets from the context to authenticate with Docker Hub 2020-10-22 12:08:30 -04:00
Jean-Paul Calderone
bc8c2c4689 Put all CircleCI jobs into the "dockerhub-auth" context 2020-10-22 12:04:59 -04:00
Jean-Paul Calderone
e007a4c2c1 foolish shell tricks spoil the day again 2020-10-16 06:54:06 -04:00
Jean-Paul Calderone
c164f8083d PyPy job also does not coverage measurement 2020-10-14 13:09:18 -04:00
Jean-Paul Calderone
db4bac90cf Only upload coverage measurement if we took one 2020-10-14 12:58:15 -04:00
Chad Whitacre
d5f9fd37f4 Add comment 2020-09-14 07:38:54 -04:00
Chad Whitacre
3c89e7d9f5 Conform job names to v2.1 requirements (no dots) 2020-09-14 07:32:04 -04:00
Chad Whitacre
ed8ce8b18c Bump version from 2 to 2.1
What will break?
2020-09-14 07:12:47 -04:00
Itamar Turner-Trauring
38f5a9c5a3 Disable coverage on pypy, in the hopes of making it less flaky. 2020-09-04 12:05:31 -04:00
Jean-Paul Calderone
07e33e78a5 Configure CI to use the py36-coverage tox env 2020-08-26 14:37:21 -04:00
Jean-Paul Calderone
60759597f3 Ask for a particular version of Python
In particular, a version Tahoe-LAFS supports.
2020-08-20 13:21:48 -04:00
Jean-Paul Calderone
0a7589f0c2
Update the CircleCI configuration to get the reporter working for py36 2020-08-14 11:24:42 -04:00
Jean-Paul Calderone
9695e87fbd
Revert to master version of these configs 2020-08-14 11:16:45 -04:00
Chad Whitacre
647ed5d6e1 Use BASH_ENV to avoid duplication of job steps 2020-08-14 08:33:00 -04:00
Chad Whitacre
ae87037e73 Filter tests we care about in CI for Python 3 2020-08-13 06:23:46 -04:00
Jean-Paul Calderone
b69287be4b
Merge remote-tracking branch 'origin/master' into 3336.py36-off-travis 2020-08-11 14:51:08 -04:00
Jean-Paul Calderone
a74ef86098
Remove the CI configuration 2020-08-11 13:25:16 -04:00
Jean-Paul Calderone
462e212a19
Revert "[drop] faster ci"
This reverts commit 65520786ca.
2020-08-10 09:16:19 -04:00
Jean-Paul Calderone
65520786ca
[drop] faster ci 2020-08-07 23:26:15 -04:00
Jean-Paul Calderone
c2b1fda4e7
Add Ubuntu 20.04 2020-08-07 15:40:10 -04:00
Jean-Paul Calderone
80136da0a6
This Fedora probably also has no Python version tag 2020-08-07 11:14:58 -04:00
Jean-Paul Calderone
1b0f83599d
See if we can get the image names right 2020-08-03 17:08:45 -04:00
Jean-Paul Calderone
8348e7032b
this is basically already set (LANG in UTF_8_ENVIRONMENT) 2020-08-03 17:02:15 -04:00
Jean-Paul Calderone
b99ec195cd
See if this helps the py36 zfec installation 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
ee32b3555a
Burn the Python version into the Docker image tag 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
95050fefd6
do have line continuation 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
a2f78ca703
don't have a default 2020-08-03 17:02:14 -04:00
Jean-Paul Calderone
b0a5a65f4f
Attempt to enable a Python 3 CircleCI job 2020-07-17 16:23:42 -04:00
Jean-Paul Calderone
bd2f438843
Replace the TravisCI Python 3.6 config with CircleCI Python 3.6 config 2020-07-17 13:48:08 -04:00
meejah
825bc91256 mark PyPy as required in circle-ci 2020-05-06 17:17:23 -06:00
Sajith Sasidharan
4fc6840c10 Build Docker images for pypy 2.7-buster on CircleCI 2020-04-14 17:35:44 -04:00
Jean-Paul Calderone
37af15c245
Bump CentOS from 7 to 8 on CI 2020-04-13 10:09:25 -04:00
Jean-Paul Calderone
b6bc1302b0 Tweak the CircleCI build configuration for better performance 2019-12-18 09:31:04 -05:00
Jean-Paul Calderone
6d4044c7c1 Test the Nix packaging on CircleCI 2019-12-13 10:39:15 -05:00
Chris Wood
105ddc005e Add comment re. testing PyInstaller executables 2019-10-07 11:31:29 -04:00
Chris Wood
eef66e3ea3 Try testing PyInstaller builds on CircleCI 2019-10-04 11:39:14 -04:00
Jean-Paul Calderone
9c5dce3cc8 Largely done now so re-enable the rest of CI 2019-09-13 13:09:36 -04:00
Jean-Paul Calderone
151b7768c6 make the environment available to anything in the script 2019-09-13 13:02:55 -04:00
Jean-Paul Calderone
b462d294a5 Try it in a working environment ... ? 2019-09-13 13:00:35 -04:00
Jean-Paul Calderone
1fcf5051bd Guessed wrong - tahoe-depgraph is Python 2. 2019-09-13 11:25:30 -04:00
Jean-Paul Calderone
47e28d2e5d Grant the job push access to the repository with a GitHub deploy key. 2019-09-13 11:21:20 -04:00
Jean-Paul Calderone
42a01f0046 Add a CI job which runs depgraph.
It can also push the results to GitHub pages.
2019-09-13 11:05:05 -04:00
Jean-Paul Calderone
183385a94b Disable most of CI to speed up development on this branch 2019-09-13 11:04:28 -04:00
Jean-Paul Calderone
10b9575350 It worked. Put it all back. 2019-06-26 13:32:35 -04:00
Jean-Paul Calderone
e40f46c4cf do a quick test with a new image 2019-06-26 13:00:14 -04:00
Jean-Paul Calderone
ba1bff529e re-enable everything 2019-06-26 08:50:04 -04:00
Jean-Paul Calderone
5a5b75b447 back to this 2019-06-26 07:59:53 -04:00
Jean-Paul Calderone
4b03b6e4d7 reenable the other things 2019-06-25 19:29:56 -04:00
Jean-Paul Calderone
a3637c193d try telling the virtualenv to use pypy 2019-06-25 18:51:11 -04:00
Jean-Paul Calderone
7ace8ae40d can't require a job that isn't 2019-06-25 15:06:34 -04:00
Jean-Paul Calderone
a351256050 test even faster 2019-06-25 15:02:30 -04:00
Jean-Paul Calderone
32a9f9be0f Attempt to build an allowed failure mechanism
And use it to let the PyPy job fail.
2019-06-25 14:50:42 -04:00
Jean-Paul Calderone
1b29bc4105 speed up testing 2019-06-25 14:21:08 -04:00
Jean-Paul Calderone
da4a3fecb8 Attempt to make CircleCI run PyPy job with the right tox environment 2019-06-25 14:16:26 -04:00
Jean-Paul Calderone
0a761356d4 Put the job in the workflow 2019-06-25 13:34:33 -04:00
Jean-Paul Calderone
ec306663c9 Get a PyPy image 2019-06-25 13:20:04 -04:00
Jean-Paul Calderone
6f855cb328 Add a PyPy test job 2019-06-25 13:12:57 -04:00
Jean-Paul Calderone
3e0681e846 Build a Docker image we can use for PyPy CI 2019-06-25 13:12:42 -04:00
Jean-Paul Calderone
a7fb7c21e3 Probably isn't 2019-04-05 08:06:41 -04:00
Jean-Paul Calderone
70e7ce6c3c filters are, apparently, required 2019-04-04 17:05:41 -04:00
Jean-Paul Calderone
83d91587c8 Build the images on a schedule 2019-04-04 16:54:22 -04:00
Jean-Paul Calderone
5a833ad152 Turns out that was redundant 2019-04-04 16:51:51 -04:00
Jean-Paul Calderone
c840938d27 Convert Slackware to the new pattern 2019-04-04 16:50:59 -04:00
Jean-Paul Calderone
b43d121b46 Fix naming snafu 2019-04-04 15:59:58 -04:00
Jean-Paul Calderone
0cf600a27d Still a good idea to push the images 2019-04-04 15:41:22 -04:00
Jean-Paul Calderone
0d31003a63 Split the image build job into many 2019-04-04 15:34:34 -04:00
Jean-Paul Calderone
3f323c2c66 Drop the separate Tor-enabled Debian image.
Just install Tor on the other Debian image and re-use that.
2019-04-04 15:33:16 -04:00
Jean-Paul Calderone
e0eca8fc6c Parameterize the Fedora version 2019-04-04 14:29:05 -04:00
Jean-Paul Calderone
cc33115218 Parameterize the Debian version 2019-04-04 14:28:04 -04:00
Jean-Paul Calderone
7cfbc115a4 Parameterize the Ubuntu version 2019-04-04 14:26:47 -04:00
Jean-Paul Calderone
60f47759e2 Parameterize the CentOS version 2019-04-04 14:25:08 -04:00
Jean-Paul Calderone
16b13f6f0e Have a go at converting the Fedora jobs 2019-04-04 14:02:00 -04:00
Jean-Paul Calderone
302292366a Have a go at converting CentOS 2019-04-04 14:00:19 -04:00
Jean-Paul Calderone
cb2c50fbf7 Install Tor in the Docker image and use it for integration job 2019-04-04 13:48:24 -04:00
Jean-Paul Calderone
ecaeedad84 This is baked into the Debian image we inherit 2019-04-04 13:34:41 -04:00
Jean-Paul Calderone
679893d541 Also propagate the user config to the other jobs
It was not propagated because they each have their own distinct "docker"
section.
2019-04-04 13:16:28 -04:00
Jean-Paul Calderone
4d15504e4a Try avoiding some of the sudo'ing 2019-04-04 12:54:24 -04:00
Jean-Paul Calderone
53b9e92901 Just inherit it 2019-04-04 12:38:27 -04:00
Jean-Paul Calderone
ebe5fba518 Follow the move 2019-04-04 12:24:16 -04:00