202baabfba
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
50 lines
1.3 KiB
BlitzBasic
50 lines
1.3 KiB
BlitzBasic
SUMMARY = "StarlingX Monitor Application Armada Helm Charts"
|
|
DESCRIPTION = "StarlingX Monitor Application Armada Helm Charts"
|
|
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
|
|
|
DEPENDS += " \
|
|
monitor-helm \
|
|
monitor-helm-elastic \
|
|
"
|
|
|
|
PROTOCOL = "https"
|
|
BRANCH = "r/stx.3.0"
|
|
SRCNAME = "monitor-armada-app"
|
|
SRCREV = "e5ee6b3a07b74479b93fe90eff0662cf81890f73"
|
|
SRCREV_opendev = "e5ee6b3a07b74479b93fe90eff0662cf81890f73"
|
|
DESTSUFFIX = "${PN}-${PV}"
|
|
SUBPATH0 = "stx-monitor-helm/stx-monitor-helm"
|
|
|
|
SRC_URI = " \
|
|
git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH};destsuffix=${DESTSUFFIX};subpath=${SUBPATH0};name=opendev \
|
|
"
|
|
|
|
inherit allarch
|
|
|
|
helm_folder = "${nonarch_libdir}/helm"
|
|
armada_folder = "${nonarch_libdir}/armada"
|
|
app_folder = "${nonarch_libdir}/application"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install () {
|
|
install -d -m 755 ${D}${armada_folder}
|
|
install -p -D -m 755 ${S}/manifests/*.yaml ${D}${armada_folder}
|
|
install -d -m 755 ${D}${app_folder}
|
|
install -p -D -m 755 ${S}/files/metadata.yaml ${D}${app_folder}/monitor_metadata.yaml
|
|
}
|
|
|
|
FILES_${PN} = " \
|
|
${app_folder} \
|
|
${armada_folder} \
|
|
"
|
|
|
|
RDEPENDS_${PN} = " \
|
|
helm \
|
|
monitor-helm \
|
|
monitor-helm-elastic \
|
|
"
|