From 273e5a3d0c8121909089fcffd905ba8b07d42d41 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 3 Oct 2023 09:57:56 +0200 Subject: [PATCH 1/2] ci: Bump actions/checkout from v3 to v4 --- .github/workflows/csmock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/csmock.yml b/.github/workflows/csmock.yml index 837e5a4e85..a662ded9c9 100644 --- a/.github/workflows/csmock.yml +++ b/.github/workflows/csmock.yml @@ -17,7 +17,7 @@ jobs: CI_CONTAINER: udisks-ci-csmock steps: - name: Checkout udisks repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install podman run: | From 263ff723c76318cf9598ea6d5304403c41c7efca Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 3 Oct 2023 09:58:38 +0200 Subject: [PATCH 2/2] ci: Remove the custom GH action for RPM builds This is now fully replaced by Packit. --- .github/workflows/rpmbuild.yml | 47 ---------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/rpmbuild.yml diff --git a/.github/workflows/rpmbuild.yml b/.github/workflows/rpmbuild.yml deleted file mode 100644 index d1393fd515..0000000000 --- a/.github/workflows/rpmbuild.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Build RPM packages - -env: - MOCK_CHROOTS: "fedora-rawhide fedora-38 fedora-37" - -on: - pull_request: - branches: - - master - -jobs: - build: - name: rpmbuild - runs-on: ubuntu-22.04 - env: - CI_CONTAINER: udisks-ci-rpmbuild - steps: - - name: Checkout udisks repository - uses: actions/checkout@v3 - - - name: Install podman - run: | - sudo apt -qq update - sudo apt -y -qq install podman - - - name: Build the container - run: | - podman build --no-cache -t ${{ env.CI_CONTAINER }} -f misc/ci.Dockerfile . - - - name: Start the container - run: | - podman run -d -t --name ${{ env.CI_CONTAINER }} --privileged --volume "$(pwd):/app" --workdir "/app" ${{ env.CI_CONTAINER }} - - - name: Install test dependencies in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "ansible-playbook -i "localhost," -c local misc/install-test-dependencies.yml" - - - name: Run RPM mock builds in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "/ci/run_rpmbuild_tests -c /ci/copr-builder.conf -p udisks -r ${{ env.MOCK_CHROOTS }}" - - - name: Upload the rpmbuild logs - if: always() - uses: actions/upload-artifact@v3 - with: - name: rpmbuild_logs - path: rpmbuild_*.log