Remove armada related code from the repo

As part of Armada deprecation we need to remove all unused
Armada related code for all applications that have been
migrated to FluxCD.

TEST PLAN:
PASS: build-pkgs -c -p openstack-helm,openstack-helm-infra,
      python3-k8sapp-openstack,stx-openstack-helm-fluxcd
PASS: Build stx-openstack tarball.
PASS: build-image -c
PASS: Upload/apply stx-openstack.
PASS: Remove/delete stx-openstack.

Story: 2009138
Task: 47880

Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Change-Id: Id5eaff3f7ac2278ef7c7cf50277cf27298d1a5c1
This commit is contained in:
Rafael Falcao 2023-04-25 15:52:51 -03:00
parent c66f115730
commit 3fc1978dfb
72 changed files with 2 additions and 4370 deletions

View File

@ -1,2 +1,2 @@
#stx-openstack-helm
stx-openstack-helm
#stx-openstack-helm-fluxcd
stx-openstack-helm-fluxcd

View File

@ -1,5 +1,4 @@
openstack-helm
openstack-helm-infra
python3-k8sapp-openstack
stx-openstack-helm
stx-openstack-helm-fluxcd

View File

@ -1 +0,0 @@
../../stx-openstack-helm/stx-openstack-helm/helm-charts

View File

@ -1,5 +0,0 @@
stx-openstack-helm (1.0-1) unstable; urgency=medium
* Initial release.
-- Tracey Bogue <tracey.bogue@windriver.com> Mon, 1 Nov 2021 13:15:42 +0000

View File

@ -1,24 +0,0 @@
Source: stx-openstack-helm
Section: libs
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13),
chartmuseum,
helm,
openstack-helm-infra,
openstack-helm,
procps,
python3-k8sapp-openstack-wheels
Standards-Version: 4.5.1
Homepage: https://www.starlingx.io
Package: stx-openstack-helm
Section: libs
Architecture: all
Depends: ${misc:Depends},
openstack-helm-infra,
openstack-helm,
python3-k8sapp-openstack-wheels
Description: StarlingX Openstack Armada Helm Charts
This package contains Armada helm charts for the Openstack armada
application.

View File

@ -1,41 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: stx-openstack-helm
Source: https://opendev.org/starlingx/openstack-armada-app/
Files: *
Copyright: (c) 2013-2021 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2021 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.

View File

@ -1,41 +0,0 @@
#!/usr/bin/make -f
# export DH_VERBOSE = 1
export ROOT = debian/tmp
export APP_FOLDER = $(ROOT)/usr/lib/application
export ARMADA_FOLDER = $(ROOT)/usr/lib/armada
export HELM_FOLDER = /usr/lib/helm
export TOOLKIT_VERSION = 0.2.19
%:
dh $@
override_dh_auto_build:
# Stage helm-toolkit in the local repo.
cp $(HELM_FOLDER)/helm-toolkit-$(TOOLKIT_VERSION).tgz helm-charts/
# Host a server for the helm charts.
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" \
--storage-local-rootdir="./helm-charts" &
sleep 2
helm repo add local http://localhost:8879/charts
# Create the TGZ file.
cd helm-charts && make nova-api-proxy
cd helm-charts && make pci-irq-affinity-agent
cd helm-charts && make garbd
cd helm-charts && make keystone-api-proxy
cd helm-charts && make fm-rest-api
cd helm-charts && make nginx-ports-control
cd helm-charts && make dcdbsync
# Terminate the helm chart server.
pkill chartmuseum
# Remove helm-toolkit. This will be packaged with openstack-helm-infra.
rm helm-charts/helm-toolkit-$(TOOLKIT_VERSION).tgz
override_dh_auto_install:
# Install the app tar file.
install -d -m 755 $(APP_FOLDER)
install -p -D -m 755 files/metadata.yaml $(APP_FOLDER)
install -d -m 755 $(ROOT)$(HELM_FOLDER)
install -p -D -m 755 helm-charts/*.tgz $(ROOT)$(HELM_FOLDER)
install -d -m 755 $(ARMADA_FOLDER)
cp -pR manifests/*.yaml $(ARMADA_FOLDER)

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,3 +0,0 @@
usr/lib/application/*
usr/lib/armada/*
usr/lib/helm/*

View File

@ -1,11 +0,0 @@
---
debname: stx-openstack-helm
debver: 1.0-1
src_path: stx-openstack-helm
src_files:
- ${MY_REPO}/stx/helm-charts/fm-rest-api/fm-rest-api/helm-charts
revision:
dist: $STX_DIST
GITREVCOUNT:
BASE_SRCREV: dec8d500612a680365906135526578dd2c56c161
SRC_DIR: ${MY_REPO}/stx/openstack-armada-app/stx-openstack-helm

View File

@ -1,5 +0,0 @@
This directory contains all StarlingX charts that need to be built for this
application. Some charts are common across applications. These common charts
reside in the stx-config/kubernetes/helm-charts directory. To include these in
this application update the build_srpm.data file and use the COPY_LIST_TO_TAR
mechanism to populate these commom charts.

View File

@ -1,3 +0,0 @@
apiVersion: v1
entries: {}
generated: 2019-01-07T12:33:46.098166523-06:00

View File

@ -1,23 +0,0 @@
disabled_charts:
- aodh
- barbican
- ceilometer
- ceph-rgw
- gnocchi
- ironic
behavior:
platform_managed_app: yes
evaluate_reapply:
after:
- platform-integ-apps
triggers:
- type: unlock
- type: force-unlock
- type: runtime-apply-puppet
- type: host-availability-updated
- type: kube-upgrade-complete
filters:
- availability: services-enabled
- type: host-delete
filters:
- openstack_worker: True

View File

@ -1,12 +0,0 @@
apiVersion: v1
generated: 2019-01-02T15:19:36.215111369-06:00
repositories:
- caFile: ""
cache: /builddir/.helm/repository/cache/local-index.yaml
certFile: ""
keyFile: ""
name: local
password: ""
url: http://127.0.0.1:8879/charts
username: ""

File diff suppressed because it is too large Load Diff