Commit Graph

8 Commits

Author SHA1 Message Date
Scott Little d98a34ad1b import-stx: Avoid divide by zero
Fix a divide by zero error seen when the number_of_users
function returns zero.

At issue is that 'users' only counts logins, and can miss
builds running under automation such as jenkins.

Add code to detect potential automation accounts, just
jenkins so far, and to always return a value greater than
zero.

Also adding a few .gitignore entries for files generated by
stx build related scripts.

Closes-bug: 1959606
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I1369aa159088a17c24cc996be1ef2d36ecdc9cf6
2022-01-31 13:17:16 -05:00
Scott Little be49af9525 Add layer awareness to mirror-check.sh
This tool was missed when layered builds were introduced.
It looks for lst files under the wrong path. I've added
a layer arguement and fixed the path.

It also needs to ignore commented lines within lst files.

I also add dnf support.  Cloned from pkg-manager-utils.sh
since stx-tools is sometimes expected to stand on it's own.

One gap that I'm not addressing in this update.  It only
looks at the upstream repo, never at the cengn mirror.
If a package has been dropped by upstream, it reports as
missing.

Closes-Bug: 1908751
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: Idf4c9010c195f2fe8f7d0432c41c94fab00aec2c
2020-12-18 15:45:58 -05:00
Dean Troyer 88ba4d5f22 Add docs, releasenotes jobs
Also:
* Use build-openstack-docs-pti job template for docs
* Use build-openstack-releasenotes job for release notes
  (We can't use the OpenStack releasenotes template as it includes
  publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
  notes, re-using the releasenotes venv.
* Create a release summary note.
* Remove the unused 'true' tox environment.
* Fix doc/build in .gitignore

Change-Id: Ibe9d298bcc76f023c0500038db55d8384f5ff731
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-09-05 19:08:28 -05:00
Abraham Arce ed79155570 [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0] a release notes manager.

[0] https://docs.openstack.org/reno/latest/

Story: 2003101
Task: 24554

Change-Id: I812b92a60599edc28ace84f286200522a706e3cd
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-08-11 04:59:44 -05:00
Abraham Arce ea97b45e8e [Doc] Building docs following Docs Contrib Guide
Baseline changes to comply with OpenStack Documentation
Contributor Guide [0] starting with the following sections:

- Project guide setup
  - [1] sphinx-quickstart
  - [2] doc/source/ layout
- Building documentation
  - [3] tox -e docs
- Using documentation tools
  - [4] openstackdocstheme

[0] https://docs.openstack.org/doc-contrib-guide
[1] http://www.sphinx-doc.org/en/master/usage/quickstart.html
[2] https://docs.openstack.org/doc-contrib-guide/project-guides.html
[3] https://docs.openstack.org/doc-contrib-guide/docs-builds.html
[4] https://docs.openstack.org/openstackdocstheme/

Story: 2002708
Task: 24529

Story: 2002813
Task: 24530

Change-Id: Id9b49e84c79523df2ad6bca183f3407ef84d0f1a
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-08-11 03:21:33 -05:00
Guillermo Ponce c93dfe9126 Improving centos mirror Dockerfile
Change-Id: Ifb8235fa15e99297c50741ab0fcbb065a4d5f626
2018-06-20 14:11:07 -05:00
Dean Troyer 62bd0253f0 Add build tools
This includes Docker containers to perform the StarlingX build
and a set of scripts to maintain a local mirror of binary CentOS
and other packages required to populate the final ISO file.

Change-Id: I8140fd8fa2d00e7aa98c895a8e4962ab3748669d
2018-06-08 17:01:43 -05:00
Dean Troyer ff58416b7e Add test framework
Change-Id: I1607827524338a02f4b9e156fb1beef99124e0b0
2018-06-08 16:09:54 -05:00