Skip to content

Commit 221f761

Browse files
committed
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: #181
1 parent d5a0812 commit 221f761

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.circleci/config.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,15 @@ commands:
5656
mount.efs --version
5757
build-rpm:
5858
steps:
59-
- checkout
6059
- run:
6160
name: Install dependencies
6261
command: |
63-
yum -y install rpm-build make systemd
62+
yum -y install rpm-build make systemd git
63+
- run:
64+
name: Add local build repo as safe git directory
65+
command: |
66+
git config --global --add safe.directory /tmp/_circleci_local_build_repo
67+
- checkout
6468
- run:
6569
name: Build RPM
6670
command: |
@@ -216,6 +220,9 @@ workflows:
216220
- build-rpm-package:
217221
name: rocky8
218222
image: rockylinux/rockylinux:8
223+
- build-rpm-package:
224+
name: rocky9
225+
image: rockylinux/rockylinux:9
219226
- build-rpm-package:
220227
name: amazon-linux-latest
221228
image: amazonlinux:latest

0 commit comments

Comments
 (0)