Skip to content

Commit

Permalink
test: Fix git related error in 'build-rpm', add rocky9
Browse files Browse the repository at this point in the history
Fix a git not found warning/error and add rocky9
to the circleci build workflow.

fixes: #181
  • Loading branch information
wombelix committed Oct 23, 2023
1 parent d5a0812 commit 221f761
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 221f761

Please sign in to comment.