From c61d82eccd68b8b2b0f7c68ff6e8489494391e81 Mon Sep 17 00:00:00 2001 From: "Aldo \"xoen\" Giambelluca" Date: Fri, 31 May 2019 15:09:47 +0100 Subject: [PATCH] Added deploy.json and removed Jenkinsfile We got rid of Jenkins ages ago. We now have a `deploy.json` file which determine how the application is deployed (e.g. authentication, etc...) --- Jenkinsfile | 32 -------------------------------- deploy.json | 7 +++++++ 2 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 Jenkinsfile create mode 100644 deploy.json diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 4c2d2f4..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,32 +0,0 @@ -#!groovy - -pipeline { - - parameters { - choice( - name: 'IP_RESTRICTIONS', - description: 'Whether the user needs to access the app from specific IPs', - choices: ipRestrictions.choices, - ) - - booleanParam( - name: 'AUTHENTICATION_REQUIRED', - description: 'Determine if the app requires authentication.', - defaultValue: true - ) - } - - agent any - - stages { - - stage('Deploy application') { - steps { - script { - deploy.webapp() - } - } - } - - } -} diff --git a/deploy.json b/deploy.json new file mode 100644 index 0000000..025d2ac --- /dev/null +++ b/deploy.json @@ -0,0 +1,7 @@ +{ + "mojanalytics-deploy": "v0.2.3", + "disable_authentication": false, + "allowed_ip_ranges": [ + "DOM1" + ] + }