Checking the rev parsing
This commit is contained in:
@@ -171,12 +171,14 @@ image:
|
||||
if [[ $CI_COMMIT_BRANCH == "main" ]]; then
|
||||
DRY=""
|
||||
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
|
||||
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
|
||||
cd $CI_PROJECT_DIR
|
||||
cat token_storage.json
|
||||
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file token_storage.json $url
|
||||
- exit $FAIL
|
||||
# USE PRIVATE-TOKEN to upload from gitlab-ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user