igagis
November 29, 2019, 3:39pm
1
Today I started getting errors due to env variable not set for those vars which are encrypted.
Here is the build:
https://travis-ci.org/igagis/morda/jobs/618617766
about 20 days ago it worked ok:
https://travis-ci.org/igagis/morda/jobs/609735669
and there were no changes to the encrypted variables since then.
It looks like it only happens for that particular repo, my other repos work ok.
I tried re-encrypting the variables, but it did not help:
https://travis-ci.org/igagis/morda/jobs/618639494
J-Rocke
November 29, 2019, 4:12pm
2
I did run into the same issues and contacted the support. They are working on a fix.
1 Like
This is probably connected to
Travis CI docs recommend encrypting the PyPI API token for deployment:
travis encrypt your-api-token --add deploy.password
However, this does not work with older repos. (I’ve only tested with .org repos.)
Old repo
For example, it doesn’t work for a repo whose .travis.yml was created (and therefore likely also enabled on travis-ci.org ) on 2017-04-04 :
$ ruby --version
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin17]
$ travis --version
1.8.10
$ travis encrypt "pypi-xxxxxxxxxxxx…
I suggested them to update keys on demand which would require no changes and minimal effort. But perhaps they decided to build some backward-compatible scheme instead…
igagis
December 2, 2019, 9:14pm
4
I contacted support and they reverted the changes which lead to the problem. Now it works OK.