You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cannot encrypt a variable when we use the non interactive function #738
patrikx3@workstation:~/Projects/patrikx3/redis-ui-workspace/redis-ui$ travis encrypt 'GH_TOKEN=12345' -r patrikx3/redis-u--add --pro -i
Overwrite the config file /home/patrikx3/Projects/patrikx3/redis-ui-workspace/redis-ui/.travis.yml with the content below?
This reformats the existing file.
i can encrypt if i do it with manual, but i have 40 projects and i have to update the git hub token and i have an autmatic encrypt process, but since the last time, it is asking for y/n. so i asks for permission, i ask for a flag that auto allow to ask this permission
patrikx3@workstation:~/Projects/patrikx3/redis-ui-workspace/redis-ui$ travis encrypt 'GH_TOKEN=12345' -r patrikx3/redis-u--add --pro -i
Overwrite the config file /home/patrikx3/Projects/patrikx3/redis-ui-workspace/redis-ui/.travis.yml with the content below?
This reformats the existing file.
Activity
p3x-robot commentedon Apr 17, 2020
When i use the
--no-interactiveflag as:travis encrypt 'GH_TOKEN=1234' -r patrikx3/redis-ui --add --pro --no-interactiveit actually removes the variable... and show as this:
p3x-robot commentedon Apr 17, 2020
how can i automate encrypting the travis variable without interaction?
BanzaiMan commentedon Apr 17, 2020
Did this work for you? patrikx3/redis-ui@1dbd363
or did you do something different?
p3x-robot commentedon Apr 18, 2020
i can encrypt if i do it with manual, but i have 40 projects and i have to update the git hub token and i have an autmatic encrypt process, but since the last time, it is asking for
y/n. so i asks for permission, i ask for a flag that auto allow to ask this permissionBanzaiMan commentedon Apr 27, 2020
I see the issue. I'll work on a fix shortly.
BanzaiMan commentedon Apr 27, 2020
BTW, the proper invocation should be
(which doesn't work as of 1.9.0)
p3x-robot commentedon Apr 27, 2020
still not working:
As you can see. It is not including the GH_TOKEN
On the other hand, if it allows to ask for permissions, it works (no
--no-interactive):I suppose
--no-interactiveis not working as expected.BanzaiMan commentedon Apr 27, 2020
1.9.0 doesn't have it. You'll need to install the pre-release version with
--pre:gem install travis --pre.BanzaiMan commentedon Apr 27, 2020
And you need the
--no-interactiveflag, since the-i/--interactiveis the default.p3x-robot commentedon Apr 28, 2020
ok, thanks.
BerninaMad commentedon May 19, 2020