Updated kintree vars to work with CI
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -5,4 +5,4 @@
|
|||||||
[submodule ".scripts/ki-ntree"]
|
[submodule ".scripts/ki-ntree"]
|
||||||
path = .scripts/ki-ntree
|
path = .scripts/ki-ntree
|
||||||
url = https://github.com/Andrew-Collins/Ki-nTree
|
url = https://github.com/Andrew-Collins/Ki-nTree
|
||||||
branch = cli
|
branch = cli
|
||||||
|
|||||||
Submodule .scripts/ki-ntree updated: 316a11d0da...8d79d0b318
@@ -129,6 +129,7 @@ image:
|
|||||||
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/
|
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/
|
||||||
- apt update && apt install pip -y && pip install --break-system-packages poetry
|
- apt update && apt install pip -y && pip install --break-system-packages poetry
|
||||||
- poetry install
|
- poetry install
|
||||||
|
- ls
|
||||||
- cd $CI_PROJECT_DIR/Fabrication
|
- cd $CI_PROJECT_DIR/Fabrication
|
||||||
- 'SEARCH="bom.csv"'
|
- 'SEARCH="bom.csv"'
|
||||||
- !reference [.commands, strip_tag]
|
- !reference [.commands, strip_tag]
|
||||||
@@ -138,8 +139,8 @@ image:
|
|||||||
for f in $FILES
|
for f in $FILES
|
||||||
do
|
do
|
||||||
echo $f
|
echo $f
|
||||||
name=$(echo $f | cut -d'-' -f1)A
|
name=$(echo $f | cut -c3- | 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
|
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
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user