Bläddra i källkod

Fedora 30 is EOL

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
Dorian Stoll 5 år sedan
förälder
incheckning
7ed853ab65
2 ändrade filer med 0 tillägg och 131 borttagningar
  1. 0 128
      .github/workflows/fedora-30.yml
  2. 0 3
      pkg/fedora/kernel-surface/kernel-surface.spec

+ 0 - 128
.github/workflows/fedora-30.yml

@@ -1,128 +0,0 @@
-on:
-  push:
-    tags:
-      - 'fedora-30-*'
-
-name: Fedora 30
-
-env:
-  GPG_KEY_ID: 56C464BAAC421453
-
-jobs:
-  build:
-    name: Build Kernel
-    runs-on: ubuntu-latest
-    container: fedora:30
-    steps:
-    - name: Checkout code
-      uses: actions/checkout@v2
-
-    - name: Install build dependencies
-      run: |
-        dnf distro-sync -y
-        dnf install -y rpmdevtools rpm-sign 'dnf-command(builddep)'
-        dnf builddep -y pkg/fedora/kernel-surface/kernel-surface.spec
-
-    - name: Setup secureboot certificate
-      env:
-        SB_KEY: ${{ secrets.SURFACE_SB_KEY }}
-      run: |
-        cd pkg
-
-        # Install the surface secureboot certificate
-        echo "$SB_KEY" | base64 -d > fedora/kernel-surface/surface.key
-        cp keys/surface.crt fedora/kernel-surface/surface.crt
-
-    - name: Build packages
-      run: |
-        cd pkg/fedora/kernel-surface
-
-        # Build the .rpm packages
-        ../makerpm
-
-    - name: Sign packages
-      env:
-        GPG_KEY: ${{ secrets.SURFACE_GPG_KEY }}
-      run: |
-        cd pkg/fedora/kernel-surface/out/x86_64
-
-        # import GPG key
-        echo "$GPG_KEY" | base64 -d | gpg --import --no-tty --batch --yes
-
-        # sign packages
-        rpm --resign *.rpm --define "_gpg_name $GPG_KEY_ID"
-
-    - name: Upload artifacts
-      uses: actions/upload-artifact@v1
-      with:
-        name: fedora-30-latest
-        path: pkg/fedora/kernel-surface/out/x86_64
-
-  release:
-    name: Publish release
-    needs: [build]
-    runs-on: ubuntu-latest
-    steps:
-    - name: Download artifacts
-      uses: actions/download-artifact@v1
-      with:
-        name: fedora-30-latest
-
-    - name: Upload assets
-      uses: svenstaro/upload-release-action@v1-release
-      with:
-        repo_token: ${{ secrets.GITHUB_BOT_TOKEN }}
-        file: ./*-latest/*
-        tag: ${{ github.ref }}
-        overwrite: true
-        file_glob: true
-
-  repo:
-    name: Update package repository
-    needs: [release]
-    runs-on: ubuntu-latest
-    container: fedora:30
-    steps:
-    - name: Install dependencies
-      run: |
-        dnf install -y git findutils
-
-    - name: Download artifacts
-      uses: actions/download-artifact@v1
-      with:
-        name: fedora-30-latest
-
-    - name: Update repository
-      env:
-        SURFACEBOT_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
-        BRANCH_STAGING: u/staging
-        GIT_REF: ${{ github.ref }}
-      run: |
-        repo="https://surfacebot:${SURFACEBOT_TOKEN}@github.com/linux-surface/repo.git"
-
-        # clone package repository
-        git clone -b "${BRANCH_STAGING}" "${repo}" repo
-
-        # copy packages
-        cp fedora-30-latest/* repo/fedora/f30
-        cd repo/fedora/f30
-
-        # parse git tag from ref
-        GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
-
-        # convert packages into references
-        for pkg in $(find . -name '*.rpm'); do
-          echo "linux-surface:$GIT_TAG/$(basename $pkg)" > $pkg.blob
-          rm $pkg
-        done
-
-        # set git identity
-        git config --global user.email "surfacebot@users.noreply.github.com"
-        git config --global user.name "surfacebot"
-
-        # commit and push
-        update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
-        git checkout -b "${update_branch}"
-        git add .
-        git commit -m "Update Fedora 30 kernel"
-        git push --set-upstream origin "${update_branch}"

+ 0 - 3
pkg/fedora/kernel-surface/kernel-surface.spec

@@ -4,15 +4,12 @@
 
 %global kernel_tag_fc32 kernel-5.6.14-300.fc32
 %global kernel_tag_fc31 kernel-5.6.14-200.fc31
-%global kernel_tag_fc30 kernel-5.6.14-100.fc30
 
 %global kernel_release_fc32 1
 %global kernel_release_fc31 1
-%global kernel_release_fc30 1
 
 %global fedora_title_fc32 32 (Thirty Two)
 %global fedora_title_fc31 31 (Thirty One)
-%global fedora_title_fc30 30 (Thirty)
 
 %global ls_patches_commit 3d3c2d4bc005ef499f5048f9873ffc58ab3489b2