Remove CentOS/OpenSUSE build support
StarlingX stopped supporting CentOS builds in the after release 7.0. This update will strip CentOS from our code base. It will also remove references to the failed OpenSUSE feature as well. Story: 2011110 Task: 49958 Change-Id: I7fe10de6fd71701f142c8416b91cac3a338bf740 Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
b1e7cce32f
commit
bcbe18004a
@ -1 +0,0 @@
|
||||
flock
|
@ -1,2 +0,0 @@
|
||||
# Packages used by build-helm-charts.sh
|
||||
stx-monitor-helm
|
@ -1,3 +0,0 @@
|
||||
monitor-helm
|
||||
monitor-helm-elastic
|
||||
stx-monitor-helm
|
@ -1 +0,0 @@
|
||||
stx-monitor-helm
|
@ -1,2 +0,0 @@
|
||||
helm-charts-92b6289ae93816717a8453cfe62bad51cbdb8ad0.tar.gz#helm-charts#https://github.com/helm/charts/archive/92b6289ae93816717a8453cfe62bad51cbdb8ad0.tar.gz#http##
|
||||
helm-charts-elastic-945017287598479ba8653d9baf3ff26f7fe31e50.tar.gz#helm-charts-elastic#https://github.com/elastic/helm-charts/archive/945017287598479ba8653d9baf3ff26f7fe31e50.tar.gz#http##
|
@ -1,8 +0,0 @@
|
||||
TAR_NAME=helm-charts-elastic
|
||||
SHA=945017287598479ba8653d9baf3ff26f7fe31e50
|
||||
VERSION=1.0.0
|
||||
TAR="$TAR_NAME-$SHA.tar.gz"
|
||||
|
||||
COPY_LIST="${CGCS_BASE}/downloads/$TAR $PKG_BASE/files/* "
|
||||
|
||||
TIS_PATCH_VER=PKG_GITREVCOUNT
|
@ -1,80 +0,0 @@
|
||||
%global sha 945017287598479ba8653d9baf3ff26f7fe31e50
|
||||
%global helm_folder /usr/lib/helm
|
||||
%global helmchart_version 0.1.0
|
||||
%global _default_patch_flags --no-backup-if-mismatch --prefix=/tmp/junk
|
||||
|
||||
Summary: Monitor-Helm-Elastic charts
|
||||
Name: monitor-helm-elastic
|
||||
Version: 1.0
|
||||
Release: %{tis_patch_ver}%{?_tis_dist}
|
||||
License: Apache-2.0
|
||||
Group: base
|
||||
Packager: Wind River <info@windriver.com>
|
||||
URL: https://github.com/elastic/helm-charts/
|
||||
|
||||
Source0: helm-charts-elastic-%{sha}.tar.gz
|
||||
Source1: repositories.yaml
|
||||
Source2: index.yaml
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Patch01: 0001-add-makefile.patch
|
||||
Patch02: 0002-use-oss-image.patch
|
||||
Patch03: 0003-set-initial-masters-to-master-0.patch
|
||||
Patch04: 0004-Update-Elastic-Apps-to-7.6.0-Releases.patch
|
||||
Patch05: 0005-readiness-probe-enhancements.patch
|
||||
Patch06: 0006-Metricbeat-nodeSelector-and-tolerations-config.patch
|
||||
Patch07: 0007-Add-command-and-args-parameters-to-beats-and-logstash.patch
|
||||
Patch08: 0008-Add-updateStrategy-parameter-to-beats-config.patch
|
||||
Patch10: 0010-Fix-esConfig-checksum-annotation.patch
|
||||
Patch11: 0011-Fix-Elasticsearch-readiness-probe-http-endpoint.patch
|
||||
Patch12: 0012-Add-logstash-ingress.patch
|
||||
|
||||
BuildRequires: helm
|
||||
BuildRequires: chartmuseum
|
||||
|
||||
%description
|
||||
Monitor Helm elasticsearch charts
|
||||
|
||||
%prep
|
||||
%setup -n %(tar tf %SOURCE0 | head -1)
|
||||
%patch01 -p1
|
||||
%patch02 -p1
|
||||
%patch03 -p1
|
||||
%patch04 -p1
|
||||
%patch05 -p1
|
||||
%patch06 -p1
|
||||
%patch07 -p1
|
||||
%patch08 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
%build
|
||||
# Host a server for the charts
|
||||
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" --storage-local-rootdir="." &
|
||||
sleep 2
|
||||
helm repo add local http://localhost:8879/charts
|
||||
|
||||
# Create the tgz files
|
||||
rm elasticsearch/Makefile
|
||||
rm kibana/Makefile
|
||||
rm filebeat/Makefile
|
||||
rm metricbeat/Makefile
|
||||
rm logstash/Makefile
|
||||
make elasticsearch
|
||||
make kibana
|
||||
make filebeat
|
||||
make metricbeat
|
||||
make logstash
|
||||
|
||||
# terminate helm server (the last backgrounded task)
|
||||
kill %1
|
||||
|
||||
%install
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}%{helm_folder}
|
||||
install -p -D -m 755 *.tgz ${RPM_BUILD_ROOT}%{helm_folder}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{helm_folder}/*
|
@ -1,8 +0,0 @@
|
||||
TAR_NAME=helm-charts
|
||||
SHA=92b6289ae93816717a8453cfe62bad51cbdb8ad0
|
||||
VERSION=1.0.0
|
||||
TAR="$TAR_NAME-$SHA.tar.gz"
|
||||
|
||||
COPY_LIST="${CGCS_BASE}/downloads/$TAR $PKG_BASE/files/* "
|
||||
|
||||
TIS_PATCH_VER=PKG_GITREVCOUNT
|
@ -1,88 +0,0 @@
|
||||
%global sha 92b6289ae93816717a8453cfe62bad51cbdb8ad0
|
||||
%global helm_folder /usr/lib/helm
|
||||
%global helmchart_version 0.1.0
|
||||
%global _default_patch_flags --no-backup-if-mismatch --prefix=/tmp/junk
|
||||
|
||||
Summary: Monitor-Helm charts
|
||||
Name: monitor-helm
|
||||
Version: 1.0
|
||||
Release: %{tis_patch_ver}%{?_tis_dist}
|
||||
License: Apache-2.0
|
||||
Group: base
|
||||
Packager: Wind River <info@windriver.com>
|
||||
URL: https://github.com/helm/charts/
|
||||
|
||||
Source0: helm-charts-%{sha}.tar.gz
|
||||
Source1: repositories.yaml
|
||||
Source2: index.yaml
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Patch01: 0001-Add-Makefile-for-helm-charts.patch
|
||||
Patch02: 0002-kibana-workaround-checksum-for-configmap.yaml.patch
|
||||
Patch03: 0003-helm-chart-changes-for-stx-monitor.patch
|
||||
Patch04: 0004-ipv6-helm-chart-changes.patch
|
||||
Patch05: 0005-decouple-config.patch
|
||||
Patch06: 0006-add-system-info.patch
|
||||
Patch07: 0007-three-masters.patch
|
||||
Patch08: 0008-Update-stx-monitor-for-kubernetes-API-1.16.patch
|
||||
Patch09: 0009-add-curator-as-of-2019-10-10.patch
|
||||
Patch10: 0010-Update-kube-state-metrics-1.8.0-to-commit-09daf19.patch
|
||||
Patch11: 0011-update-init-container-env-to-include-node-name.patch
|
||||
Patch12: 0012-Add-imagePullSecrets.patch
|
||||
Patch13: 0013-removed-unused-images.patch
|
||||
Patch14: 0014-Add-rbac-replicasets-to-apps-apigroup-commit-1717e2d.patch
|
||||
Patch15: 0015-script-flexibility.patch
|
||||
Patch16: 0016-use-main-container-image-for-initcontainer.patch
|
||||
Patch17: 0017-stable-nginx-ingress-allow-nodePort-for-tcp-udp-serv.patch
|
||||
Patch18: 0018-Update-nginx-ingress-chart-for-Helm-v3.patch
|
||||
|
||||
BuildRequires: helm
|
||||
BuildRequires: chartmuseum
|
||||
|
||||
%description
|
||||
Monitor Helm charts
|
||||
|
||||
%prep
|
||||
%setup -n %(tar tf %SOURCE0 | head -1)
|
||||
%patch01 -p1
|
||||
%patch02 -p1
|
||||
%patch03 -p1
|
||||
%patch04 -p1
|
||||
%patch05 -p1
|
||||
%patch06 -p1
|
||||
%patch07 -p1
|
||||
%patch08 -p1
|
||||
%patch09 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
%patch18 -p1
|
||||
|
||||
%build
|
||||
# Host a server for the charts
|
||||
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" --storage-local-rootdir="." &
|
||||
sleep 2
|
||||
helm repo add local http://localhost:8879/charts
|
||||
|
||||
# Create the tgz files
|
||||
cd stable
|
||||
make kube-state-metrics
|
||||
make nginx-ingress
|
||||
make elasticsearch-curator
|
||||
|
||||
# terminate helm server (the last backgrounded task)
|
||||
kill %1
|
||||
|
||||
%install
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}%{helm_folder}
|
||||
install -p -D -m 755 stable/*.tgz ${RPM_BUILD_ROOT}%{helm_folder}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{helm_folder}/*
|
@ -1,6 +0,0 @@
|
||||
SRC_DIR="stx-monitor-helm"
|
||||
# This version is used as a component of the stx-monitor application
|
||||
# version. Any change to this version must also be reflected in the
|
||||
# SUPPORTED_VERSIONS list in sysinv/helm/monitor_version_check.py
|
||||
#
|
||||
TIS_PATCH_VER=PKG_GITREVCOUNT
|
@ -1,36 +0,0 @@
|
||||
%global armada_folder /usr/lib/armada
|
||||
%global app_folder /usr/lib/application
|
||||
|
||||
Summary: StarlingX Monitor Application Armada Helm Charts
|
||||
Name: stx-monitor-helm
|
||||
Version: 1.0
|
||||
Release: %{tis_patch_ver}%{?_tis_dist}
|
||||
License: Apache-2.0
|
||||
Group: base
|
||||
Packager: Wind River <info@windriver.com>
|
||||
URL: unknown
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: monitor-helm
|
||||
BuildRequires: monitor-helm-elastic
|
||||
Requires: monitor-helm
|
||||
Requires: monitor-helm-elastic
|
||||
|
||||
%description
|
||||
StarlingX Monitor Application Armada Helm Charts
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%install
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}%{armada_folder}
|
||||
install -p -D -m 755 manifests/*.yaml ${RPM_BUILD_ROOT}%{armada_folder}
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}%{app_folder}
|
||||
install -p -D -m 755 files/metadata.yaml ${RPM_BUILD_ROOT}%{app_folder}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{armada_folder}/*
|
||||
%{app_folder}/*
|
Loading…
Reference in New Issue
Block a user