Open gowrisankar22 opened 4 years ago
Hey @gowrisankar22 ,
are you sure this is currently broken?
Building it from source, I can get it working without problems:
SR_USERNAME=test SR_PASSWORD=test ./slirunner once --target local -c http://localhost:8080
(otherwise, the feedback would be pretty quick by saying "the required flags -p, --password' and
-u, --username' were not specified")
are you getting that error message?
@cirocosta I mentioned in the issue already: https://github.com/cirocosta/slirunner/issues/3 even for me it works in docker but not in the kubernetes setup ..i get below error.
➜ ~ k logs po/slirunner-8f48b9fd-28ckj
{"timestamp":"1585723680.169568539","source":"slirunner","message":"slirunner.run.login.start","log_level":1,"data":{"session":"1.1"}}
{"timestamp":"1585723680.311585426","source":"slirunner","message":"slirunner.run.login.finish","log_level":2,"data":{"error":"command execution failed: exit status 127","session":"1.1"}}
COMMAND FAILURE---
error: unknown target: ci
/bin/bash: line 3: -p: command not found
/bin/bash: line 4: -c: command not found
➜ ~ k logs po/slirunner-8f48b9fd-28ckj
{"timestamp":"1585723680.169568539","source":"slirunner","message":"slirunner.run.login.start","log_level":1,"data":{"session":"1.1"}}
{"timestamp":"1585723680.311585426","source":"slirunner","message":"slirunner.run.login.finish","log_level":2,"data":{"error":"command execution failed: exit status 127","session":"1.1"}}
COMMAND FAILURE---
error: unknown target: ci
/bin/bash: line 3: -p: command not found
/bin/bash: line 4: -c: command not found
{"timestamp":"1585723740.170141220","source":"slirunner","message":"slirunner.run.login.start","log_level":1,"data":{"session":"1.2"}}
{"timestamp":"1585723740.216677189","source":"slirunner","message":"slirunner.run.login.finish","log_level":2,"data":{"error":"command execution failed: exit status 127","session":"1.2"}}
COMMAND FAILURE---
error: unknown target: ci
/bin/bash: line 3: -p: command not found
/bin/bash: line 4: -c: command not found
offcourse it works if you pass -p and -u ..
@cirocosta