Skip to content

Commit 9e63737

Browse files
authored
Merge pull request #3478 from travis-ci/DU-40/Shared_Plans
Du 40/shared plans
2 parents 6a099b9 + eac4611 commit 9e63737

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed

_includes/sidebar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ <h3>Hosted Billing</h3>
129129
<ul>
130130
<li class="is-overview"><a href="/user/billing-overview/">Overview</a></li>
131131
<li><a href="/user/billing-autorefill/">Auto-refill</a></li>
132+
<li><a href="/user/plan-sharing/">Plan Sharing</a></li>
132133
<li><a href="/user/billing-faq/">FAQ</a></li>
133134
</ul>
134135

user/images/plan-sharing-sample.png

22.8 KB
Loading

user/plan-sharing.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: Plan Sharing Guide
3+
layout: en
4+
5+
---
6+
7+
Assembla’s billing model allows customers to pay once for an entire portfolio of projects and allocate the allowance across the projects. Travis CI modified the billing model to map Assembla’s spaces to Travis CI organizations and fulfill customer needs.
8+
9+
Travis CI introduces a flexible new feature that allows users to share paid plans across Assembla’s spaces. This innovation introduces two new roles to Travis CI plans: the Donor and the Receiver, providing users with more control over their resources.
10+
11+
> Note: The `Share Plan` feature is only available to Travis CI accounts (user or organization) with a current valid paid plan and linked to Assembla Spaces.
12+
13+
## Donor and Receiver
14+
Travis CI users with paid plans can enable the `Share Plan` feature and decide to share their plan with the available Spaces.
15+
16+
A Travis account (user or organization) that enables the `Share Plan` feature is referenced as the ***Donor*** account.
17+
18+
A ***Donor*** account consists of a Travis CI user or organization willingly sharing a Travis CI plan allowance with other Travis CI users or organizations.
19+
20+
A Travis account (user or organization) that benefits from the `Share Plan` feature is referenced as the ***Receiver*** account.
21+
22+
A ***Receiver*** account is a Travis CI user or organization that benefits from accessing a Travis CI Shared plan by a Donor account.
23+
24+
## How does a Shared Plan work?
25+
Only Travis CI paid plans are available for sharing with another Travis CI organization.
26+
27+
All Receiver accounts may trigger builds within the allowances of the original plan (the Donor's account plan). This means that the system tracks all metrics under the original plan, but there are now multiple sources for these metrics.
28+
29+
### Concurrency-based Plans
30+
Concurrency-based plans are available to all Travis CI accounts that use the Shared Plan, including Donor and Receiver accounts. When sharing a concurrency-based plan, the number of jobs is shared between all accounts. For example, if Donor account ***A*** decides to share a plan with 20 concurrent jobs with Receiver accounts ***B*** and ***C***. This means that all three accounts have a total of 20 concurrent jobs.
31+
32+
Here is an example:
33+
Donor account ***A*** runs a build with 10 concurrent jobs. This consumes 10 of the 20 available slots. Then, Receiver account ***B*** runs a build with 7 concurrent jobs, which consumes 17 out of the 20 available slots. Finally, if the Receiver account ***C*** runs a build with 5 or more concurrent jobs, only 3 jobs are available to start, while the remaining jobs must wait in the queue for free slots.
34+
35+
### User limits
36+
If the Donor’s plan has user license limits, only one pool of user licenses is consumed for both Donors and Receivers within the month.
37+
38+
A unique user triggering builds is checked against all accounts, not just one.
39+
40+
The user with the Donor account can see the number of unique users and which accounts consumed user licenses in a given month. The allowance gets deducted from the Donor’s allowance, and only the Donor account controls the user license allowance.
41+
42+
### License charges
43+
Users from ***Donor*** and ***Receiver*** accounts must consume a user license and incur the respective charges if applicable.
44+
45+
There is no double charge for the license for the same user, given that this user triggers a build and is a member of both the ***Donor*** and ***Receiver*** accounts simultaneously.
46+
47+
In other words, the user license consumption, which is a unique user triggering a build within a billing cycle, is tracked in the context of the plan. Regardless of whether the source build is triggered from the ***Donor*** or ***Receiver*** accounts.
48+
49+
### Credits
50+
The ***Donor*** user account is responsible for the plan’s credits.
51+
When the Donor plan has credits, both the Donor and the Receiver can use the credits from the account. Once the credits run out, the user with the Donor account is responsible for refilling the credits.
52+
53+
The user with the Donor account can see the credit consumption information for the shared plan. This way, the Donor account user can identify which accounts consumed the credits.
54+
55+
### Trial Plans
56+
Trial plans are not available for sharing.
57+
58+
A Travis CI organization account, which has been a Receiver of a shared plan at least once, if such user selects a Travis CI plan on its own, the user must not be able to see or enable a trial period or select a trial plan (unless there’s a higher than one trial period limit configured for a selected plan).
59+
60+
## Sharing a Plan
61+
Users with a paid plan can navigate to the Settings screen and select the `Share Plan` tab.
62+
63+
> Note: The `Share Plan` tab is only available to active Travis CI paid plan accounts.
64+
65+
As a plan ***Donor***, the Share Plan screen displays a list of available spaces for the Donor to select when sharing the Travis CI plan. To share the plan, click the ***Share Plan*** button for each desired space. Any selected spaces for sharing the plan will immediately display the start date for sharing the plan.
66+
67+
As a ***Receiver***, navigate to the Account screen, select the **Plan** tab, and check the available Spaces on the left-hand side. In the list, you will find the Space where a plan is being shared with your account.
68+
69+
The Receiver account can see the shared plan much like it would see a 'regular' plan, with the following annotations:
70+
71+
![Example of Plan Sharing](/user/images/plan-sharing-sample.png)
72+
73+
The ***Receiver*** may still select and purchase their own Travis CI plan by clicking the ***“Buy New Plan”*** button, which is available to each Travis CI organization (Linked with an Assembla Space) that can purchase its own Travis CI plan.
74+
75+
### Stop Plan Sharing
76+
77+
A Travis CI plan sharing can be ceased at any moment. The Donor account may stop sharing with a specific Receiver account or all Receivers in bulk.
78+
79+
The Travis CI user with the Donor account can navigate to the `Share Plan` tab and click the ***Stop Sharing*** button for any Space on the list.
80+
81+
Additionally, if the Donor account plan expires, the Receiver account will no longer be able to utilize the allowance. Whenever the Donor’s sharing plan stops, the Receiver does not have an active plan unless a new plan is assigned to the Receiver's account.

0 commit comments

Comments
 (0)