Skip to content

Commit

Permalink
Fix working directory
Browse files Browse the repository at this point in the history
Signed-off-by: steve lasker <stevenlasker@hotmail.com>
  • Loading branch information
SteveLasker committed Apr 20, 2024
1 parent cdfd16b commit 940b34e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN cd /scripts
RUN pip install --upgrade pip && \
pip install -r requirements.txt

ENTRYPOINT ["/scripts/entrypoint.sh"]
ENTRYPOINT ["/scripts/entrypoint.sh"]
6 changes: 3 additions & 3 deletions scitt-scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "PWD: $PWD"

ls -la $TOKEN_FILE

python /scitt-scripts/create_signed_statement.py \
python /scripts/create_signed_statement.py \
--subject ${3} \
--payload ${4} \
--content-type ${5} \
Expand All @@ -42,9 +42,9 @@ OPERATION_ID=$(echo $RESPONSE | jq -r .operationID)
echo "OPERATION_ID: $OPERATION_ID"

# echo "call: /scitt-scripts/check_operation_status.py"
# python /scitt-scripts/check_operation_status.py --operation-id $OPERATION_ID --token-file-name $TOKEN_FILE
# python /scripts/check_operation_status.py --operation-id $OPERATION_ID --token-file-name $TOKEN_FILE

# RESPONSE=$(python /scitt-scripts/check_operation_status.py --operation-id $OPERATION_ID --token-file-name $TOKEN_FILE)
# RESPONSE=$(python /scripts/check_operation_status.py --operation-id $OPERATION_ID --token-file-name $TOKEN_FILE)
# ENTRY_ID=$(echo $RESPONSE | jq -r .entryID)

# curl https://app.datatrails.ai/archivist/v2/publicassets/-/events?event_attributes.feed_id=$SUBJECT | jq

0 comments on commit 940b34e

Please sign in to comment.