From 9e13feaaf68bc5a42eef313b27ba8693bbcc1b46 Mon Sep 17 00:00:00 2001 From: jeanluc Date: Tue, 23 Jul 2024 11:20:08 +0200 Subject: [PATCH 1/2] Ensure time is frozen during SecretId fetch tests --- tests/unit/utils/vault/test_factory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/utils/vault/test_factory.py b/tests/unit/utils/vault/test_factory.py index 2a2b9c9..4efad23 100644 --- a/tests/unit/utils/vault/test_factory.py +++ b/tests/unit/utils/vault/test_factory.py @@ -598,6 +598,7 @@ def _assert_not_updated(self, remote, cached): cached.store.assert_not_called() +@pytest.mark.usefixtures("time_stopped") class TestFetchSecretId: """ Tests for Vault Fetch Secret Id From cf0ba03716318af50d31fc03ecce503704c07090 Mon Sep 17 00:00:00 2001 From: jeanluc Date: Tue, 23 Jul 2024 11:42:07 +0200 Subject: [PATCH 2/2] Fix workflow deprecation warning --- .copier-answers.yml | 2 +- .github/workflows/tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index aa8621b..3e1094a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,6 +1,6 @@ # Autogenerated. Do not edit this by hand, use `copier update`. --- -_commit: 0.3.2 +_commit: 0.3.4 _src_path: https://github.com/lkubb/salt-extension-copier author: Salt Core Team author_email: saltproject@vmware.com diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index abdd5e7..5db6e15 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -16,7 +16,7 @@ jobs: - name: Extract tag name id: get_version - run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})" + run: echo "version=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT call_central_workflow: needs: get_tag_version