From 800a5b5029fae3c7c3d869fb764777577fd0c99e Mon Sep 17 00:00:00 2001 From: Dominik Wombacher Date: Mon, 23 Oct 2023 13:46:40 +0000 Subject: [PATCH] test: Fix git related error in 'build-rpm', add rocky9 Fix a git not found warning/error and add rocky9 to the circleci build workflow. fixes: https://github.com/aws/efs-utils/issues/181 --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7f52f18..16b2b38c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,11 +56,15 @@ commands: mount.efs --version build-rpm: steps: - - checkout - run: name: Install dependencies command: | - yum -y install rpm-build make systemd + yum -y install rpm-build make systemd git + - run: + name: Add local build repo as safe git directory + command: | + git config --global --add safe.directory /tmp/_circleci_local_build_repo + - checkout - run: name: Build RPM command: | @@ -216,6 +220,9 @@ workflows: - build-rpm-package: name: rocky8 image: rockylinux/rockylinux:8 + - build-rpm-package: + name: rocky9 + image: rockylinux/rockylinux:9 - build-rpm-package: name: amazon-linux-latest image: amazonlinux:latest