blob: e4d18a84c4e36a6e4dafb1c7aa81e8d2f2d785f6 [file] [log] [blame]
Joey Armstrong34f18402023-07-21 18:58:10 -04001.. _pull-request--commit-message:
2
3Repository commit message
4=========================
5
6- First line in a commit message is special.
7- 50 cpl max to avoid complaints about length.
8- Mention a jira ticket (VOL-xxxx) and the ticket will receive status updates from jenkins.
Joey Armstrong3980d702023-08-23 10:57:18 -04009- Additional jira ticket dependencies can be listed on line 3+
Joey Armstrong34f18402023-07-21 18:58:10 -040010
11.. code:: bash
12
13 [VOL-5048] - Build and deploy for VOLTHA v2.12 release.
14
Joey Armstrong3980d702023-08-23 10:57:18 -040015 [VOL-5049]
16 [VOL-5050]
17
Joey Armstrong34f18402023-07-21 18:58:10 -040018 api/pom.xml
19 app/pom.xml
20 pom.xml
21 -----------
22 o Update copyright notice to span CCYY.
23 o Update maven plugins spotbugs and findsecbugs.
24 o Update sadis component to vX.Y.Z
25
26 pkg/*
27 Makefile
28 ----------
29 o Update copyright notice.
30 o Run gofmt -s -w on all golang sources.
31
32 VERSION
33 -------
34 o Increment version string to non-dev for release.
35
36 Job Directives
37 --------------
38 verify_{project}_licensed
39 verify_{project}_tag-collision
40 verify_{project}_unit-test
41 verify_{project}_sanity-test
42
43 hardware test functional tests
44 voltha test openonu multiolt
45 voltha 2.8 test openonu multiolt
46
47git commit ...
48--------------
49
50- A commit message can be constructed using either
51
52 - -F <file>
53 - --message="inlined text"
54
55.. code:: bash
56
57 $ vi commit.txt
58 $ git add *stuff*
59 $ git commit --F ./commit.txt
60 # appropriate git rebase command
61 $ git review --reviewers tux@onf.org foo@onf.org bar@onf.org
62
63Commit Message: extra credit
64++++++++++++++++++++++++++++
65
66Additional commit message directives are available that will augment tasks
67performed by a job. Additional test suites can be requested for a job run
68by including tokens found here.
69
70`Tokens
71<https://docs.voltha.org/master/testing/voltha_test_automation.html#per-patchset-verification-jobs>`_ can be embedded within a commit message to enable running additional test suites as part of jenkins validation.
72
73Troubleshooting:
74++++++++++++++++
75
76There have been a few reports of additional testing not beeing initiated
77by a commit. If you encounter this behavior visit the
78`VOLTHA jira site <https://jira.opencord.org/secure/Dashboard.jspa>`_
79and open a trouble ticket detailing the changeset URL or a repository
80and commit message text.
81
82Commit hooks can be repository specific and may need to be
83deployed/enabled/updated to support requestd functionality.