Skip to content
Snippets Groups Projects
Commit bcfabeef authored by Felix Gerking's avatar Felix Gerking
Browse files

manifest-CI: Fix conditions for alphaplan_fwr script call

parent a9d0655c
No related branches found
No related tags found
No related merge requests found
...@@ -152,13 +152,17 @@ variables: ...@@ -152,13 +152,17 @@ variables:
# Generate AlphaPlan FWR articles if release tag is set # Generate AlphaPlan FWR articles if release tag is set
apscript=".gitlab-ci/alphaplan_fwr.py" apscript=".gitlab-ci/alphaplan_fwr.py"
[ ! -x "${apscript}" ] && script=".repo/manifests/${apscript}"
[ ! -x "${apscript}" ] && echo "Failed to find alphaplan_fwr script"
#if [ -n "$CI_COMMIT_TAG" ] && \ #if [ -n "$CI_COMMIT_TAG" ] && \
echo "CI AP debug mode" echo "CI AP debug mode"
if true && \ if true && \
[ -d "${ARTIFACTS_IMAGE_PATH}" ] && \
[[ "${CI_PARAM_PACKAGE_FTP}" == "false" ]];then [[ "${CI_PARAM_PACKAGE_FTP}" == "false" ]];then
# Check if alphaplan fwr script is available
[ ! -x "${apscript}" ] && \
echo "Failed to find alphaplan_fwr script" && \
exit 1
# Call script
${apscript} \ ${apscript} \
--images-dir="${ARTIFACTS_IMAGE_PATH}" \ --images-dir="${ARTIFACTS_IMAGE_PATH}" \
--outputdir-local=${outdir} \ --outputdir-local=${outdir} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment