Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

refactor: moved demo func accounts to separate file; added cleanup to func account handling

wakonig_k requested to merge refactor/func_account_cleanup into main

Description

Refactoring related to the management of deployment files.

Type of Change

  • Removed hard-coded demo accounts and placed them in a dedicated .functional_accounts.json file. This file should be overwritten in deployments.
  • The mongodb datasource will add / update / remove accounts as needed, ensuring that the .functional_accounts file is properly mapped.
  • A dedicated group (atlas_func_account) is automatically added to all functional accounts to more easily identify them.
  • Added support to also place the redis/mongodb env file in the deployment directory.

Potential side effects

Since existing mongodb documents won't have the atlas_func_account entry, I would recommend to delete all user accounts and credentials from your test instance before restarting the backend server.

Definition of Done

  • Documentation is up-to-date.
Edited by wakonig_k

Merge request reports

Loading