From b15bbc689bb7ebf95df74333d238e428467aaa08 Mon Sep 17 00:00:00 2001 From: mikeeq Date: Thu, 7 Mar 2024 10:09:34 +0100 Subject: [PATCH] Update kiali, add new gnome extensions + revert to upstream version of pipeline-as-yaml plugin for jenkins --- README.md | 10 ++++++++++ playbooks/group_vars/all.yml | 8 +++++--- roles/apps/kail/tasks/main.yml | 2 +- roles/desktop/fedora/tasks/wake_on_lan.yml | 1 + roles/desktop/gnome/tasks/gsettings.yml | 2 +- roles/servers/apps/jenkins/templates/Dockerfile | 2 +- 6 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3932e548..5d61b8dd 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,11 @@ Contributions are what make the open source community such an amazing place to b keybase pgp export --query $KEY_ID -s > private.gpg; gpg --import private.gpg; rm -v private.gpg keybase pgp export --query $KEY_ID > public.gpg; gpg --import public.gpg; rm -v public.gpg git-crypt add-gpg-user -n --trusted $USER_ID[could be email] + + # If `gpg -vvvvv --import` hangs on: + ## gpg: waiting for lock (held by 5555) ... + ## gpg: no running keyboxd - starting '/usr/libexec/keyboxd' + ### you can fix it by commenting out use-keyboxd in ~/.gnupg/common.conf. ``` 10. To save HTTPS git credentials @@ -379,6 +384,9 @@ Contributions are what make the open source community such an amazing place to b dracut -f # If you fail to boot to Fedora, you can edit boot entry in grub by clicking "e" in grub bootmenu and in line starting with "linux ..." add at the end "init 3" to boot in multi-user.target (without graphical interface) + + # If you are using Secure Boot, during installation of the NVIDIA drivers create new key pair (or use existing one), and if it's a new key pair then add them to UEFI key by executing + mokutil --import /usr/share/nvidia/nvidia-modsign-crt-${id}.der ``` 12. To fix purple'ish screen, enable OC and Fan control (I recommend to use GreenWithEnvy - gwe (installed using flatpak)) apply those changes to `/etc/X11/xorg.conf`: @@ -468,6 +476,8 @@ echo 2 > /sys/class/backlight/acpi_video0/brightness flatpak override com.valvesoftware.Steam --filesystem=${PATH_TO_FILESYSTEM} ``` +18. Terminator fails to open with an error `terminator:24::ModuleNotFoundError: No module named 'psutil'`, try reinstalling `dnf reinstall python3-psutil` to fix it + ## License diff --git a/playbooks/group_vars/all.yml b/playbooks/group_vars/all.yml index aea68e5b..a2497ba8 100644 --- a/playbooks/group_vars/all.yml +++ b/playbooks/group_vars/all.yml @@ -144,8 +144,10 @@ gnome_shell_extensions: - 517 # caffeine - 615 # appindicator - 4792 # frequency-boost-switch - - 906 # Sound Input & Output Device Chooser - - 4652 # adjust-display-brightness + - 3193 # Blur my Shell + - 2645 # brightness-control-using-ddcutil + # - 906 # Sound Input & Output Device Chooser + # - 4652 # adjust-display-brightness # - 1082 # cpufreq # - 4144 # vertical-overview # - 945 # cpu-power-manager @@ -170,7 +172,7 @@ gnome_extension_ids: "{{ gnome_shell_extensions }}" # https://releases.hashicorp.com/vagrant # vagrant_version: 2.2.19 # https://github.com/boz/kail/releases -kail_version: 0.16.1 +# kail_version: 0.16.1 vscode_extensions: - bbenoist.vagrant diff --git a/roles/apps/kail/tasks/main.yml b/roles/apps/kail/tasks/main.yml index 38e43710..f4030b29 100644 --- a/roles/apps/kail/tasks/main.yml +++ b/roles/apps/kail/tasks/main.yml @@ -2,7 +2,7 @@ - name: Get installed version become: true become_user: "{{ user_name }}" - shell: kail version | awk '{print $1}' + shell: kail version | awk '{print $1}' | cut -d'v' -f2 register: installed_kail_version changed_when: false ignore_errors: true diff --git a/roles/desktop/fedora/tasks/wake_on_lan.yml b/roles/desktop/fedora/tasks/wake_on_lan.yml index b95649a9..35ac632d 100644 --- a/roles/desktop/fedora/tasks/wake_on_lan.yml +++ b/roles/desktop/fedora/tasks/wake_on_lan.yml @@ -1,4 +1,5 @@ --- +# erp ready/power saving option needs to be disabled in bios - name: Create wol systemd service copy: content: | diff --git a/roles/desktop/gnome/tasks/gsettings.yml b/roles/desktop/gnome/tasks/gsettings.yml index 97ac4691..a20b62d5 100644 --- a/roles/desktop/gnome/tasks/gsettings.yml +++ b/roles/desktop/gnome/tasks/gsettings.yml @@ -110,7 +110,7 @@ become_user: "{{ user_name }}" dconf: key: "/org/gnome/shell/enabled-extensions" - value: "['GPaste@gnome-shell-extensions.gnome.org', 'caffeine@patapon.info', 'appindicatorsupport@rgcjonas.gmail.com', 'freq-boost-switch@metal03326', 'gnome-extension-brightness@bruno.englert.gitlab.com', 'sound-output-device-chooser@kgshank.net']" + value: "['GPaste@gnome-shell-extensions.gnome.org', 'caffeine@patapon.info', 'appindicatorsupport@rgcjonas.gmail.com', 'freq-boost-switch@metal03326', 'gnome-extension-brightness@bruno.englert.gitlab.com', 'sound-output-device-chooser@kgshank.net', 'blur-my-shell@aunetx', 'display-brightness-ddcutil@themightydeity.github.com']" state: present # "['GPaste@gnome-shell-extensions.gnome.org', 'caffeine@patapon.info', 'appindicatorsupport@rgcjonas.gmail.com', 'freq-boost-switch@metal03326']" diff --git a/roles/servers/apps/jenkins/templates/Dockerfile b/roles/servers/apps/jenkins/templates/Dockerfile index b4554774..323d71ee 100644 --- a/roles/servers/apps/jenkins/templates/Dockerfile +++ b/roles/servers/apps/jenkins/templates/Dockerfile @@ -96,6 +96,6 @@ USER jenkins # cloudbees-folder # timestamper # build-timeout -RUN jenkins-plugin-cli --plugins "blueocean workflow-aggregator rebuild ansicolor git multiple-scms pipeline-as-yaml:0.17-rc-SNAPSHOT:https://github.com/mikeeq/pipeline-as-yaml-plugin/releases/download/v0.17-rc-SNAPSHOT/pipeline-as-yaml.hpi ws-cleanup locale pipeline-multibranch-defaults basic-branch-build-strategies pipeline-stage-view configuration-as-code job-dsl dark-theme git-parameter conditional-buildstep run-condition theme-manager" +RUN jenkins-plugin-cli --plugins "blueocean workflow-aggregator rebuild ansicolor git multiple-scms pipeline-as-yaml ws-cleanup locale pipeline-multibranch-defaults basic-branch-build-strategies pipeline-stage-view configuration-as-code job-dsl dark-theme git-parameter conditional-buildstep run-condition theme-manager" # ❯ docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword