Automatic setup (OD-959)
andrzej opened 3 years ago

Is there a possibility to setup onedev server without any manual interaction? Currently, after running docker image or deploying helm chart and opening onedev web page we are greeted wtih admin account creation form and form to pass server url. We are trying to make our deployment automatic (which would not need any manual interaction), so we would like to pass those information for admin account and server url either using helm chart/docker image environment variables or using REST API. Is it possible? or woud it be possible?

  • Artur commented 3 years ago

    @robin we can offer to sponsor development of such a feature.

    Our goal is to have a fully automated installation process, after which we could add users via REST API.

  • Robin Shen commented 3 years ago

    This should be rather simple. Will make this possible in next one or two patch releases.

  • Robin Shen changed fields 3 years ago
    Name Previous Value Current Value
    Type
    Support Request
    Improvement
  • Artur commented 3 years ago

    Thank you.

  • OneDev changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 years ago

    State changed as code fixing the issue is committed

  • OneDev changed state to 'Released' 3 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 3 years ago

    State changed as build #3082 is successful

  • Robin Shen commented 3 years ago

    Refer to below link for additional environment variables used for unattended setup:

    https://code.onedev.io/projects/162/files/main/pages/run-as-docker-container.md#additional-environment-variables

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-959
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover