From 39050ff67f0f59c74c1f62aaf521d32bd29ca743 Mon Sep 17 00:00:00 2001 From: Younghwan Kim <88774925+royroyee@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:44:36 +0900 Subject: [PATCH] Remove build-rpm job due to CentOS 7 mirror resolution issues --- .github/workflows/release.yml | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a959900..a14998b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,30 +34,30 @@ jobs: name: alpamon-${{ github.ref_name }}-py3-none-any.whl path: dist/alpamon-${{ github.ref_name }}-py3-none-any.whl - build-rpm: - needs: [build-and-test] - runs-on: ubuntu-latest - container: - image: centos:7 - steps: - - uses: actions/checkout@v3 - - - name: Install dependencies - run: | - yum install -y python3 python3-pip rpm-build - - - name: Build RPM package - run: | - python3 setup.py bdist_rpm - - - name: Upload RPM artifact - uses: actions/upload-artifact@v3 - with: - name: alpamon-${{ github.ref_name }}-1.noarch.rpm - path: dist/alpamon-${{ github.ref_name }}-1.noarch.rpm + # build-rpm: + # needs: [build-and-test] + # runs-on: ubuntu-latest + # container: + # image: centos:7 + # steps: + # - uses: actions/checkout@v3 + + # - name: Install dependencies + # run: | + # yum install -y python3 python3-pip rpm-build + + # - name: Build RPM package + # run: | + # python3 setup.py bdist_rpm + + # - name: Upload RPM artifact + # uses: actions/upload-artifact@v3 + # with: + # name: alpamon-${{ github.ref_name }}-1.noarch.rpm + # path: dist/alpamon-${{ github.ref_name }}-1.noarch.rpm release: - needs: [ build-wheel, build-rpm ] + needs: [ build-wheel] runs-on: ubuntu-latest container: image: alpacanetworks/alpacon-cli:latest @@ -70,10 +70,10 @@ jobs: with: name: alpamon-${{ github.ref_name }}-py3-none-any.whl - - name: Download rpm artifact - uses: actions/download-artifact@v3 - with: - name: alpamon-${{ github.ref_name }}-1.noarch.rpm + # - name: Download rpm artifact + # uses: actions/download-artifact@v3 + # with: + # name: alpamon-${{ github.ref_name }}-1.noarch.rpm - name: List downloaded files run: ls @@ -82,7 +82,7 @@ jobs: run: | alpacon login -s ${{ secrets.ALPACON_URL }} -t ${{ secrets.ALPACON_TOKEN }} alpacon package python upload alpamon-${{ github.ref_name }}-py3-none-any.whl - alpacon package system upload alpamon-${{ github.ref_name }}-1.noarch.rpm + # alpacon package system upload alpamon-${{ github.ref_name }}-1.noarch.rpm