Add set-token command
This is a follow up of swh-scanner!72 (closed). The set-token command prompt the user to fill a token if not provided by args. It checks the token is valid and then write it to configuration file.
Related swh-scanner#4590
Migrated from D8967 (view on Phabricator)
Merge request reports
Activity
Build has FAILED
Patch application report for D8967 (id=32304)
Rebasing onto bccab2b2...
Current branch diff-target is up to date.
Changes applied before test
commit 0fe9e05713c031a9949b4e6d3e106a0d2544f973 Author: Franck Bret <franck.bret@octobus.net> Date: Mon Dec 19 11:14:08 2022 +0100 Add set-token command This is a follow up of swh/devel/swh-scanner!72. The set-token command prompt the user to fill a token if not provided by args. It checks the token is valid and then write it to configuration file. Related swh/devel/swh-scanner#4590
Link to build: https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/98/ See console output for more information: https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/98/console
Try to fix previous CI error
Previous commit fail on CI with following error:
10:24:32 > assert keycloak_oidc.server_url == server_url 10:24:32 E AssertionError: assert 'http://keycl...eycloak/auth/' == 'http://localhost:5080/auth' 10:24:32 E - http://localhost:5080/auth 10:24:32 E + http://keycloak:8080/keycloak/auth/
Build has FAILED
Patch application report for D8967 (id=32305)
Rebasing onto bccab2b2...
Current branch diff-target is up to date.
Changes applied before test
commit 87be31f7ea839916e7c4f8cd2c76c079f93e0aa1 Author: Franck Bret <franck.bret@octobus.net> Date: Mon Dec 19 11:14:08 2022 +0100 Add set-token command This is a follow up of swh/devel/swh-scanner!72. The set-token command prompt the user to fill a token if not provided by args. It checks the token is valid and then write it to configuration file. Related swh/devel/swh-scanner#4590
Link to build: https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/99/ See console output for more information: https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/99/console
requested review from @anlambert
@anlambert Closing this old one. Let's continue there !55 (merged)