Sha256: db301490095ffdd3ab06ede986a9230b3da345c105b0a7a206b5922cabc9c170

Contents?: true

Size: 579 Bytes

Versions: 27

Compression:

Stored size: 579 Bytes

Contents

#!/bin/bash -e

hst_proxy="${GATEWAY:=deploy}"

# remote arguments
git_url="$(git config --list | grep remote.origin.url | cut -d= -f2-)"

git_ref=$(cat .git/HEAD)
if echo "$git_ref" | egrep -q "^ref:"; then
  git_branch=$(echo "$git_ref" | awk '{print $2}' | cut -d/ -f3-)
  git_head=$(git show-ref --hash "$(echo "$git_ref" | awk '{print $2}')")
else
  git_branch=""
  git_head=$git_ref
fi

if [[ -z $git_head ]]; then
  echo "ERROR: could not find the SHA for HEAD" 1>&2
  exit 1
fi

ssh -t $hst_proxy alpha_omega_proxy_helper2 "$USER" "$git_url" "$git_branch:$git_head" "$@"

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
alpha_omega-0.0.161 libexec/proxy
alpha_omega-0.0.160 libexec/proxy
alpha_omega-0.0.159 libexec/proxy
alpha_omega-0.0.158 libexec/proxy
alpha_omega-0.0.157 libexec/proxy
alpha_omega-0.0.156 libexec/proxy
alpha_omega-0.0.155 libexec/proxy
alpha_omega-0.0.154 libexec/proxy
alpha_omega-0.0.153 libexec/proxy
alpha_omega-0.0.152 libexec/proxy
alpha_omega-0.0.151 libexec/proxy
alpha_omega-0.0.150 libexec/proxy
alpha_omega-0.0.142 libexec/proxy
alpha_omega-0.0.141 libexec/proxy
alpha_omega-0.0.140 libexec/proxy
alpha_omega-0.0.139 libexec/proxy
alpha_omega-0.0.138 libexec/proxy
alpha_omega-0.0.137 libexec/proxy
alpha_omega-0.0.136 libexec/proxy
alpha_omega-0.0.135 libexec/proxy