diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ff3bddcde..88fa1cd1c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,94 +49,6 @@ jobs: - name: Send coverage to codecov.io run: bash <(curl -s https://codecov.io/bash) - old_rpm_build: - name: "๐Ÿ“ฆ RPM (golang-github-osbuild-composer)" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - fedora_release: ["31"] - container: - image: "quay.io/osbuild/osbuild-fedora${{ matrix.fedora_release }}:latest" - steps: - - name: "๐Ÿ“ฅ Prepare container" - run: | - echo "fastestmirror=1" >> /etc/dnf/dnf.conf - echo "install_weak_deps=0" >> /etc/dnf/dnf.conf - rm -fv /etc/yum.repos.d/fedora*modular* - dnf -y upgrade - dnf -y install dnf-plugins-core findutils git make rpm-build rpmdevtools - - - name: "๐Ÿ—„๏ธ Clone the repository" - uses: actions/checkout@v2 - - - name: "๐Ÿงฑ Pre-install osbuild from updates-testing repo" - run: dnf -y --enablerepo=updates-testing install osbuild - - - name: "๐Ÿ›’ Install RPM build dependencies" - run: dnf -y builddep golang-github-osbuild-composer.spec - - - name: "๐Ÿ› ๏ธ Build RPMs" - run: | - mkdir rpms - make old-srpm - cp -av rpmbuild/SRPMS/*.rpm rpms/ - make old-rpm - cp -av rpmbuild/RPMS/*/*.rpm rpms/ - - - name: "๐Ÿ“ค Upload artifacts" - uses: actions/upload-artifact@v1 - with: - name: rpms - path: rpms/ - - - name: "๐Ÿ”Ž Test RPM installation" - run: dnf -y install $(ls rpms/*.x86_64.rpm) - - rpm_build: - name: "๐Ÿ“ฆ RPM (osbuild-composer)" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - fedora_release: ["32", "33"] - container: - image: "quay.io/osbuild/osbuild-fedora${{ matrix.fedora_release }}:latest" - steps: - - name: "๐Ÿ“ฅ Prepare container" - run: | - echo "fastestmirror=1" >> /etc/dnf/dnf.conf - echo "install_weak_deps=0" >> /etc/dnf/dnf.conf - rm -fv /etc/yum.repos.d/fedora*modular* - dnf -y upgrade - dnf -y install dnf-plugins-core findutils git make rpm-build rpmdevtools - - - name: "๐Ÿ—„๏ธ Clone the repository" - uses: actions/checkout@v2 - - - name: "๐Ÿงฑ Pre-install osbuild from updates-testing repo" - run: dnf -y --enablerepo=updates-testing install osbuild - - - name: "๐Ÿ›’ Install RPM build dependencies" - run: dnf -y builddep osbuild-composer.spec - - - name: "๐Ÿ› ๏ธ Build RPMs" - run: | - mkdir rpms - make srpm - cp -av rpmbuild/SRPMS/*.rpm rpms/ - make rpm - cp -av rpmbuild/RPMS/*/*.rpm rpms/ - - - name: "๐Ÿ“ค Upload artifacts" - uses: actions/upload-artifact@v1 - with: - name: rpms - path: rpms/ - - - name: "๐Ÿ”Ž Test RPM installation" - run: dnf -y install $(ls rpms/*.x86_64.rpm) - koji: name: "้บน Koji test" runs-on: ubuntu-latest