Some changes to the copy related to deployment groups (#2542)

Co-authored-by: José Valim <jose.valim@dashbit.co>
This commit is contained in:
Hugo Baraúna 2024-04-03 17:26:24 -03:00 committed by GitHub
parent 954ababc61
commit 23ab9796c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 12 deletions

View file

@ -208,7 +208,7 @@ defmodule LivebookWeb.Hub.Edit.TeamComponent do
</h2> </h2>
<p class="text-gray-700"> <p class="text-gray-700">
Deployment groups allow you to deploy notebooks to self-hosted machines with the click of a button. Deployment groups allow you to deploy Livebook apps to self-hosted machines with the click of a button.
</p> </p>
<.no_entries :if={@deployment_groups == []}> <.no_entries :if={@deployment_groups == []}>

View file

@ -91,7 +91,7 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupComponent do
<div data-toggler class="hidden text-sm flex space-y-4"> <div data-toggler class="hidden text-sm flex space-y-4">
<div class="flex flex-row space-x-2"> <div class="flex flex-row space-x-2">
<p class="grow text-gray-700"> <p class="grow text-gray-700">
You can list secrets exclusive to deployed notebooks here. Secrets that are exclusive to apps deployed to this group.
In case of conflicts, these secrets take precedence over Hub secrets. In case of conflicts, these secrets take precedence over Hub secrets.
</p> </p>
@ -146,13 +146,12 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupComponent do
> >
<div class="p-6 max-w-4xl flex flex-col space-y-3"> <div class="p-6 max-w-4xl flex flex-col space-y-3">
<h3 class="text-2xl font-semibold text-gray-800"> <h3 class="text-2xl font-semibold text-gray-800">
New deployment group instance Deployment group instance setup
</h3> </h3>
<p class="text-gray-700"> <p class="text-gray-700">
When using a online deployment groups, you are responsible for running the machines A deployment group instance is an instance of Livebook where you can
the notebooks will be deployed to. To do so, simply deploy the Dockerfile below to deploy Livebook apps via Livebook Teams.
start to a self-hosted Livebook agent.
</p> </p>
<.table id="hub-agent-keys-table" rows={@deployment_group.agent_keys}> <.table id="hub-agent-keys-table" rows={@deployment_group.agent_keys}>
@ -185,10 +184,9 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupComponent do
</.table> </.table>
<p class="text-gray-700"> <p class="text-gray-700">
You can deploy your team notebooks directly to a self-hosted agent instance. Use the Dockerfile below to set up an instance in your own infrastructure.
To do that, create an agent in the section above, then start an agent instance Once the instance is running, it will connect to Livebook Teams and become
using the Dockerfile below. Once the agent connects to the Livebook Teams server available for app deployments.
and it will become available for app deployments.
</p> </p>
<div class="flex flex-col gap-4"> <div class="flex flex-col gap-4">
@ -235,9 +233,9 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupComponent do
</h3> </h3>
<p class="text-gray-700"> <p class="text-gray-700">
To deploy a new notebook, open up the notebook of your choice and click To deploy a new app, open up a notebook of your choice and click
on the <.remix_icon icon="rocket-line" /> icon on the sidebar. Follow on the <.remix_icon icon="rocket-line" /> icon on the sidebar. Follow
the steps there to deploy your notebook with Livebook Teams. the steps there to deploy with Livebook Teams.
</p> </p>
</div> </div>
</.modal> </.modal>