This is an automated email from the ASF dual-hosted git repository.

piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 0625ba955 ci: fix flaky keyring tests with eval and collection warmup 
(#2908)
0625ba955 is described below

commit 0625ba95585c8e006a22f342d8006905696e6629
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Tue Mar 10 10:49:02 2026 +0100

    ci: fix flaky keyring tests with eval and collection warmup (#2908)
---
 .github/actions/rust/pre-merge/action.yml | 5 +++--
 .github/workflows/post-merge.yml          | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/actions/rust/pre-merge/action.yml 
b/.github/actions/rust/pre-merge/action.yml
index 398cf4397..11c59f6b8 100644
--- a/.github/actions/rust/pre-merge/action.yml
+++ b/.github/actions/rust/pre-merge/action.yml
@@ -94,11 +94,12 @@ runs:
     - name: Install dependencies for Rust tests
       if: inputs.task == 'test' && runner.os == 'Linux'
       run: |
-        sudo apt-get update --yes && sudo apt-get install --yes musl-tools 
gnome-keyring keyutils dbus-x11
+        sudo apt-get update --yes && sudo apt-get install --yes musl-tools 
gnome-keyring keyutils dbus-x11 libsecret-tools
         rm -f $HOME/.local/share/keyrings/*
         eval $(dbus-launch --sh-syntax)
         echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> 
$GITHUB_ENV
-        echo -n "test" | gnome-keyring-daemon --unlock --components=secrets
+        eval $(echo -n "test" | gnome-keyring-daemon --unlock 
--components=secrets)
+        echo -n "warmup" | secret-tool store --label="ci-warmup" ci-test warmup
       shell: bash
 
     - name: Install cargo-llvm-cov
diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml
index 4c4f31da0..6574cd06f 100644
--- a/.github/workflows/post-merge.yml
+++ b/.github/workflows/post-merge.yml
@@ -188,11 +188,12 @@ jobs:
       - name: Install system dependencies
         run: |
           sudo apt-get update --yes
-          sudo apt-get install --yes gnome-keyring keyutils dbus-x11
+          sudo apt-get install --yes gnome-keyring keyutils dbus-x11 
libsecret-tools
           rm -f $HOME/.local/share/keyrings/*
           eval $(dbus-launch --sh-syntax)
           echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> 
$GITHUB_ENV
-          echo -n "test" | gnome-keyring-daemon --unlock --components=secrets
+          eval $(echo -n "test" | gnome-keyring-daemon --unlock 
--components=secrets)
+          echo -n "warmup" | secret-tool store --label="ci-warmup" ci-test 
warmup
 
       - name: Setup Rust with cache
         uses: ./.github/actions/utils/setup-rust-with-cache

Reply via email to