
This is a re-submission of [1], which was reverted due to issues with centos builds. This change can merge now that centos is no longer supported. Fixed versioning and adjusted some build files to bring them as close to a standard as possible. - Remove centos files - Fix mismatch in plugin name, set to python3-k8sapp-APP - Standardize plugin debian files (rules, *.install) - plugin wheels saved to /plugin instead of /plugin/<app> Note: - Version tracking changes made in [1] were not added here as they are addressed in a different commit [1] https://review.opendev.org/c/starlingx/oidc-auth-armada-app/+/868293 Test Plan: PASS build-pkgs PASS wheel version updated PASS app tarball contains wheel file Story: 2010542 Task: 47516 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com> Change-Id: I18b99c9e68270b5dd5607ddaffb229904ac61c65
43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
#
|
|
# Copyright (c) 2020 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
from sysinv.common import constants
|
|
from sysinv.tests.db import base as dbbase
|
|
from sysinv.tests.helm.test_helm import HelmOperatorTestSuiteMixin
|
|
|
|
|
|
class K8SAppOidcAppMixin(object):
|
|
app_name = constants.HELM_APP_OIDC_AUTH
|
|
path_name = app_name + '.tgz'
|
|
|
|
def setUp(self):
|
|
super(K8SAppOidcAppMixin, self).setUp()
|
|
|
|
|
|
# Test Configuration:
|
|
# - Controller
|
|
# - IPv6
|
|
# - Ceph Storage
|
|
# - oidc-auth-apps app
|
|
class K8SAppOidcControllerTestCase(K8SAppOidcAppMixin,
|
|
dbbase.BaseIPv6Mixin,
|
|
dbbase.BaseCephStorageBackendMixin,
|
|
HelmOperatorTestSuiteMixin,
|
|
dbbase.ControllerHostTestCase):
|
|
pass
|
|
|
|
|
|
# Test Configuration:
|
|
# - AIO
|
|
# - IPv4
|
|
# - Ceph Storage
|
|
# - oidc-auth-apps app
|
|
class K8SAppOidcAIOTestCase(K8SAppOidcAppMixin,
|
|
dbbase.BaseCephStorageBackendMixin,
|
|
HelmOperatorTestSuiteMixin,
|
|
dbbase.AIOSimplexHostTestCase):
|
|
pass
|