File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,17 @@ we will make sure to communicate this first.
57
57
58
58
We recommend backing up your database before each update. We cannot guarantee that downgrading to a previous release will always work
59
59
due to database migrations. In case of upgrade failure, the most reliable way to rollback to the previous version is via backup.
60
+
61
+ ## Private Packagist Self-Hosted CLI
62
+
63
+ ### Updating all packages
64
+
65
+ Run the commands below to schedule update jobs on the worker for all packages on your installation. The flag ` --overwrite-data ` ensures
66
+ that all existing version data is downloaded from the source again and version data is overwritten if it has changed. The
67
+ flag ` --only-non-updated ` limits the set of packages to those which have only been initialized but never updated yet.
68
+
69
+ ```
70
+ export UI_POD=$(kubectl get pods --field-selector=status.phase=Running --no-headers -o custom-columns=":metadata.name"|grep ui-)
71
+ kubectl exec $UI_POD -c ui -- /bin/sh -c "/srv/manager/bin/console packagist:package:update-all --env=prod --no-debug [--overwrite-data] [--only-non-updated]"
72
+ ```
73
+
You can’t perform that action at this time.
0 commit comments