Skip to content

Commit

Permalink
Modify script to dynamic .taco filname handling in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tvsathvi committed Apr 19, 2024
1 parent 3e51864 commit ecfe27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tableau-connector/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ docker build -t taco-builder $CURRENT_FOLDER
echo "Assembling Tableau Connector"
docker run -d -it --name=taco-builder --mount type=bind,source=$TARGET_FOLDER,target=/output taco-builder
echo "Copying Tableau Connector"
docker exec taco-builder sh -c "cp /tableau-sdk/connector-plugin-sdk/connector-packager/packaged-connector/documentdbjdbc.taco /output"
docker exec taco-builder sh -c "cp /tableau-sdk/connector-plugin-sdk/connector-packager/packaged-connector/*.taco /output"
echo "Verifying Tableau Connector"
docker exec taco-builder sh -c "ls -l /output"
docker exec taco-builder pwd
echo "Extracting Tableau Connector"
docker cp taco-builder:/output/documentdbjdbc.taco $TARGET_FOLDER
docker cp taco-builder:/output/*.taco $TARGET_FOLDER
echo "Checking Resulting TACO FILE in $TARGET_FOLDER"
ls -l $TARGET_FOLDER
docker stop taco-builder
Expand Down

0 comments on commit ecfe27f

Please sign in to comment.