deploy secondary

This commit is contained in:
Kameron Kenny 2024-05-13 08:45:50 -04:00
parent 604a9a6c10
commit 336b2b4d83
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 10 additions and 2 deletions

10
Jenkinsfile vendored
View File

@ -26,10 +26,18 @@ pipeline {
sh 'docker compose ps' sh 'docker compose ps'
} }
} }
stage('test dns') { stage('Start secondary container') {
steps {
sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose up -d --no-color secondary'
sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose ps'
}
}
stage('test primary dns') {
steps { steps {
sh 'dig ns1.thelinuxpro.net ANY @204.8.15.80' sh 'dig ns1.thelinuxpro.net ANY @204.8.15.80'
sh 'dig ns1.in.thelinuxpro.net ANY @10.99.153.241' sh 'dig ns1.in.thelinuxpro.net ANY @10.99.153.241'
sh 'dig ns1.thelinuxpro.net ANY @204.8.15.81'
sh 'dig ns1.in.thelinuxpro.net ANY @10.99.153.242'
} }
} }
} }