Commit Graph

9076 Commits

Author SHA1 Message Date
Jean-Paul Calderone
11dd42a3fa Remove one more sudo
Unnecessary and broken since we run this step as nobody now
2019-04-04 13:23:26 -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
08693e79f8 Apply the various changes to the 3 other Debian-alikes 2019-04-04 13:12:29 -04:00
Jean-Paul Calderone
4d15504e4a Try avoiding some of the sudo'ing 2019-04-04 12:54:24 -04:00
Jean-Paul Calderone
2896370880 Factor some complexity out of the Dockerfile for easier reuse 2019-04-04 12:50:05 -04:00
Jean-Paul Calderone
99f0dad02b See if we can start with some source
And just let CircleCI update it
2019-04-04 12:38:48 -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
Jean-Paul Calderone
d19a9732e3 Try to get tox to use the wheelhouse too 2019-04-04 12:15:35 -04:00
Jean-Paul Calderone
b6233e0bef I assume checkout is re-screwing the permissions 2019-04-04 12:09:35 -04:00
Jean-Paul Calderone
904a175be4 Parameterize venv and source paths more 2019-04-04 12:07:32 -04:00
Jean-Paul Calderone
f5765acdb8 Just inherit the working directory 2019-04-04 12:07:08 -04:00
Jean-Paul Calderone
8bba0bfeaf "Directory (/tmp) you are trying to checkout to is not empty and not git repository" 2019-04-04 11:45:16 -04:00
Jean-Paul Calderone
ab5410f001 Try to get the project source into a better, predictable location 2019-04-04 11:44:27 -04:00
Jean-Paul Calderone
30a34d0b5d Move virtualenv and wheelhouse creation into the image 2019-04-04 11:26:10 -04:00
Jean-Paul Calderone
df1a51cb60 Have the project source available to the Docker build context 2019-04-04 10:49:39 -04:00
Jean-Paul Calderone
f39f6bf2f6 not sure why it doesn't work the other way 2019-04-04 10:45:17 -04:00
Jean-Paul Calderone
f794160dcf Split setup-virtualenv.sh into a few pieces
Some of the pieces may be usable in Docker image creation
2019-04-04 10:27:51 -04:00
Jean-Paul Calderone
c1e617abc9 Get rid of the CircleCI caches 2019-04-04 10:07:06 -04:00
heartsucker
0750dbac38
updated all python files to use pep-3110 exception syntax for python3 compatibility 2019-04-04 11:57:58 +02:00
heartsucker
ef6cc501f6
Merge pull request #592 from tahoe-lafs/3020-remove-long-literals
updated python2 long numeric literals for python3 compatibility
2019-04-04 11:52:44 +02:00
Jean-Paul Calderone
19c7a2af85 and the other one 2019-04-03 15:58:41 -04:00
Jean-Paul Calderone
b484b8b1e0 Add the Dockerfile... 2019-04-03 15:58:14 -04:00
Jean-Paul Calderone
ca750dfd0e Build Ubuntu images and switch builders 2019-04-03 15:52:08 -04:00
Jean-Paul Calderone
fa09e7fa3d Stop pretending the username is a variable 2019-04-03 15:46:58 -04:00
Jean-Paul Calderone
57e261fbf8 we have no BASH_ENV I suppose 2019-04-03 15:37:21 -04:00
Jean-Paul Calderone
e911b0d958 Perhaps from this file... 2019-04-03 15:29:34 -04:00
Jean-Paul Calderone
02d91b5ea6 Factor openssl decryption and docker login into separate steps 2019-04-03 15:24:58 -04:00
Jean-Paul Calderone
b658b30b19 no longer supplied 2019-04-03 15:05:23 -04:00
Jean-Paul Calderone
e3d572b6b4 Get Debian 8 switched over as well 2019-04-03 14:41:50 -04:00
Jean-Paul Calderone
bf2c43a500 fix the Dockerfile syntax 2019-04-03 14:41:36 -04:00
Jean-Paul Calderone
3a01938159 Do some more package installation in the ci image 2019-04-03 14:34:13 -04:00
Jean-Paul Calderone
03d19dc93f Use the image we can build 2019-04-03 14:27:45 -04:00
Jean-Paul Calderone
67586c68db Get the image tagged with the right name for the push 2019-04-03 14:19:10 -04:00
Jean-Paul Calderone
3a20912ecf Re-generate with a new key because I leaked the old one 2019-04-03 14:18:19 -04:00
Jean-Paul Calderone
ff49e4e38f note a manual prereq 2019-04-03 14:18:13 -04:00
Jean-Paul Calderone
c55e2d141e be explicit about digest algorithm
it changes from version to version
2019-04-03 14:11:10 -04:00
Jean-Paul Calderone
c8d355326a okay I give, what the hell? 2019-04-03 14:05:12 -04:00
Jean-Paul Calderone
e7b7a6a836 Try using -pass instead of -k 2019-04-03 14:00:26 -04:00
Jean-Paul Calderone
8915f86233 Try re-encrypting with a new key
Previous build failed with:

bad decrypt
140431532411788:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:531:
Exited with code 1
2019-04-03 13:47:10 -04:00
Jean-Paul Calderone
1d8cf210e9 haha that's not debian. 2019-04-03 13:44:00 -04:00
Jean-Paul Calderone
59231d19ed Gotta have the decryption tool 2019-04-03 13:41:33 -04:00
Jean-Paul Calderone
e4607d2b21 Actually checking it in might help 2019-04-03 13:37:59 -04:00
Jean-Paul Calderone
81fbc1dfb5 maybe this will get the path right?
probably not
2019-04-03 13:37:38 -04:00
Jean-Paul Calderone
3cf9e05efd nope, that was wrong, but this seems to be right. 2019-04-03 13:28:42 -04:00
Jean-Paul Calderone
88f43ad413 perhaps use Docker correctly 2019-04-03 13:26:48 -04:00
Jean-Paul Calderone
f53e166803 Nope. Set via secret-env-cipher. 2019-04-03 13:22:16 -04:00
Jean-Paul Calderone
37ece9dfc6 news fragment 2019-04-03 13:16:59 -04:00
Jean-Paul Calderone
fdbfed55d7 Try not to check in the environment plaintext 2019-04-03 13:16:46 -04:00
Jean-Paul Calderone
7f354abd63 Add the secret environment needed to push images to Dockerhub 2019-04-03 13:15:47 -04:00