Commit e493c05b authored by Emam H's avatar Emam H
Browse files

cleanup: remove test CI config

parent 81529274
stages:
- test
vpc-test:
stage: test
tags:
- docker-android
image: alpine:latest
variables:
GIT_STRATEGY: none
script:
- apk add --no-cache mysql-client netcat-openbsd curl 2>/dev/null
- echo "=== VPC REACHABILITY TEST ==="
- nc -zv -w5 172.26.14.145 3306 2>&1 || echo "172.26.14.145:3306 UNREACHABLE"
- nc -zv -w5 172.26.7.171 3306 2>&1 || echo "172.26.7.171:3306 UNREACHABLE"
- nc -zv -w5 172.26.3.226 3306 2>&1 || echo "172.26.3.226:3306 UNREACHABLE"
- nc -zv -w5 172.26.7.179 16606 2>&1 || echo "172.26.7.179:16606 UNREACHABLE"
- nc -zv -w5 103.199.168.130 3306 2>&1 || echo "103.199.168.130:3306 UNREACHABLE"
- nc -zv -w5 103.199.168.131 3306 2>&1 || echo "103.199.168.131:3306 UNREACHABLE"
- echo "=== MYSQL PRODUCTION TEST ==="
- mysql -h 172.26.14.145 -u tldefender --password=R0kkh0k_r15h221 -e "SELECT COUNT(*) AS total_users FROM trucklagbe_db.users; SELECT MAX(registration_date) AS latest FROM trucklagbe_db.users;" 2>&1 || echo "Prod MySQL failed"
- mysql -h 103.199.168.130 -u tl-g-developer --password=G33p33a55_dataChai -e "SELECT COUNT(*) AS total_users FROM trucklagbe_db.users; SELECT MAX(registration_date) AS latest FROM trucklagbe_db.users;" 2>&1 || echo "QA MySQL failed"
- echo "=== DONE ==="
\ No newline at end of file
Supports Markdown
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