Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

219 bundle documentation #298

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions website/docs/admin_server_bundles_and_addons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
id: admin_server_bundles_and_addons
title: Bundles & Addons
sidebar_label: Bundles & Addons
description: Bundles & Addons Documentation.
toc_max_heading_level: 5
---

## Bundles vs Addon
A bundle is a set of addons.
An addon is a set of code and settings used to extend AYON server and pipeline.

Bundles can be marked as `production`, `staging`, `<dev-bundle-name>` variant.

:::note Launch with different variants
You can use different variants with the launcher.
You can specify which variant to use by using the following flags with AYON launcher:
- `--use-staging`
- `--use-dev`

You can override the default behavior and explicitly specify a bundle on launch, see:
[How to use different bundles with different projects?](https://community.ynput.io/t/how-to-use-different-bundles-with-different-projects/1096)
:::

:::note Dev variants
For a dev bundle the its dev variant has the sae name `<dev-bundle-name>`.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved
Dev bundles are only accessible for the **assigned admin user**.
Dev bundles will only be displayed if the user has **Developer Mode** enabled on the AYON web frontend.
:::

## How Settings work

This variant is used across the addons.
Each addon is saved on the server with different variant of settings.
The variant used in addons is exposed on the bundle.
The variant value on the bundle is like a main switch that set all the addons to use that variant value.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved

:::tip Settings management
For more info about setting management go to [Addon Settings](admin_server_settings_management.md#addon-settings)
:::

## Working with bundles
### Create bundles
You can create a bundle in multiple ways:
- `+ Add Bundle`
- Right-Click any bundle and Select `Duplicate and Edit` shortcut `Shift+D`
- Select any bundle and click `Duplicate and Edit` button on the upper right.

### Configure bundles

Bundles are configured on creation where you specify
- Bundle name
- Launcher version
- Dev bundle toggle
- Addon versions

After Creation these are locked and you can then only change
- Dependency Packages.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also still specify for which variant this bundle is active, like production, dev, etc.

- Change version of some server addons (that don't affect the pipeline). e.g. Jira Addon.

:::note
Dev bundle supports more configurations:
- Assigned dev
- Addon versions
- Addon client code directory. This special one allows developers to test the client code directory without uploading the addon.
However, they'll still need to upload the addons to update the settings on the server.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved
:::

## Working with Addons
### Install Addons

- `Addon Market`
- `Upload Addons`

:::tip
When updating pipeline release, new addons will be installed.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved
:::

### Uninstall Addons
- `Uninstall Versions` button.

:::caution
With local server deployment,
You can add or remove addons by extracting and deleting files from your addons directory on your ayon-docker server.
:::

:::info
Developers can upload/remove addons via ayon python api.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved
:::
29 changes: 29 additions & 0 deletions website/docs/admin_server_settings_management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
id: admin_server_settings_management
title: Settings Management
sidebar_label: Settings Management
description: Settings Management Documentation.
toc_max_heading_level: 5
---


## Team Settings

- Add Teams
- Add team members
- Roles

## Project Anatomy Settings

- Anatomy Presets
- Anatomy Settings
- Roots Override

## Addon Settings

*Addon settings are accessed via Bundles.*

- Studio Settings: Addon settings on studio level.
- Project Settings: Addon settings on project level. They inherit studio settings and allow pinned overrides per project. A pinned override does not inherit from studio settings anymore and is explicitly set on the project settings.
- Studio Site Settings: Addon local settings on studio level. They don't inherit (nor override) any other settings.
- Project Site Settings: Addon local settings on project level. They don't inherit (nor override) any other settings.
MustafaJafar marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ module.exports = {
"admin_server_email",
],
},
"admin_server_bundles_and_addons",
"admin_server_settings_management",
"admin_server_market",
"admin_server_updating_pipeline",
"admin_server_permissions",
Expand Down
Loading