Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automation: drop el8 after centos stream 8 eol #18

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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