diff --git a/.scripts/ki-ntree b/.scripts/ki-ntree index fbbed8a..c434eab 160000 --- a/.scripts/ki-ntree +++ b/.scripts/ki-ntree @@ -1 +1 @@ -Subproject commit fbbed8ab43dfc9bae2c15dd64c70fbcfaa13f658 +Subproject commit c434eabe06ec23884f9f14d96643a90d23a500c2 diff --git a/kibot-ci.yml b/kibot-ci.yml index c06cb4e..ca4220f 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -142,16 +142,20 @@ image: - !reference [.commands, strip_tag] - !reference [.commands, get_files] - cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/ + - FAIL=0 - | for f in $FILES do echo $f name=$(echo $f | cut -c3- | cut -d'-' -f1)A - poetry run python -m kintree_cli -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '$TAG'}" --settings $KINTREE_SETT --digi_token token_storage.json + poetry run python -m kintree_cli -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '$TAG'}" --settings $KINTREE_SETT --digi_token token_storage.json || FAIL=1 done + # - cp token_storage.json /tmp - | cat /tmp/token_storage.json curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url + - exit $FAIL + # USE PRIVATE-TOKEN to upload from gitlab-ci git_tag: - !reference [.commands, strip_tag]