Commit Graph

26 Commits

Author SHA1 Message Date
Anselme, Schubert (sa246v) 5df69442b0 Deprecating the Ingress Class Annotation
Upgrading htk to version 0.2.55, which deprecates the ingress class
annotation (kubernetes.io/ingress.class) with .spec.ingressClassName

https://review.opendev.org/c/openstack/openstack-helm-infra/+/891720

Change-Id: I304b3239f6d9f1951de03bd821c8ba4c0a5b9a60
Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com>
2023-10-05 22:55:39 +00:00
Sergiy Markin cdcdbd292d Airflow stable 2.6.2
This PS updates python modules and code to match Airflow 2.6.2:

- bionic py36 gates  were removed
- python code corrected to match new modules versions
- selection of python modules versions was perfoemed based on
  airflow-2.6.2 constraints
- airskiff deploy pipeline was aligned with latest in treasuremap v1.9

Change-Id: If6f57325339995216d2553c7a5ff56e7673b5acc
2023-08-19 00:37:37 +00:00
Sergiy Markin 386a686e69 [focal] Python modules sync with Airship project
- armada-airskiff-deploy is voting gate again
- fixed falcon.API deprecation - -> falcon.App
- fixed collections.abc.defaultdict not found error
- fixed tox4 requirements
- implemented requirements-frozen.txt approach to make allike as other
  Airship projects
- uplifted docker version in the image building and publishing gate

Change-Id: I337ec07cd6d082acabd9ad65dd9eefb728a43b12
2023-04-21 23:49:14 +00:00
SPEARS, DUSTIN (ds443n) 099de8aaf4 Bump k8s client to v25.3.0
Bumping k8s client to v25.3.0
Cronjob batch v1beta1 no longer available in k8s 1.25
Update tox.ini file to be compatible with v4

Change-Id: Iac79c52c97c9ef1223ae8d502da1572ef8d068fa
2023-01-18 11:25:05 -05:00
Ruslan Aliev ef0ac2f252 Bump helm version from 3.6.3 to 3.8.2
Also bump k8s dependency to v1.23.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I188788a41419184cc3dd9172f54ab3a290cabe83
2022-06-30 22:19:56 -05:00
anthony.bellino 973338590f Gate fix for py36
Pin cmd2 1.5.0

Change-Id: I1e20818f47b933dfc0dc78785fd3664d774c7263
2021-06-22 16:01:05 +00:00
anthony.bellino 84edebc470 Gate fixes for Armada
* airskiff gate fixes
  - Pin treasuremap to v1.9 branch
  - Pin openstack-helm-infra to master
  - Remove openstack client setup as it's not used
* Pin typing-extensions to 3.7.2

Change-Id: I52bf733fb1d2b9164378729e17660ec401fbb89a
2021-06-02 14:45:14 -07:00
Rick Bartra a1b693b84d fix: Gate fix for Armada cover, pep8, and docs gates
Now that the Armada gates are running on Focal(20.04), grpcio
and pyflakes need to use a version compatible with python3.8 and Ubuntu
20.04

Change-Id: I1071d211e5a6c4a5fcdad9818f735fcb3c97d962
2020-09-15 15:01:29 -04:00
HUGHES, ALEXANDER (ah8742) b787c418e3 Standardize Armada code with YAPF
From recently merged document updates in [0] there is a desire to
standardize the Airship project python codebase.  This is the effort
to do so for the Armada project.

[0] https://review.opendev.org/#/c/671291/

Change-Id: I4fe916d6e330618ea3a1fccfa4bdfdfabb9ffcb2
2019-07-31 10:16:15 -05:00
Drew Walters 163cacd973 style: Pin YAPF to 0.26.0
CI jobs are failing due to new YAPF style guidelines [0] that are not
PEP8 compliant. This commit pins YAPF to 0.26.0 to prevent non-compliant
regressions in the gate.

[0] https://github.com/google/yapf/blob/master/CHANGELOG

Change-Id: I030031f3748cddc5fce3020e7bcfe324b666cbd8
2019-04-08 19:21:39 +00:00
Sean Eagan 8d54bd4c3a Move grpc tools to test requirements
Grpc tools is only needed for `make protoc` to generate the tiller grpc code.

This will result in it being removed from Armada's docker image as well as
Shipyard's once the Armada git reference is uplifted there to include this change.

Change-Id: Iede466db4fd2d157c2f86235dc6b6e35c706d8d8
2019-01-29 13:12:56 -06:00
anthony.bellino 63e63a3c30 Fix for yapf v0.24.0
This PS fixes yapf v0.24.0 errors. Also updates tox.ini
and test-requirements.txt accordingly.

Change-Id: If1dd0e51d328ad976bf0a7bfd512425c4da4ac0a
2018-09-11 20:39:25 +00:00
Sean Eagan c6dbf3344d Pin yapf version
The output with yapf version 0.24.0 has some changes which are in
conflict with the flake8 E126 rule. Hence pinning to <=0.23.0 for now.

Change-Id: I80b4094673eeca6dddc4fde0c324e0f5d9ec5d99
2018-09-10 15:28:56 -05:00
Marshall Margenau f235512d57 Adding yapf config, plus formatted code.
- Adding yapf diff to pep8 target
- Adding yapf tox target to do actual format

** The rest of this PS contains formatted code only, no other changes

Change-Id: Idfef60f53565add2d0cf65bb8e5b91072cf0aded
2018-06-22 14:56:04 -05:00
Felipe Monteiro 354cc14c59 Use stestr as the test runner for unit tests
This patchset changes Armada to use stestr instead of pytest
for running unit tests as it is the officially sanctioned
test runner in OpenStack [0].

[0] https://openstack.nimeyo.com/119685/openstack-dev-recent-changes-in-testr-and-migrating-stestr

Change-Id: I4f1320968990d9d9cc4d50cac0f2eecc3a0d331c
2018-06-08 21:50:03 +00:00
Tin Lam c39d21eec8 fix(coverage): add coverage rc file
The tox coverage refers to a non-existing rc file. This patch set
redresses this by putting in a proper .coveragerc file similar to
all the other projects.

This patchset also makes the tox coverage job compatible w/ Zuul.

Change-Id: I96a3d13482053b591f7d01e1c5c1e906d84f8fb7
Depends-On: If3cba68492ba9c7a0e78258c7b669d1b39fcdeba
Signed-off-by: Tin Lam <tin@irrational.io>
2018-06-08 06:42:57 +00:00
Marshall Margenau (mm8789) efd42dfab2 bug(chartbuilder): uncaught exceptions on bad manifests
Armada was able to throw exceptions all the way up to invocation. To address:
- remove 'supermutes dotify', which was throwing exceptions
- refactor chartbuilder after removing dotify
- rework some helm wait/timeout logic, exposed during bug squash
- rename some variables to make their function more clear

Note: This has potentially breaking changes to existing charts, in the sense
    that documents previously validated (improperly) may now give errors.

Change-Id: I9a6c99aa8ba3d666405e0ccf49a847fd01807b69
2018-03-29 15:15:00 -04:00
Bryan Strassner 7a2ba22ab1 [390136] Add timeout options to Armada client
Allows for timeouts to be specified for each Armada client call,
and sets a more reasonable default for connect timeout of 20 seconds
instead of 3600 seconds.  Read timeout default remains at 3600s

Change-Id: I6bb04a6c8d55db4b98310f62ea6f037b3efdde24
2018-03-05 18:02:07 -06:00
gardlt 2cf7f17a2c feat(armada): generic-exception
- generic exception in errors

The goal of this is to move all exceptions into one file and generic format.
This aligns with the UCP projects.

Change-Id: I1862f08409182c77b03eaeb9e6bd3209d72c5cee
2017-11-29 21:42:56 +00:00
gardlt cba78d1d03 style(armada): converting py2 to py3
- Format code to python 3.5
- using absoulute paths

Change-Id: I7414b5de915429c2c7f85b99f2ab91f395c62121
2017-10-10 19:55:20 +00:00
Felipe Monteiro d143c6b487 [docs] Armada documentation warning-is-error True.
This PS adds warning-is-error = 1 under [build_sphinx] in setup.cfg
so that warnings can be caught.

A number of warnings/errors while building the docs are have been
corrected by this PS as well.

Change-Id: I445369c802e559c629a685024575bd562ea05a1b
2017-10-06 15:12:28 -04:00
Alexis Rivera De La Torre d17485f8b9 [feat] adding-tox-testing
- tox commands
- docs update

Change-Id: Ie6caa498d6017822e095ee5b001124074e2755aa
2017-08-11 16:48:57 +00:00
drewwalters96 f4303037cc [Bug] Adds required Oslo configuration to API and unit tests
- Register Oslo logging configurations in server.py, test_armada.py, test_chartbuilder.py, and test_tiller.py
- Add mock to test-requirements.txt
- Update .travis.yml
- Add mock case for tiller IP
2017-06-28 18:03:27 -05:00
gardlt c1fa5c3e52 testing-utils-lib
* added unittest for the utils module
2017-06-28 12:47:26 -05:00
gardlt 68d95bdcc5 [feature] restructure-clean-up-project
* updating file-structure
* update docker file
* update develop docs
* update api and cmd
2017-06-12 09:06:17 -05:00
gardlt 6ab4c3082e [travis-ci] adding-pipeline-for-testing
* added travis file
* updated README.md
* added linting and tox
2017-02-14 15:13:13 -06:00