Commit Graph

23 Commits

Author SHA1 Message Date
Cristian Mondo 6b7d5ded67 Subcloud Name Reconfiguration
This change adds the capability to rename the subcloud after
bootstrap.
The "name" field is enabled in Horizon subcloud update form,
which allows to change the name of the subcloud.

Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/885832

Test Plan:
    PASS: Update subcloud name from UI
    PASS: Change and check Subcloud status from UI

Story: 2010788
Task: 48218

Signed-off-by: Cristian Mondo <cristian.mondo@windriver.com>
Change-Id: Ibec87811c6355a623d15566efce3192719f819b9
2023-09-08 19:21:28 -03:00
Zuul 717ab26f3c Merge "Update tox path for python3" 2023-05-11 20:31:57 +00:00
Al Bailey 5fff425f25 Update tox path for python3
- The reference to cgcs_patch was the older centos python2
location, and has now bee updated to the python3 debian
package.

- Removed 'legacy-resolver' from the pip install command.

- The basepython is now python3 and the upper-constraints
for debian and python3 are now specified.

- The older python2 to 3 conversion directives in pylint
have been removed, and only the errors that are currently
valid are being suppressed.

- The python2 vs python3 requirements are now updated to
only reflect python3.

- The zuul job for pylint specifies the debian nodeset.

- override tox constraints file to use the STX constraints
  This means starlingx/root needs to be a required project

None of these changes have any runtime effect.
These changes only affect tox and zuul.

Test Plan:
  PASS: tox

Story: 2010642
Task: 47916
Change-Id: I1cd8a78e5e26efc4b3d4b346749735e4de9f6016
Signed-off-by: Al Bailey <al.bailey@windriver.com>
2023-05-01 14:01:17 +00:00
Davlet Panech af025a3604 Fix github mirroring for this repo
Updating the rsa ssh host key based on:
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

Note: In the future, StarlingX should have a zuul job and
secret setup for all repos so we do not need to do this
for every repo.

Needed to rename the secret, because zuul fails if like-named
secrets have diffent values in different branches of the same
repo.

Partial-Bug: #2015246
Change-Id: I22001d1e7f8db6e3f664a479299885acce7a8df4
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2023-04-28 12:38:51 -04:00
Sharath Kumar K 170ac040d2 Tox and Zuul job for the bandit code scan in stx/gui
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/gui folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.

Configuration files:
1. tox.ini for adding bandit environment and command.
2. test-requirements.txt for adding bandit version.
3. .zuul.yaml file for adding bandit job and configuring under
   check job to run code scan every time before code commit.

Test:
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.

Story: 2007541
Task: 39683
Depends-On: https://review.opendev.org/#/c/721294/

Change-Id: I155c9f894f8b1d701f2c75e3e892e6b83a35b11e
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-06-04 14:13:28 +00:00
Bin Qian bbc3310b4f Adding job to upload commits to GitHub
Add job to publish gui repo to GitHub

Change-Id: Iabd8dcf43e0f05869a38ba8a2526976dfca2571c
Story: 2007252
Task: 38679
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2020-02-06 10:14:05 -05:00
Tyler Smith 57d102dc77 Fixing tox in developer environments
Changing zuul to use a different path to distcloud-client than
in developer environments.

Change-Id: I90e5da2bb2f3ee15e4600fb281b19f6982fc50b1
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-10-22 12:52:38 -04:00
Al Bailey 692e086a56 Fix tox and zuul files for re-org of packages
The cephclient was moved from integ to utilities.

The required projects in zuul are now alphabetized.

Change-Id: I5f52d3a4de8a5b7c617d14d98bb57519fafea4a1
Story: 2006166
Task: 36491
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-06 16:30:46 -05:00
Andreas Jaeger bf9cdebc22 Use Zuul templates
Use templates instead of individual jobs so that these
can be changed in one place.

Depends-On: https://review.opendev.org/677606
Change-Id: If7d0e22dbd443c4de006b0b5f9059aabb492406c
2019-08-21 12:56:50 +00:00
chenyan 17336123bd api, ceph: modify ceph api code to fit for the new cephclient.
Closes-Bug: 1827658

Change-Id: Icb7e1e87b45c7f6c278a35ea962e9b214e7e87dd
Signed-off-by: chenyan <yan.chen@intel.com>
2019-05-16 15:04:53 +08:00
Dean Troyer 246ab4045a Followup opendev cleanup and test jobs
Change-Id: Ica4ad64c50e32c717478ed43015d6bbdd4759b89
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-21 16:09:58 -05:00
OpenDev Sysadmins 79cbb3ceeb OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:27 +00:00
David Sullivan c75f3bb737 Move Controller services tab to stx-gui
Add a new tab to the system information panel. The new tab displays the
state of the controller services. This code was previously included in
the stx-upstream horizon repo.

Story: 2004552
Task: 30242
Change-Id: I223c60c18de782c637d0b67bad9b8dcfe71fd184
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
2019-03-28 12:12:51 -04:00
Kristine Bujold e79dcfae87 Enable zuul unit tests for stx-gui
Enable pylint and fix tox errors resulting from that.

Story: 2003863
Task: 27931

Change-Id: I3455f29ec182ed91966d4724cf49dceb314a1387
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-23 14:29:29 -05:00
Kristine Bujold f1013be39f Enable zuul unit tests for stx-gui
Enable linters

Story: 2003863
Task: 26695

Change-Id: I4a6e2029bdf9c83422dd968c39341f2429b6e312
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-13 13:48:17 -05:00
Dean Troyer dfe0ebc08a Add relnotes publish job
* Add pointers in the main doc to releasenotes pages
* Add publish-stx-releasenotes job
* Add search at bottom of relnotes page to trigger the job

Change-Id: Ia1d72b8d2a47c874e4d1d9131b53a21f6af18b41
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-12 15:08:13 -05:00
Dean Troyer d5914725c5 Add publish job for docs
Also set the theme to alabaster until starlingxdocs is ready

Change-Id: Ib61a6642e5a7f2122600958c6a6a8409c6ec3056
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-06 14:10:14 -05:00
Abraham Arce 1763a2d893 [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0]:

* 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.

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

Story: 2003101
Task: 26717

Change-Id: I03c426c9a493541a6b0be699bce59c69b3a6f3c3
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 05:44:57 -05:00
Abraham Arce f9fe2a4787 [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
- Use build-openstack-docs-pti job template for docs

[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: 26715

Story: 2002813
Task: 26716

Change-Id: Ida8172911766f055203ee6131a33fe40558d5fda
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 03:54:46 -05:00
Andreas Jaeger 613bc513d9 Run jobs in gate as well
Voting jobs should be run in both check and gate queue, add them.
This ensures that merged changes always pass.

Change-Id: Icd40783c7d066c8ae880df4befa8d8b74711c796
2018-09-05 20:33:36 +02:00
Lachlan Plant 86e815ea60 Enable pep8 for zuul
zuul now votes based on pep8
Story: 2003364
Task: 24419

Change-Id: I0bd497b1c869bf43c7812348f01ff41584c5e2a5
Signed-off-by: Lachlan Plant <lachlan.plant@windriver.com>
2018-08-29 14:55:11 -05:00
Dean Troyer a736b7ed44 Remove non-voting gate job
Change-Id: Idf019657d4629028351f239df0370fe7b54a6262
2018-06-29 14:30:15 -05:00
Dean Troyer c6dceb7001 Add default test framework
Change-Id: I5a20bfbd999cbf565a3904cb6f8b51d2d6e19b2f
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-09 08:49:23 -05:00