Commit 7c0460a0 authored by Colan Schwartz's avatar Colan Schwartz

Updated or removed file names within scripts.

parent c8cb02dc
#!/bin/bash
#############################################################################
# Filename:
# deploy-code-dev
#
# Purpose:
# Deploys the latest code developer code onto the Dev site.
#
# Usage:
# deploy-code-dev (typically called as a cron job)
# deploy-drupal-code-dev (typically called as a cron job)
#
# Requirements:
# 1) SSH must have access to an SSH key you've uploaded to the Git server
......@@ -18,7 +15,7 @@
#
# IMPORTANT:
# IF YOU MAKE ANY CHANGES TO THIS FILE, MAKE SURE TO COMMIT THEM TO THE GIT
# REPOSITORY, OVER AT sites/all/scripts/deploy-code-dev. This file would
# REPOSITORY, OVER AT sites/all/scripts. This file would
# normally be a symlink to that from /etc/cron.XXX, but we can't guarantee
# the necessary permissions in the repository. See
# http://askubuntu.com/questions/54857/can-symlinks-be-used-in-etc-cron-d
......
#!/bin/bash
#############################################################################
# Filename:
# deploy-code-prod
#
# Purpose:
# Deploys a tagged version of the code onto the PROD site.
#
# Usage:
# deploy-code-prod GIT_RELEASE_TAG_ID
# deploy-drupal-code-prod GIT_RELEASE_TAG_ID
#
# Requirements:
# 1) SSH must have access to an SSH key you've uploaded to the Git server
......
#!/bin/bash
#############################################################################
# Filename:
# deploy-code-qa
#
# Purpose:
# Deploys a tagged version of the code onto the QA/Staging site.
#
# Usage:
# deploy-code-qa GIT_RELEASE_TAG_ID
# deploy-drupal-code-qa GIT_RELEASE_TAG_ID
#
# Requirements:
# 1) SSH must have access to an SSH key you've uploaded to the Git server
......
#!/bin/bash
#############################################################################
# Filename:
# solr-deploy-on-glassfish
#
# Purpose:
# Deploys the Apache Solr application onto the GlassFish application server.
#
# Usage:
# solr-deploy-on-glassfish <glassfish-dir> <solr-dir> <password>
# deploy-solr-on-glassfish <glassfish-dir> <solr-dir> <password>
#
# Arguments:
# <glassfish-dir>
......@@ -41,7 +38,7 @@ set -o pipefail
# Make sure that the parameters are specified.
if [[ -z $3 ]] || [[ ! -d $1 ]] || [[ ! -d $2 ]]; then
$ECHO "Usage: solr-deploy-on-glassfish <glassfish-dir> <solr-dir> <password>"
$ECHO "Usage: $0 <glassfish-dir> <solr-dir> <password>"
exit 1
fi
......
#!/bin/bash
#############################################################################
# Filename:
# resync-db-for-dev
#
# Purpose:
# Resynchronize a Drupal development site from Staging, Production, etc.
#
# Usage:
# resync-db-for-dev <SOURCE_DRUSH_ALIAS> <DESTINATION_DRUSH_ALIAS> [<MODULES_DISABLE>]
# resync-drupal-db-for-dev <SOURCE_DRUSH_ALIAS> <DESTINATION_DRUSH_ALIAS> [<MODULES_DISABLE>]
#
# Parameters:
# <SOURCE_DRUSH_ALIAS>: The site from which to copy the database. Required.
......@@ -45,7 +42,7 @@ ID=/usr/bin/id
# Make sure that the parameters are specified.
if [ -z "$2" ]; then
$ECHO "Usage: resync-db-for-dev <source-drush-alias> <dest-drush-alias> [<modules-to-disable>]"
$ECHO "Usage: $0 <source-drush-alias> <dest-drush-alias> [<modules-to-disable>]"
exit 1
fi
......
Markdown is supported
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