Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • W Web Reflectivity
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • reflectometry
  • Web Reflectivity
  • Merge requests
  • !119

"superuser" option for custom command "adduser"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Borreguero Calvo, Jose requested to merge fixDuplicateSuperUser into next Jun 22, 2022
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 2

<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" decoding="async" class="lazy" data-src="https://img.shields.io/badge/reflectometry%20Task%20410%20-%20open%20-%20green">

Refs https://code.ornl.gov/sns-hfir-scse/reflectometry/reflectometry/-/issues/410

Description

Now that the database's volume is not removed between redeployment, we have to verify that the superuser account is already stored in the database. If this is the case, do not attempt to create the same superuser account. Instead, do nothing

Edited Jun 23, 2022 by Borreguero Calvo, Jose
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fixDuplicateSuperUser