mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Add awslogs logging for PaaS
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -37,42 +37,44 @@ def deploy(cfEnv) {
|
||||
]) {
|
||||
withEnv(["CF_SPACE=${cfEnv}"]) {
|
||||
parallel deployApi: {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-api-with-docker'
|
||||
withEnv(["CF_APP=notify-api"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}, deployDeliveryCeleryBeat: {
|
||||
sleep(10)
|
||||
withEnv(["CF_APP=notify-delivery-celery-beat"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-delivery-with-docker'
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}, deployDeliveryWorker: {
|
||||
sleep(20)
|
||||
withEnv(["CF_APP=notify-delivery-worker"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-delivery-with-docker'
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}, deployDeliveryWorkerSender: {
|
||||
sleep(30)
|
||||
withEnv(["CF_APP=notify-delivery-worker-sender"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-delivery-with-docker'
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}, deployDeliveryWorkerDatabase: {
|
||||
sleep(40)
|
||||
withEnv(["CF_APP=notify-delivery-worker-database"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-delivery-with-docker'
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}, deployDeliveryWorkerResearch: {
|
||||
sleep(50)
|
||||
withEnv(["CF_APP=notify-delivery-worker-research"]) {
|
||||
retry(3) {
|
||||
sh 'make cf-deploy-delivery-with-docker'
|
||||
sh 'make cf-deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user