Page MenuHomeSoftware Heritage

Deploy deposit v0.13 in production
Closed, MigratedEdits Locked

Description

Plan:

  • Install existing users into keycloak
  • Deploy configuration change
  • Ensure integration test is still happy
  • further checks (service document access with auth, refuse access, ...)
  • Deploy memcached
  • Checks

Event Timeline

ardumont triaged this task as Normal priority.Mar 29 2021, 1:54 PM
ardumont created this task.
  • D5372: Install keycloak deposit client into the production realm.
  • Install existing deposit users into keycloak:
$ cd snippets/ardumont/keycloak
$ python -m migrate_users_to_keycloak --server-url https://auth.softwareheritage.org/auth/ --realm-name SoftwareHeritage --admin-user ardumont --admin-pass "$(pass ls ardumont/swh/keycloak | head -1)" --credentials-path /tmp/production-users.yml
INFO:__main__:keycloak server: https://auth.softwareheritage.org/auth/ ; realm: SoftwareHeritage
INFO:__main__:Client: swh-deposit ; client role: swh.deposit.api
INFO:__main__:User 'hal' installed.
INFO:__main__:User 'swh' installed.
INFO:__main__:User 'intel' installed.
INFO:__main__:User 'hal-preprod' installed.
INFO:__main__:User 'hal-test' installed.
INFO:__main__:User 'ipol' installed.
ardumont changed the task status from Open to Work in Progress.Mar 29 2021, 5:57 PM
ardumont moved this task from Weekly backlog to in-progress on the System administration board.
ardumont claimed this task.
ardumont moved this task from deployed/landed/monitoring to done on the System administration board.