Print out token, shouldn't make a difference but it seems to be working

now?
This commit is contained in:
andrewc
2024-10-09 08:56:09 +10:00
parent c64e02af88
commit 386b781a8c

View File

@@ -136,7 +136,7 @@ image:
else else
cp $KINTREE_DIGI_TOKEN token_storage.json cp $KINTREE_DIGI_TOKEN token_storage.json
fi fi
- ls - cat token_storage.json
- cd $CI_PROJECT_DIR/Fabrication - cd $CI_PROJECT_DIR/Fabrication
- 'SEARCH="bom.csv"' - 'SEARCH="bom.csv"'
- !reference [.commands, strip_tag] - !reference [.commands, strip_tag]
@@ -150,6 +150,7 @@ image:
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
done done
- | - |
cat /tmp/token_storage.json
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url
git_tag: git_tag:
@@ -257,6 +258,7 @@ outputs_all:
- !reference [.commands, kibot] - !reference [.commands, kibot]
- !reference [.commands, neo] - !reference [.commands, neo]
- ls Fabrication/ - ls Fabrication/
- !reference [.commands, boms]
inventree_job: inventree_job:
stage: inventree stage: inventree