tony-o / raku-fez

This project is for 'fez', raku's cool new shiny dist uploader & manager. If you're a module author you should definitely be using this sweet thang. ;;;;;;;;;;;;;; This project and the underlying infrastructure is supported out of my own pocket and through donations. If you'd like to donate please check here: https://www.patreon.com/oynot
Artistic License 2.0
20 stars 12 forks source link

SparrowCI automation publishing does not work #117

Open melezhik opened 11 months ago

melezhik commented 11 months ago

Hi @tony-o this is what I get:

11:50:09 :: All candidates are currently installed
11:50:09 :: =<< FATAL: Unable to prompt while --unattended is in use
11:50:09 :: task exit status: 1
11:50:09 :: task tasks/release FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/release/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
  in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/resources/7E8029CBEC6AEAB4CF3B86B0FA3D5E6E21936B90 line 13
  in sub MAIN at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 3
  in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 1

Sparrowci container does have a secret:

ubuntu@sparky02b:~/projects/SparrowCI$ docker inspect sparrow-worker |grep FEZ
                "FEZ_TOKEN=masked",

Full log is available - here - https://ci.sparrowhub.io/report/3796

melezhik commented 11 months ago

I run another build to make to sure FEZ_TOKEN gets passed and it does - https://ci.sparrowhub.io/report/3797

melezhik commented 11 months ago

the line {"groups":[],"un":"melezhik","key":"masked"}

melezhik commented 11 months ago

renewed token - still have this issue - https://ci.sparrowhub.io/report/3799 - probably need to debug straight in container

tonyooooooo commented 9 months ago

You should be able to see what the prompt is in the next version -

melezhik commented 9 months ago

Yeah , thanks , I guess I have already seen that , maybe I just installed the master one

tony-o commented 9 months ago

what is the prompt you're getting? that's probably a clue as to what it is causing the error

melezhik commented 9 months ago

I renewed token manually, so this errors has gone. But AFAIR the prompt was something about token expiration ...

melezhik commented 9 months ago

So on the master version of fez now I get this - https://ci.sparrowhub.io/report/4133