From a08a313f0233ec51975cdf6a8d564e145608eb06 Mon Sep 17 00:00:00 2001 From: Odoo's Mergebot Date: Fri, 11 Oct 2024 11:01:50 +0000 Subject: [PATCH] [FW][ADD] odoo.sh: new ci token usage closes odoo/documentation#11188 Forward-port-of: odoo/documentation#11172 Signed-off-by: Fabien Meghazi (fme) Signed-off-by: Stanislas Sobieski (sts) Co-authored-by: Fabien Meghazi Co-authored-by: Stanislas Sobieski --- .../odoo_sh/getting_started/settings.rst | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/administration/odoo_sh/getting_started/settings.rst b/content/administration/odoo_sh/getting_started/settings.rst index b29a74ecb..f2ab23e23 100644 --- a/content/administration/odoo_sh/getting_started/settings.rst +++ b/content/administration/odoo_sh/getting_started/settings.rst @@ -217,6 +217,26 @@ Production and staging builds are excluded, visitors can only see their status. .. _odoosh-gettingstarted-settings-modules-installation: +GitHub commit statuses +====================== + +This option enables Odoo.sh to push commit statuses to your GitHub repository when a build is +created or updated. It requires a GitHub token with permissions to push commit statuses to the +repository. Refer to `GitHub's documentation on personal access tokens `_ +for instructions to create yours. + +.. note:: + GitHub's **fine-grained personal tokens** have an expiration date and will be disabled if they + fail to update the commit status. You can replace the token at any time on Odoo.sh. + +The commit statuses pushed to GitHub can have the following contexts: + +- :guilabel:`ci/odoo.sh (dev)`: status of a development build +- :guilabel:`ci/odoo.sh (staging)`: status of a staging build +- :guilabel:`ci/odoo.sh (production)`: status of a production build +- :guilabel:`ci/odoo.sh (test_ci)`: testing the token from the Settings page will push a test + status on the last commit of your repository + Custom domains ==============