Skip to content

Commit

Permalink
automation: drop el8 after centos stream 8 eol
Browse files Browse the repository at this point in the history
Dropping automation on el8 stream as centos stream 8 reached EOL.

Signed-off-by: Sandro Bonazzola <[email protected]>
  • Loading branch information
sandrobonazzola committed Sep 13, 2024
1 parent 9355e4f commit 10b466d
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,50 +7,6 @@ on:
branches: [master]

jobs:
build-el8:
runs-on: ubuntu-latest

container:
image: quay.io/centos/centos:stream8

steps:
- name: Prepare env
run: |
mkdir -p ${GITHUB_WORKSPACE}/tmp.repos/BUILD
yum install -y --setopt=tsflags=nodocs autoconf automake createrepo_c gettext-devel git systemd make git rpm-build epel-release
- uses: ovirt/checkout-action@main

- name: Make build
run: |
export EXTRA_DNF_OPT='--enablerepo=powertools'
export HOME=${GITHUB_WORKSPACE}
make -f .copr/Makefile srpm outdir="${GITHUB_WORKSPACE}" spec=rubygem-ovirt-engine-sdk4.spec
- name: Make and test rpm and gem
run: |
export HOME=${GITHUB_WORKSPACE}
./automation/check-merged.sh
- name: Create DNF repository
run: |
createrepo_c ${GITHUB_WORKSPACE}/exported-artifacts/
- name: Test install
run: |
yum install -y ${GITHUB_WORKSPACE}/exported-artifacts/rubygem-ovirt-engine-sdk4*x86_64.rpm
yum module enable -y javapackages-runtime:201801
yum module enable -y maven:3.5
yum module enable -y pki-deps:10.6
yum module enable -y postgresql:12
yum --downloadonly install -y ${GITHUB_WORKSPACE}/exported-artifacts/*x86_64.rpm
yum --downloadonly install -y rubygem-ovirt-engine-sdk4
- name: Upload artifacts
uses: ovirt/upload-rpms-action@main
with:
directory: exported-artifacts


build-el9:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -88,4 +44,3 @@ jobs:
uses: ovirt/upload-rpms-action@main
with:
directory: exported-artifacts

0 comments on commit 10b466d

Please sign in to comment.