Skip to content

Instantly share code, notes, and snippets.

View dlemfh's full-sized avatar

이드로 (Jethro Lee) dlemfh

  • Seoul
  • 11:38 (UTC +09:00)
View GitHub Profile
@slaysd
slaysd / prepare-commit-msg
Last active February 26, 2020 02:58
지라 티켓넘버 자동 부여
#!/bin/bash
# Copy in .git/hooks/prepare-commit-msg
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop release hotfix)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
BRANCH_NAME="${BRANCH_NAME##*/}"
JIRA_ID=`echo $BRANCH_NAME | egrep -o '[A-Z]+-[0-9]+'`
@slaysd
slaysd / initialize_jenkinsx.sh
Last active February 12, 2020 12:44
AWS EKS + Jenkins X 환경설치 스크립트
#!/bin/bash
CLUSTER_NAME={{TYPE YOUR CLUSTER NAME}}
REGION={{ TYPE YOUR AWS EKS REGION NAME }}
echo "AWS CLI 설치"
pip install awscli --upgrade --user
export PATH=$HOME/.local/bin:$PATH
echo 'export PATH=$HOME/.local/bin:$PATH' >> $HOME/.zshrc