21 lines
1.2 KiB
Bash
21 lines
1.2 KiB
Bash
#!/bin/bash
|
|
|
|
#ログイン認証確認
|
|
if [[ $(aws ecr get-login-password --region ap-northeast-1 | docker login --username AWS --password-stdin 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com) == *"Login Succeeded"* ]]
|
|
then
|
|
echo "AWS login succeeded"
|
|
cd retag-push-latest
|
|
bash retag-dataimport.sh || { echo "retag-dataimport.sh failed"; exit 1; }
|
|
bash retag-sap-data-decrypt.sh || { echo "retag-sap-data-decrypt.sh failed"; exit 1; }
|
|
bash retag-check-view-security-option.sh || { echo "retag-check-view-security-option.sh failed"; exit 1; }
|
|
bash retag-crm-datafetch.sh || { echo "retag-crm-datafetch.sh failed"; exit 1; }
|
|
bash retag-jskult-dbdump.sh || { echo "retag-jskult-dbdump.sh failed"; exit 1; }
|
|
bash retag-jskult-batch-daily.sh || { echo "retag-jskult-batch-daily.sh failed"; exit 1; }
|
|
bash retag-jskult-batch-laundering.sh || { echo "retag-jskult-batch-laundering.sh failed"; exit 1; }
|
|
bash retag-jskult-webapp.sh || { echo "retag-jskult-webapp.sh failed"; exit 1; }
|
|
bash retag-export-dbdump.sh || { echo "retag-export-dbdump.sh failed"; exit 1; }
|
|
bash retag-transfer-medpass-data.sh || { echo "retag-transfer-medpass-data.sh failed"; exit 1; }
|
|
else
|
|
echo "AWS login failed"
|
|
fi
|