Accepting request 829839 from home:stefannica:branches:openSUSE:Tools

- Also allow working on Chart.yaml

OBS-URL: https://build.opensuse.org/request/show/829839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-kiwi_metainfo_helper?expand=0&rev=11
This commit is contained in:
Fabian Vogt 2020-08-27 07:09:01 +00:00 committed by Git OBS Bridge
parent 9225fdd96d
commit bdaaa7536c
2 changed files with 9 additions and 4 deletions

View File

@ -14,8 +14,8 @@ if [ -e "${BUILD_DATA}" ]; then
# The build script renames the recipe (to strip _service:foo:), but doesn't update .data
RECIPEFILE="${RECIPEFILE##*:}"
if [ "${RECIPEFILE##*.}" != "kiwi" ] && [ "${RECIPEFILE}" != "Dockerfile" ]; then
echo "Recipe is neither Dockerfile nor kiwi - exiting"
if [ "${RECIPEFILE##*.}" != "kiwi" ] && [ "${RECIPEFILE}" != "Dockerfile" ] && [ "${RECIPEFILE}" != "Chart.yaml" ]; then
echo "Recipe is neither Dockerfile nor kiwi nor helm chart - exiting"
exit 0
fi
@ -26,9 +26,9 @@ else
RELEASE=0
# Guess the build recipe
files=(*.kiwi Dockerfile*)
files=(*.kiwi Dockerfile* Chart.yaml*)
if [ "${#files}" -eq 0 ]; then
echo "No kiwi or Dockerfile found - exiting"
echo "No kiwi or Dockerfile or helm chart found - exiting"
exit 0
fi
fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 25 11:10:50 UTC 2020 - Stefan Nica <snica@suse.com>
- Also allow working on Chart.yaml
-------------------------------------------------------------------
Tue Jul 7 13:53:33 UTC 2020 - Fabian Vogt <fvogt@suse.com>