Skip to content

Commit

Permalink
Merge pull request #55 from lbr38/devel
Browse files Browse the repository at this point in the history
Moving CI to RockyLinux as CentOS7 is deprecated
  • Loading branch information
lbr38 authored Jul 3, 2024
2 parents 151064d + f011ab2 commit 17118bd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 37 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Build rpm package
runs-on: ubuntu-latest
container:
image: centos:7
image: rockylinux:9.3
options: --user root
steps:
- name: Checkout
Expand All @@ -21,14 +21,10 @@ jobs:
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV

- name: Install CentOS7 archive repositories
run: |
rm -f /etc/yum.repos.d/*.repo
cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/rpm/centos-archive-repos/*.repo /etc/yum.repos.d/
yum clean all
- name: Install dependencies packages
run: yum install rpmdevtools rpmlint -y
run: |
yum update -y
yum install rpmdevtools rpmlint -y
- name: Create build environment
run: |
Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/packaging/rpm/centos-archive-repos/os.repo

This file was deleted.

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
name: Build rpm package
runs-on: ubuntu-latest
container:
image: centos:7
image: rockylinux:9.3
options: --user root
steps:
- name: Checkout
Expand All @@ -79,14 +79,10 @@ jobs:
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV

- name: Install CentOS7 archive repositories
run: |
rm -f /etc/yum.repos.d/*.repo
cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/rpm/centos-archive-repos/*.repo /etc/yum.repos.d/
yum clean all
- name: Install dependencies packages
run: yum install rpmdevtools rpmlint -y
run: |
yum update -y
yum install rpmdevtools rpmlint -y
- name: Create build environment
run: |
Expand Down

0 comments on commit 17118bd

Please sign in to comment.