Checking the rev parsing
This commit is contained in:
@@ -171,12 +171,14 @@ image:
|
|||||||
if [[ $CI_COMMIT_BRANCH == "main" ]]; then
|
if [[ $CI_COMMIT_BRANCH == "main" ]]; then
|
||||||
DRY=""
|
DRY=""
|
||||||
fi
|
fi
|
||||||
|
echo "Revs: $pcb_rev, $assembly_rev"
|
||||||
python -m kintree.kintree_cli $DRY -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '($pcb_rev, $assembly_rev)', 'image': ['$pcb_im', '$pcba_im'], 'desc': '$desc_suffix', 'attachments': [$pcb_attach, $pcba_attach]}" --settings $KINTREE_SETT --digi_token token_storage.json || FAIL=1
|
python -m kintree.kintree_cli $DRY -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '($pcb_rev, $assembly_rev)', 'image': ['$pcb_im', '$pcba_im'], 'desc': '$desc_suffix', 'attachments': [$pcb_attach, $pcba_attach]}" --settings $KINTREE_SETT --digi_token token_storage.json || FAIL=1
|
||||||
done
|
done
|
||||||
# - cp token_storage.json /tmp
|
# - cp token_storage.json /tmp
|
||||||
- |
|
- |
|
||||||
cat /tmp/token_storage.json
|
cd $CI_PROJECT_DIR
|
||||||
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url
|
cat token_storage.json
|
||||||
|
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file token_storage.json $url
|
||||||
- exit $FAIL
|
- exit $FAIL
|
||||||
# USE PRIVATE-TOKEN to upload from gitlab-ci
|
# USE PRIVATE-TOKEN to upload from gitlab-ci
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user