-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (53 loc) · 4.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
dist: trusty
sudo: required
language: java
jdk:
- openjdk8
addons:
apt:
packages:
- rpm
- expect
env:
global:
- LC_ALL=C
- secure: F7GqaAjOVERWqw103Oad3xLclMcwNOgApEAs3XkgZM+IfexPw1/Xpkjx6PT0hpM7jY4nDM0z/DhLOQtmFRAwAG3C2aGdGB68dk5vbmyoiPzGa6VmIjcLPiaAutLAgcAbpEJb35yksnBLU3XlY9xGktp7dfDfhTHs4icEj6JnFpcN1b0gJpv4NX+6NJ57iHEF6yOQA13Lneb9BhVA4lr4sg6lUDSOXVeJJSEf0yJoFI3KzTal/xQrzPUO+A92Xq9Jmpd7Sk6yLKvrNyX8aMuC0++1/3fKQ5NurGta2AJga+2SCe8lwKqSPD5QA6xONDYRNZpAHKFOcsLDoskurPgIGWX0nWyAlH88XXytPD8ImNezcajs2HgdlNlXoory4qNoJ2rgQ9NJr2jND5l3MFexKcFnIC958j/3rw45GaNGPTjy0DSIGX7gTsSJ21Lmf9r6/LZILgF4ukRHx3hDAG/pNYAUVTKrr9FuIXwBthdjICbClmPUCqidfFIeuyRSrixPEiio1ukcFo6dMHXRpwQg1LS61/Ctq+bP9LD9cwOfhwPBE4hNZ0+N31mpI0x2V4DrLXuAyQiQKqHoRzlg2VGPoXP9a92GlghZxO0XMXUPKgo2zXyJO/gLeW3WE30yyEu2FpeQ0jK/yIdaYh4aTFuTT6yflT0bJooD4fPImFzMOYo=
- secure: jrlVMoaFDUhdgu8MTs0QD+ZtPNWqYqiGGWytZJ5W6Sikw82SahcwwXQ/WjfyNChCr6K6aW/rziumWO4vsXtE8Hvwc14VYypjPW8oJv+DA747PXE5l8+mDLRAT2CaKrusL62dhLKhVot07+4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Fwkb4XAUqul/K0nTvrgvAltD2zzwVJxLMvL9fY/F0Fkh/yctQkUjlZ/u7UMc+uO4ShJOIQauhHhkrN/+8SFggf0AYYed6r52v8q7maTc8Iu+LoLeDDjWcRYbE4noNz5TVOb48TCVT/zah5SM=
install:
- git clone --branch 3.2 --depth=1 --no-single-branch https://github.com/Graylog2/graylog2-server
../graylog2-server
- "(cd ../graylog2-server && mvn -DskipTests=true compile -B -V)"
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dskip.web.build=true -Dsource.skip=true
-Dgpg.skip -B -V
script:
- mvn package -Dmaven.javadoc.skip=true -Dsource.skip=true -Dgpg.skip -B
after_success:
- openssl aes-256-cbc -K $encrypted_eb7d761d9b2f_key -iv $encrypted_eb7d761d9b2f_iv
-in deployment/signingkey.asc.enc -out deployment/signingkey.asc -d
- gpg2 --import deployment/signingkey.asc
- gpg2 --allow-secret-key-import --import deployment/signingkey.asc
before_deploy:
- mvn jdeb:jdeb --settings deployment/settings.xml && export RELEASE_DEB_FILE=$(ls
target/*.deb)
- mvn rpm:rpm --settings deployment/settings.xml && export RELEASE_RPM_FILE=$(find
target/ -name '*.rpm' | tail -1)
- rm -f target/original-*.jar
- export RELEASE_PKG_FILE=$(ls target/*.jar)
- echo "Deploying release to GitHub releases"
deploy:
provider: releases
api_key:
secure: AeTfkA3IdrYe0piC8KA0LJJMHd72IA7ene5RNaLZA0MW1uBeIBgXJADyXDmQs7FfHF+t+Tx4Ot4SDHPqwCR6j9n7xZyq+cM93WDKFLd/FQ5P1EelOt1A40qslpJX56jJYbloZgTPO7rqqgjt3nM9r7mTV2MTT6pcmWHFuegE3itmX0yS+yBe01DLRYyrMYMEUXHNgM+BF/GMBjjS4OE3WzZILjaKg1Gh17ryPS7I+AI5p0JgGoCBEF6UwQAg5m8FA2iY/SsMOBR7An8OMit6AhGC0bV9MWZGd5Pmu+qCOSshP2HyhCV6TUO0bUa926p6e+jhZthdK/F4u6OJ3xzKXGUMd8Bbj+fUxn0sUyz8uV3Xvc1vYDMuvgIJce2Bw5KVvbFeCCsBGP4E78sXH+x+Gmakii3+2LZvirCVYzgscBAz+gcCDhU+SqlXatUOPFknWN9Dlay+85KNCquNhXBoDox2RGw4r8KowCgOBKEVjde8RLz/Awar7JJKVH4Z1VDRBnO6XRuJ8VUEq4isRtk+a7+2qtj+1RSC5U+VgWCMrYPA/vsavHmXDze3m3hp3ggpeqs183BBW4aNidDDbDp6dYfG3gomZv6oOIh3wvsEb1ijIi4U+dhM50pTof5c1wXosCUmrc4NdWsASOVeFKsNXCa3o5mj/z9m3cQaAgLBJV0=
file:
- "${RELEASE_PKG_FILE}"
- "${RELEASE_DEB_FILE}"
- "${RELEASE_RPM_FILE}"
skip_cleanup: true
on:
repo: airbus-cyber/graylog-plugin-glpi
jdk: openjdk8
tags: true
after_deploy:
- echo "Deploying release to Maven Central"
- mvn clean deploy -DskipTests=true --settings deployment/settings.xml