From c64e02af88159a44260862c0eae62ab8e3914c5a Mon Sep 17 00:00:00 2001 From: andrewc Date: Tue, 8 Oct 2024 13:52:25 +1000 Subject: [PATCH] Fix up path of token again --- kibot-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kibot-ci.yml b/kibot-ci.yml index 5ab3b09..9101793 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -129,7 +129,6 @@ image: - cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/ - apt update && apt install curl pip -y && pip install --break-system-packages poetry - poetry install - - cd /tmp - url="https://gitlab.com/api/v4/projects/${DIGI_API_PRJ_ID}/packages/generic/digikey_api/0/token_storage.json" - | if [[ -z "$KINTREE_DIGI_TOKEN" ]]; then @@ -148,7 +147,7 @@ image: do echo $f 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 /tmp/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 - | curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url