Ajout commandes tunnels

main
Gil Portenseigne 2024-09-16 11:25:54 +02:00
parent 176132d7a9
commit 13009ea54f
1 changed files with 4 additions and 2 deletions

View File

@ -32,8 +32,10 @@ ksh() {
kubectl exec -it "$1" "${2:+-c$2}" -- "/bin/bash"
}
alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
alias tprepMaison='ssh -A -L localhost:5488:localhost:5489 nereide@naxos.nereide.fr "ssh -p5422 -L localhost:5489:rfidprod-preprod.cluster-cdb9sc2xntwg.eu-west-1.rds.amazonaws.com:5432 ofbiz@pp-sftp-technical.decathlon.net"'
alias tprepBureau="ssh -v -p 5422 -L localhost:5488:rfidprod-preprod.cluster-cdb9sc2xntwg.eu-west-1.rds.amazonaws.com:5432 ofbiz@pp-sftp-technical.decathlon.net"
alias tprodMaison='ssh -A -L localhost:5488:localhost:5489 nereide@naxos.nereide.fr "ssh -p5422 -L localhost:5489:rfidprod-production.cluster-cppfo25bfalv.eu-west-1.rds.amazonaws.com:5432 ofbiz@pp-sftp-technical.decathlon.net"'
alias tprodBureau="ssh -v -p 5422 -L localhost:5488:rfidprod-production.cluster-cppfo25bfalv.eu-west-1.rds.amazonaws.com:5432 ofbiz@pp-sftp-technical.decathlon.net"
# ofbiz specific
alias resetTestDb='dropdb ofbiz && createdb ofbiz && ./gradlew "ofbiz -l readers=seed,seed-initial -l delegator=test"'