imfreedom/teamcity-ansible

f6928f977ec5
Parents 93fd8350e586
Children
Update the coverity stuff for the kernel command line option and other stuff
--- a/inventories/pidgin/hosts.yaml Wed Jun 02 16:11:25 2021 -0500
+++ b/inventories/pidgin/hosts.yaml Wed Jun 02 17:58:15 2021 -0500
@@ -35,7 +35,7 @@
teamcity_agent_name: grim-coverity
teamcity_properties:
- "system.coverity=True"
- - "system.coverity_tool={{ coverity_directory }}"
+ - "env.PATH={{ ansible_env.PATH }}:{{ coverity_directory }}/bin"
teamcity_simple_agents:
hosts:
grim-beastie:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/coverity/files/grub.default Wed Jun 02 17:58:15 2021 -0500
@@ -0,0 +1,32 @@
+# If you change this file, run 'update-grub' afterwards to update
+# /boot/grub/grub.cfg.
+# For full documentation of the options in this file, see:
+# info -f grub -n 'Simple configuration'
+
+GRUB_DEFAULT=0
+GRUB_TIMEOUT=5
+GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
+GRUB_CMDLINE_LINUX_DEFAULT="quiet vsyscall=emulate"
+GRUB_CMDLINE_LINUX=""
+
+# Uncomment to enable BadRAM filtering, modify to suit your needs
+# This works with Linux (no patch required) and with any kernel that obtains
+# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
+#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
+
+# Uncomment to disable graphical terminal (grub-pc only)
+#GRUB_TERMINAL=console
+
+# The resolution used on graphical terminal
+# note that you can use only modes which your graphic card supports via VBE
+# you can see them in real GRUB with the command `vbeinfo'
+#GRUB_GFXMODE=640x480
+
+# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
+#GRUB_DISABLE_LINUX_UUID=true
+
+# Uncomment to disable generation of recovery mode menu entries
+#GRUB_DISABLE_RECOVERY="true"
+
+# Uncomment to get a beep at grub start
+#GRUB_INIT_TUNE="480 440 1"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/coverity/handlers/main.yaml Wed Jun 02 17:58:15 2021 -0500
@@ -0,0 +1,7 @@
+---
+- name: "update-grub"
+ shell: "update-grub"
+ notify:
+ - "reboot"
+- name: "reboot"
+ reboot:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/coverity/tasks/grub.yaml Wed Jun 02 17:58:15 2021 -0500
@@ -0,0 +1,9 @@
+---
+- name: "install grub config file"
+ copy:
+ src: "grub.default"
+ dest: "/etc/default/grub"
+ mode: "0644"
+ backup: "yes"
+ notify:
+ - "update-grub"
--- a/roles/coverity/tasks/main.yaml Wed Jun 02 16:11:25 2021 -0500
+++ b/roles/coverity/tasks/main.yaml Wed Jun 02 17:58:15 2021 -0500
@@ -26,4 +26,5 @@
- "--strip-components=1"
remote_src: "yes"
when: "false"
-
+- name: "include grub tasks"
+ include_tasks: "grub.yaml"
--- a/roles/pidgin2-dependencies/tasks/debian.yml Wed Jun 02 16:11:25 2021 -0500
+++ b/roles/pidgin2-dependencies/tasks/debian.yml Wed Jun 02 17:58:15 2021 -0500
@@ -2,10 +2,17 @@
- name: install
apt:
name:
+ - autoconf
+ - automake
- build-essential
+ - evolution-data-server-dev
+ - gettext
- libavahi-client-dev
- libavahi-glib-dev
- libdbus-glib-1-dev
+ - libebook1.2-dev
+ - libedata-book1.2-dev
+ - libedataserver1.2-dev
- libfarstream-0.2-dev
- libgadu-dev
- libglib2.0-dev
@@ -24,6 +31,7 @@
- libsasl2-dev
- libsqlite3-dev
- libstartup-notification0-dev
+ - libtool
- libxml2-dev
- libzephyr-dev
- tcl-dev
--- a/roles/pidgin3-dependencies/tasks/debian.yml Wed Jun 02 16:11:25 2021 -0500
+++ b/roles/pidgin3-dependencies/tasks/debian.yml Wed Jun 02 17:58:15 2021 -0500
@@ -7,6 +7,7 @@
- ca-certificates
- cmake
- devscripts
+ - evolution-data-server-dev
- gnupg
- gobject-introspection
- gstreamer1.0-plugins-bad
@@ -17,9 +18,12 @@
- libavahi-client-dev
- libavahi-glib-dev
- libcanberra-dev
+ - libcanberra-dev
- libcmark-dev
- libdbus-glib-1-dev
- - libenchant-dev
+ - libebook1.2-dev
+ - libedata-book1.2-dev
+ - libedataserver1.2-dev
- libfarstream-0.2-dev
- libgadu-dev
- libgirepository1.0-dev
@@ -32,13 +36,14 @@
- libgstreamer-plugins-base1.0-dev
- libgstreamer1.0-dev
- libgumbo-dev
+ - libhandy-1-dev
- libidn11-dev
- libjson-glib-dev
- libkf5wallet-dev
- liblua5.1-0-dev
- libmeanwhile-dev
+ - libncurses5-dev
- libnice-dev
- - libncurses5-dev
- libnss3-dev
- libperl-dev
- libsecret-1-dev
@@ -52,7 +57,8 @@
- python3-dev
- python3-dev
- python3-gi
- - qt5-default
+ - qt5-qmake
+ - qt5keychain-dev
- valac
- wget
- xauth
--- a/teamcity_coverity_agents.yaml Wed Jun 02 16:11:25 2021 -0500
+++ b/teamcity_coverity_agents.yaml Wed Jun 02 17:58:15 2021 -0500
@@ -4,6 +4,8 @@
- role: update
- role: cron-apt
- role: coverity
+ - role: pidgin2-dependencies
+ - role: pidgin3-dependencies
- role: teamcity
teamcity_server: https://ci.imfreedom.org/