From b650139eb1aab3badf8cd1bda44650b179eee175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 19 Nov 2018 14:55:26 +0100 Subject: [PATCH 1/3] remove log level attribute (#27162) --- .../migrations/0002_auto_20181119_1453.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 grandlyon_iodas/migrations/0002_auto_20181119_1453.py diff --git a/grandlyon_iodas/migrations/0002_auto_20181119_1453.py b/grandlyon_iodas/migrations/0002_auto_20181119_1453.py new file mode 100644 index 0000000..167ccb2 --- /dev/null +++ b/grandlyon_iodas/migrations/0002_auto_20181119_1453.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.12 on 2018-11-19 13:53 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('grandlyon_iodas', '0001_initial'), + ] + + operations = [ + migrations.AlterModelOptions( + name='grandlyoniodas', + options={'verbose_name': 'Connecteur IODAS Grand Lyon'}, + ), + migrations.RemoveField( + model_name='grandlyoniodas', + name='log_level', + ), + ] From 2cf096a39dfaca56fc6b06fc491e3349b869afc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 23 Sep 2019 14:52:38 +0200 Subject: [PATCH 2/3] add Jenkinsfile --- Jenkinsfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..738f555 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,29 @@ +@Library('eo-jenkins-lib@master') import eo.Utils + +pipeline { + agent any + stages { + stage('Packaging') { + steps { + script { + if (env.JOB_NAME == 'passerelle-grandlyon-iodas' && env.GIT_BRANCH == 'origin/master') { + sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch passerelle-grandlyon-iodas' + } else if (env.GIT_BRANCH.startsWith('hotfix/')) { + sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix passerelle-grandlyon-iodas" + } + } + } + } + } + post { + always { + script { + utils = new Utils() + utils.mail_notify(currentBuild, env, 'admin+jenkins-passerelle-grandlyon-iodas@entrouvert.com') + } + } + success { + cleanWs() + } + } +} From 2a474143a30c6544d17eb27344e75d366e7ceb20 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Wed, 2 Oct 2019 14:14:29 +0200 Subject: [PATCH 3/3] jenkins: use ci@entrouvert.org for notifications --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 738f555..4bc89a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { always { script { utils = new Utils() - utils.mail_notify(currentBuild, env, 'admin+jenkins-passerelle-grandlyon-iodas@entrouvert.com') + utils.mail_notify(currentBuild, env, 'ci+jenkins-passerelle-grandlyon-iodas@entrouvert.org') } } success {