Skip to content
Snippets Groups Projects
Commit 98692af1 authored by rds's avatar rds
Browse files

Keep up with changes to RT server!

parent 07c3c70e
No related branches found
No related tags found
No related merge requests found
...@@ -134,8 +134,8 @@ zmap_message_out '$ZMAP_PATH_TO_VERSION_HEADER =' $ZMAP_PATH_TO_VERSION_HEADER ...@@ -134,8 +134,8 @@ zmap_message_out '$ZMAP_PATH_TO_VERSION_HEADER =' $ZMAP_PATH_TO_VERSION_HEADER
zmap_message_out '$ZMAP_PATH_TO_WEBPAGE_HEADER =' $ZMAP_PATH_TO_WEBPAGE_HEADER zmap_message_out '$ZMAP_PATH_TO_WEBPAGE_HEADER =' $ZMAP_PATH_TO_WEBPAGE_HEADER
# Set all the dates that we need # Set all the dates that we need
# First the previous date! # First the previous date! Only pick one
[ "x$RT_LAST_RUN" != "x" ] || RT_LAST_RUN=$(cat $ZMAP_PATH_TO_RELEASE_NOTES_TIMESTAMP) [ "x$RT_LAST_RUN" != "x" ] || RT_LAST_RUN=$(cat $ZMAP_PATH_TO_RELEASE_NOTES_TIMESTAMP | tail -n1)
[ "x$RT_LAST_RUN" != "x" ] || zmap_message_exit $(hostname) "From date not set." [ "x$RT_LAST_RUN" != "x" ] || zmap_message_exit $(hostname) "From date not set."
RT_PREV_DATE=$RT_LAST_RUN RT_PREV_DATE=$RT_LAST_RUN
...@@ -217,9 +217,9 @@ $NO_RELEASE_B ...@@ -217,9 +217,9 @@ $NO_RELEASE_B
EOF EOF
# Can no longer run on scratchy.. rt is now installed in /software/acedb/bin for i386
RTSERVER=scratchy RTSERVER=tviewsrv
RTHTTPSERVER="https://rt.sanger.ac.uk/rt" RTHTTPSERVER="https://rt.sanger.ac.uk"
RTUSER=zmap RTUSER=zmap
RTRESULTS=rt_tickets.out RTRESULTS=rt_tickets.out
RTERROR=rt_error.log RTERROR=rt_error.log
...@@ -266,6 +266,9 @@ perl -i -lne 'print if !/user/;' \$RC_FILE ...@@ -266,6 +266,9 @@ perl -i -lne 'print if !/user/;' \$RC_FILE
echo "server $RTHTTPSERVER" >> \$RC_FILE echo "server $RTHTTPSERVER" >> \$RC_FILE
echo "user $RTUSER" >> \$RC_FILE echo "user $RTUSER" >> \$RC_FILE
# Really ensure /software/acedb/bin is in the path
PATH=/software/acedb/bin:$PATH
# --- end of addition by $0 --- # --- end of addition by $0 ---
EOF EOF
) | ssh $RTSERVER '/bin/bash -c "\ ) | ssh $RTSERVER '/bin/bash -c "\
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment