blob: 1875cb50ddc4579baf03310f962373b7113d6757 [file] [log] [blame]
E. Scott Daniels2301eb82020-07-15 13:46:51 -04001
2This repo houses various platform utility projects. Each project
3is managed in a separate subdirectory under the repo root. The
4organisation of the proejct is not mandated; what ever makes
5sense for the project should be used. Please refer to the
6README at the project's root directory for project details.
7
8Projects are likely to maintain the following files in their
9top level directory:
10 README
11 CHANGES
12 STYLE
13 Dockerfile
14 TESTING
15 xapp-descriptor/config.json
16
17While these files aren't required, they are stronly encouraged.
18
19Unfortunately, due to the CI organisation it is not possible to
20completely segregated the projects. The overlapping directories
21are described below.
22
23Docs
24The CI jobs which move documentation to a remote repository
25do not generate the documentation during the execution of the
26job, but expect that the repo contains already formatted
27documentation in a known directory: docs/. This means that
28all project documents being made available for the CI automation
29to move will have to reside in the same location. To avoid
30conflicting document names, the project directory is expected
31to be used as a prefix to all of the files in docs/. For
32example, mgxapp_ will be used for the Metrics Generator xAPP's
33documentation.
34
35
36Release Triggers
37The CI job(s) which build and push packages and images are triggered
38by file changes in the releases directory. The CI automation
39permits multiple files to reside in this directory and keys
40on a single file change. All files in the releases directory
41are also epected to have the project name used as the prefix.
42Unless it is impossible, there should be only one release file
43per project (not one for each version).
44
45
46Non-Project Files
47The CI jobs also require a smattering of files at the root of
48the repo which are not for the use of the project. These include:
49
50 INFO.yaml -- describes the repo, commiters, and owners
51 tox.ini -- required for CI document scraping
52 .readthedocs.yaml -- required for CI document scraping