Whyblocked reminds you why you blocked someone.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. pipeline:
  2. gcc6:
  3. image: ubuntu:xenial
  4. pull: true
  5. environment:
  6. - LANG=C.utf8
  7. - CXX=g++-6
  8. - CXXFLAGS=-pipe -O2
  9. commands:
  10. - rm /etc/apt/apt.conf.d/docker-clean
  11. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  12. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  13. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  14. - apt-get update -q
  15. - apt-get install -qy g++-6 cmake pkg-config
  16. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  17. - apt-get install -qy dpkg-dev rpm file wget
  18. - gpg --import /var/autosign_gpg.key
  19. - rm -rf build && mkdir -p build && cd build
  20. - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  21. - make VERBOSE=1
  22. - make install DESTDIR=install
  23. - make package
  24. - cmake -DWITH_DEB=ON ..
  25. - make package
  26. - cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
  27. - make package
  28. - gpg --verbose --detach-sign *.tar.gz
  29. - gpg --verbose --detach-sign *.deb
  30. - gpg --verbose --detach-sign *.rpm
  31. volumes:
  32. - /var/cache/debian-package-cache:/var/cache/apt/archives
  33. - /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
  34. gcc7:
  35. image: debian:stretch-slim
  36. pull: true
  37. when:
  38. event: [push, pull_request]
  39. environment:
  40. - LANG=C.utf8
  41. - CXX=g++-7
  42. - CXXFLAGS=-pipe -O2
  43. commands:
  44. - rm /etc/apt/apt.conf.d/docker-clean
  45. - apt-get update -q
  46. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  47. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
  48. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  49. - apt-get install -qy gnupg
  50. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  51. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  52. - apt-get update -q
  53. - apt-get install -qy -t xenial g++-7
  54. - apt-get install -qy cmake pkg-config
  55. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  56. - rm -rf build && mkdir -p build && cd build
  57. - cmake ..
  58. - make VERBOSE=1
  59. - make install DESTDIR=install
  60. volumes:
  61. - /var/cache/debian-package-cache:/var/cache/apt/archives
  62. gcc8:
  63. image: debian:stretch-slim
  64. pull: true
  65. when:
  66. event: [push, pull_request]
  67. environment:
  68. - LANG=C.utf8
  69. - CXX=g++-8
  70. - CXXFLAGS=-pipe -O2
  71. commands:
  72. - rm /etc/apt/apt.conf.d/docker-clean
  73. - apt-get update -q
  74. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  75. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
  76. - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
  77. - apt-get install -qy gnupg
  78. - gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
  79. - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
  80. - apt-get update -q
  81. - apt-get install -qy -t xenial g++-8
  82. - apt-get install -qy cmake pkg-config
  83. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  84. - rm -rf build && mkdir -p build && cd build
  85. - cmake ..
  86. - make VERBOSE=1
  87. - make install DESTDIR=install
  88. volumes:
  89. - /var/cache/debian-package-cache:/var/cache/apt/archives
  90. clang3:
  91. image: debian:stretch-slim
  92. pull: true
  93. when:
  94. event: [push, pull_request]
  95. environment:
  96. - LANG=C.utf8
  97. - CXX=clang++
  98. - CXXFLAGS=-pipe -O2
  99. commands:
  100. - rm /etc/apt/apt.conf.d/docker-clean
  101. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  102. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
  103. - apt-get update -q
  104. - apt-get install -qy clang cmake pkg-config
  105. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  106. - rm -rf build && mkdir -p build && cd build
  107. - cmake ..
  108. - make VERBOSE=1
  109. - make install DESTDIR=install
  110. volumes:
  111. - /var/cache/debian-package-cache:/var/cache/apt/archives
  112. clang5:
  113. image: debian:stretch-slim
  114. pull: true
  115. when:
  116. event: [push, pull_request]
  117. environment:
  118. - LANG=C.utf8
  119. - CXX=clang++-5.0
  120. - CXXFLAGS=-pipe -O2
  121. commands:
  122. - rm /etc/apt/apt.conf.d/docker-clean
  123. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  124. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list
  125. - apt-get update -q
  126. - apt-get install -qy -t stretch-backports clang-5.0
  127. - apt-get install -qy cmake pkg-config
  128. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  129. - rm -rf build && mkdir -p build && cd build
  130. - cmake ..
  131. - make VERBOSE=1
  132. - make install DESTDIR=install
  133. volumes:
  134. - /var/cache/debian-package-cache:/var/cache/apt/archives
  135. clang6:
  136. image: debian:stretch-slim
  137. pull: true
  138. when:
  139. event: [push, pull_request]
  140. environment:
  141. - LANG=C.utf8
  142. - CXX=clang++-6.0
  143. - CXXFLAGS=-pipe -O2
  144. commands:
  145. - rm /etc/apt/apt.conf.d/docker-clean
  146. - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
  147. - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list
  148. - apt-get update -q
  149. - apt-get install -qy -t stretch-backports clang-6.0
  150. - apt-get install -qy cmake pkg-config
  151. - apt-get install -qy libvsqlitepp-dev libboost-dev libxdg-basedir-dev qt5-default qttools5-dev-tools qttools5-dev libconfig++-dev
  152. - rm -rf build && mkdir -p build && cd build
  153. - cmake ..
  154. - make VERBOSE=1
  155. - make install DESTDIR=install
  156. volumes:
  157. - /var/cache/debian-package-cache:/var/cache/apt/archives
  158. prepare_release:
  159. image: ubuntu:xenial
  160. pull: true
  161. when:
  162. event: tag
  163. commands:
  164. - cp -v build/whyblocked-${DRONE_TAG}_x86_64.tar.gz .
  165. - cp -v build/whyblocked-${DRONE_TAG}_x86_64.tar.gz.sig .
  166. - cp -v build/whyblocked_${DRONE_TAG}-0_amd64.deb .
  167. - cp -v build/whyblocked_${DRONE_TAG}-0_amd64.deb.sig .
  168. - cp -v build/whyblocked-${DRONE_TAG}-0.x86_64.rpm .
  169. - cp -v build/whyblocked-${DRONE_TAG}-0.x86_64.rpm.sig .
  170. gitea_release:
  171. image: plugins/gitea-release
  172. pull: true
  173. when:
  174. event: tag
  175. base_url: https://schlomp.space
  176. secrets: [ gitea_token ]
  177. title: ${DRONE_TAG}
  178. prerelease: true
  179. files:
  180. - whyblocked-${DRONE_TAG}_x86_64.tar.gz
  181. - whyblocked-${DRONE_TAG}_x86_64.tar.gz.sig
  182. - whyblocked_${DRONE_TAG}-0_amd64.deb
  183. - whyblocked_${DRONE_TAG}-0_amd64.deb.sig
  184. - whyblocked-${DRONE_TAG}-0.x86_64.rpm
  185. - whyblocked-${DRONE_TAG}-0.x86_64.rpm.sig
  186. checksum:
  187. - sha256
  188. - sha512
  189. notify:
  190. image: drillster/drone-email
  191. pull: true
  192. host: cryptoparty-celle.de
  193. secrets: [ email_username, email_password ]
  194. from: drone@tzend.de
  195. when:
  196. status: [ changed, failure ]