annotate deploy.sh @ 17:777fd55e66ac draft

planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit f28b0130760f515502b7858bd92adf948a942f39-dirty
author mvdbeek
date Mon, 03 Apr 2017 09:40:32 -0400
parents 39d9bc17ec74
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
1 #!/bin/bash
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
2 # this script uploads galaxy tools in the current directory to the galaxy toolsheds
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
3 set -e
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
4
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
5 CURRENT_DIR=$(dirname $0)
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
6
2
39d9bc17ec74 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit b0627386ac1cc004dc71fc788bf37111213b1fab-dirty
mvdbeek
parents: 1
diff changeset
7 echo "Installing planemo" # Would be great if the dependencies would persist in deployment mode
1
f69131f584e8 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
mvdbeek
parents: 0
diff changeset
8 pip install planemo
f69131f584e8 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
mvdbeek
parents: 0
diff changeset
9
0
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
10 echo "Deploying to Testtoolshed ..."
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
11 planemo shed_update -r --force_repository_creation -t testtoolshed --shed_key_from_env TTS_KEY "$CURRENT_DIR"
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
12
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
13 echo "Deploying to Toolshed ..."
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
14 planemo shed_update -r --force_repository_creation -t toolshed --shed_key_from_env TS_KEY $CURRENT_DIR
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
15
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
16 echo "Successfully deployed to toolsheds"
a38447a59412 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff changeset
17 exit 0