Updated kintree vars to work with CI
This commit is contained in:
Submodule .scripts/ki-ntree updated: 316a11d0da...8d79d0b318
@@ -129,6 +129,7 @@ image:
|
||||
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/
|
||||
- apt update && apt install pip -y && pip install --break-system-packages poetry
|
||||
- poetry install
|
||||
- ls
|
||||
- cd $CI_PROJECT_DIR/Fabrication
|
||||
- 'SEARCH="bom.csv"'
|
||||
- !reference [.commands, strip_tag]
|
||||
@@ -138,8 +139,8 @@ image:
|
||||
for f in $FILES
|
||||
do
|
||||
echo $f
|
||||
name=$(echo $f | cut -d'-' -f1)A
|
||||
poetry run python -m kintree_cli -p $f --assembly "{'ipn': '$name', 'rev': '$TAG'}" --settings_inv $KINTREE_SETT_INV --settings_ipn $KINTREE_SETT_IPN
|
||||
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 $KINTREE_DIGI_TOKEN
|
||||
done
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user