You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/conductor/getting-started.md
+23-16Lines changed: 23 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,32 @@
1
1
# Getting started with Conductor
2
2
##
3
3
4
-
Conductor will group and schedule automated dependency updates on your own Continuous Integration platform. If the update succeeds, Conductor sends you a pull request to your code hosting platform (GitHub, GitLab, Bitbucket) with the changed composer.lock file and, if necessary, other files modified by Composer plugins or scripts.
4
+
Conductor will group and schedule automated dependency updates on your own continuous integration platform. If the update succeeds, Conductor will send you a pull request to your code hosting platform (GitHub, GitLab, Bitbucket) with the changed composer.lock file and, if necessary, other files modified by Composer plugins or scripts.
5
5
6
-
To use Conductor:
6
+
Prerequisites for receiving dependency update PRs from Conductor:
7
7
8
-
- You need to be approved for early access to Conductor. [Join to the waitlist](/features/conductor) and wait for approval.
9
-
- You need a Private Packagist trial or subscription on the cloud plan.
10
-
- You need to add a workflow to your Continuous Integration platform to run Composer updates, described below.
8
+
- Receive early access to Conductor. [Join the waitlist](/features/conductor) and wait for approval.
9
+
- Set up an organization on Private Packagist Cloud either with a free trial or subscribe to the cloud plan.
10
+
- A synchronization in your Private Packagist organization with your code hosting platform.
11
+
- A workflow on your continuous integration platform to run Composer updates.
11
12
12
-
## Add packages to update automatically
13
+
## Set up synchronization
13
14
14
-
Once you have a Private Packagist organization and Conductor is enabled for you, log into your Private Packagist organization and click on the "Updates" tab in the main navigation.
15
+
Once you have a Private Packagist organization and Conductor is enabled for you, log into your Private Packagist organization and head to the "Settings" tab in the main navigation.
16
+
Under the "Synchronization" entry you can add [one or more synchronizations](/features/integration-github-bitbucket-gitlab.md) with an organization on your code hosting platform.
17
+
This is how you grant us access to your VCS repositories. The synchronization will automatically add any repository with a composer.json file in the root directory as a package to Private Packagist.
15
18
16
-
Conductor will manage dependencies for packages added to Private Packagist [via synchronization](/features/integration-github-bitbucket-gitlab.md) that have a composer.lock file committed to the repository.
19
+
## Configure Conductor for your packages
17
20
18
-
## Create a workflow on your CI
21
+
Access the "Conductor" tab in the main navigation to see a list of available packages that can have their dependencies updated by Conductor.
22
+
Each package shown is linked to its VCS repository to which Conductor will send pull requests with dependency updates. Your Composer projects or applications are also a kind of package and must be added to Private Packagist as regular packages to use Conductor on them.
23
+
Conductor can only manage dependencies for packages added to Private Packagist [via synchronization](/features/integration-github-bitbucket-gitlab.md) that have a composer.lock file committed to the repository.
24
+
25
+
To get started, click on the configure link displayed next to the package which you would like Conductor to update. Follow the instructions for your continuous integration platform.
19
26
20
27
### GitHub Actions
21
28
22
-
Create a new GitHub Actions workflow in `.github/workflows/dependency-update.yaml` of your GitHub repository using the template below:
29
+
Create a new GitHub Actions workflow in `.github/workflows/conductor.yaml` of your GitHub repository using the template below:
23
30
24
31
CONDUCTOR_GITHUB_ACTIONS_WORKFLOW
25
32
@@ -31,16 +38,19 @@ We recommend to create a dedicated authentication token with update access. You
Conductor needs to verify your CI setup before you can start receiving pull requests.
47
+
Conductor needs to verify your CI setup before you can start receiving PRs.
41
48
42
49
## Verify your CI setup
43
50
51
+
- Navigate to the "Conductor" tab in your Private Packagist organization.
52
+
- Click on the name of your package.
53
+
44
54

45
55
46
56
Right now all tasks are waiting for the CI verification task on top of the list. Conductor will not start with the regular schedule until this verification task was successful.
@@ -58,9 +68,6 @@ When you run into errors, troubleshoot and fix them. You can trigger the workflo
58
68
59
69
## How scheduling works
60
70
61
-
- Navigate to the "Updates" tab in your Private Packagist organization
62
-
- Click on the name of your package
63
-
64
71
The list shows groups of all available updates to be scheduled. Each group of updates is called a task. Conductor will schedule only one task at a time. All others are waiting for the task on top of the list to be successful or paused.
65
72
Once Conductor schedules a task it sends a payload to your CI platform that triggers the workflow you just added. The payload contains the commands Composer will run to update a group of dependencies from your package.
66
73
@@ -79,7 +86,7 @@ If all these steps succeeded, Private Packagist creates a pull request for the n
Once you reviewed the changes and merged the PR, Conductor will schedule the next task.
82
-
If you close the PR, the task will be paused and Conductor will schedule the next task. This is the same effect as using the "Pause" button in the UI. Conductor won't attempt to update the dependency to this exact version again but will schedule updates with newer versions.
89
+
If you close the PR, the task will be paused and Conductor will schedule the next task. Clicking the "Pause" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.
83
90
84
91
If you want to schedule any other task in the list, click on its name and use the button "Schedule now to create a PR".
0 commit comments