From 7efb6e8df9056a34ce112fc25e46497928b203bf Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 25 Sep 2021 17:56:49 -0700 Subject: [PATCH] ci: remove fedora 31 and 32, which are EOL --- .github/workflows/gen_fedora31.yml | 86 ------------- .github/workflows/gen_fedora31_continuous.yml | 119 ------------------ .github/workflows/gen_fedora31_tag.yml | 73 ----------- .github/workflows/gen_fedora32.yml | 86 ------------- .github/workflows/gen_fedora32_continuous.yml | 119 ------------------ .github/workflows/gen_fedora32_tag.yml | 73 ----------- ci/generate-workflows.py | 3 +- docs/install/linux.markdown | 2 - 8 files changed, 1 insertion(+), 560 deletions(-) delete mode 100644 .github/workflows/gen_fedora31.yml delete mode 100644 .github/workflows/gen_fedora31_continuous.yml delete mode 100644 .github/workflows/gen_fedora31_tag.yml delete mode 100644 .github/workflows/gen_fedora32.yml delete mode 100644 .github/workflows/gen_fedora32_continuous.yml delete mode 100644 .github/workflows/gen_fedora32_tag.yml diff --git a/.github/workflows/gen_fedora31.yml b/.github/workflows/gen_fedora31.yml deleted file mode 100644 index 35c41635a..000000000 --- a/.github/workflows/gen_fedora31.yml +++ /dev/null @@ -1,86 +0,0 @@ - -name: fedora31 - -on: - pull_request: - branches: - - main - paths-ignore: - - '.cirrus.yml' - - 'docs/*' - - 'ci/build-docs.sh' - - 'ci/generate-docs.py' - - 'ci/subst-release-info.py' - - '.github/workflows/pages.yml' - - '.github/ISSUE_TEMPLATE/*' - - '**/*.md' - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:31" - steps: - - name: "Install git" - shell: bash - run: "yum install -y git" - - name: "Install curl" - shell: bash - run: "yum install -y curl" - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*" - - name: "Fetch tag/branch history" - shell: bash - run: "git fetch --prune --unshallow" - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora31-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: " env PATH=$PATH ./get-deps" - - name: "Check formatting" - shell: bash - run: "cargo fmt --all -- --check" - - name: "Build (Release mode)" - shell: bash - run: "cargo build --all --release" - - name: "Test (Release mode)" - shell: bash - run: "cargo test --all --release" - - name: "Package" - shell: bash - run: "bash ci/deploy.sh" - - name: "Move Package for artifact upload" - shell: bash - run: | - mkdir pkg_ - mv ~/rpmbuild/RPMS/*/*.rpm pkg_ - - - - name: "Upload artifact" - uses: actions/upload-artifact@master - with: - name: "fedora31" - path: "pkg_" diff --git a/.github/workflows/gen_fedora31_continuous.yml b/.github/workflows/gen_fedora31_continuous.yml deleted file mode 100644 index 0f5f0e0dd..000000000 --- a/.github/workflows/gen_fedora31_continuous.yml +++ /dev/null @@ -1,119 +0,0 @@ - -name: fedora31_continuous - -on: - schedule: - - cron: "10 3 * * *" - push: - branches: - - main - paths-ignore: - - '.cirrus.yml' - - 'docs/**' - - 'ci/build-docs.sh' - - 'ci/generate-docs.py' - - 'ci/subst-release-info.py' - - '.github/workflows/pages.yml' - - '.github/ISSUE_TEMPLATE/*' - - '**/*.md' - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:31" - steps: - - name: "Install git" - shell: bash - run: | - export BUILD_REASON=Schedule - yum install -y git - - - - name: "Install curl" - shell: bash - run: | - export BUILD_REASON=Schedule - yum install -y curl - - - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: | - export BUILD_REASON=Schedule - git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - - - name: "Fetch tag/branch history" - shell: bash - run: | - export BUILD_REASON=Schedule - git fetch --prune --unshallow - - - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora31-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: | - export BUILD_REASON=Schedule - env PATH=$PATH ./get-deps - - - - name: "Build (Release mode)" - shell: bash - run: | - export BUILD_REASON=Schedule - cargo build --all --release - - - - name: "Test (Release mode)" - shell: bash - run: | - export BUILD_REASON=Schedule - cargo test --all --release - - - - name: "Package" - shell: bash - run: | - export BUILD_REASON=Schedule - bash ci/deploy.sh - - - - name: "Move RPM" - shell: bash - run: | - export BUILD_REASON=Schedule - mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora31.rpm - - - - name: "Upload to Nightly Release" - uses: wez/upload-release-assets@releases/v1 - if: github.event.repository.fork == false - with: - files: "wezterm-*.rpm" - release-tag: "nightly" - repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/gen_fedora31_tag.yml b/.github/workflows/gen_fedora31_tag.yml deleted file mode 100644 index 6bde012ac..000000000 --- a/.github/workflows/gen_fedora31_tag.yml +++ /dev/null @@ -1,73 +0,0 @@ - -name: fedora31_tag - -on: - push: - tags: - - "20*" - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:31" - steps: - - name: "Install git" - shell: bash - run: "yum install -y git" - - name: "Install curl" - shell: bash - run: "yum install -y curl" - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*" - - name: "Fetch tag/branch history" - shell: bash - run: "git fetch --prune --unshallow" - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora31-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: " env PATH=$PATH ./get-deps" - - name: "Build (Release mode)" - shell: bash - run: "cargo build --all --release" - - name: "Test (Release mode)" - shell: bash - run: "cargo test --all --release" - - name: "Package" - shell: bash - run: "bash ci/deploy.sh" - - name: "Move RPM" - shell: bash - run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - - name: "Upload to Tagged Release" - uses: softprops/action-gh-release@v1 - if: github.event.repository.fork == false - with: - files: "wezterm-*.rpm" - prerelease: true - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/gen_fedora32.yml b/.github/workflows/gen_fedora32.yml deleted file mode 100644 index 19b04e05c..000000000 --- a/.github/workflows/gen_fedora32.yml +++ /dev/null @@ -1,86 +0,0 @@ - -name: fedora32 - -on: - pull_request: - branches: - - main - paths-ignore: - - '.cirrus.yml' - - 'docs/*' - - 'ci/build-docs.sh' - - 'ci/generate-docs.py' - - 'ci/subst-release-info.py' - - '.github/workflows/pages.yml' - - '.github/ISSUE_TEMPLATE/*' - - '**/*.md' - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:32" - steps: - - name: "Install git" - shell: bash - run: "yum install -y git" - - name: "Install curl" - shell: bash - run: "yum install -y curl" - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*" - - name: "Fetch tag/branch history" - shell: bash - run: "git fetch --prune --unshallow" - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora32-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: " env PATH=$PATH ./get-deps" - - name: "Check formatting" - shell: bash - run: "cargo fmt --all -- --check" - - name: "Build (Release mode)" - shell: bash - run: "cargo build --all --release" - - name: "Test (Release mode)" - shell: bash - run: "cargo test --all --release" - - name: "Package" - shell: bash - run: "bash ci/deploy.sh" - - name: "Move Package for artifact upload" - shell: bash - run: | - mkdir pkg_ - mv ~/rpmbuild/RPMS/*/*.rpm pkg_ - - - - name: "Upload artifact" - uses: actions/upload-artifact@master - with: - name: "fedora32" - path: "pkg_" diff --git a/.github/workflows/gen_fedora32_continuous.yml b/.github/workflows/gen_fedora32_continuous.yml deleted file mode 100644 index a6ca64b72..000000000 --- a/.github/workflows/gen_fedora32_continuous.yml +++ /dev/null @@ -1,119 +0,0 @@ - -name: fedora32_continuous - -on: - schedule: - - cron: "10 3 * * *" - push: - branches: - - main - paths-ignore: - - '.cirrus.yml' - - 'docs/**' - - 'ci/build-docs.sh' - - 'ci/generate-docs.py' - - 'ci/subst-release-info.py' - - '.github/workflows/pages.yml' - - '.github/ISSUE_TEMPLATE/*' - - '**/*.md' - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:32" - steps: - - name: "Install git" - shell: bash - run: | - export BUILD_REASON=Schedule - yum install -y git - - - - name: "Install curl" - shell: bash - run: | - export BUILD_REASON=Schedule - yum install -y curl - - - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: | - export BUILD_REASON=Schedule - git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - - - name: "Fetch tag/branch history" - shell: bash - run: | - export BUILD_REASON=Schedule - git fetch --prune --unshallow - - - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora32-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: | - export BUILD_REASON=Schedule - env PATH=$PATH ./get-deps - - - - name: "Build (Release mode)" - shell: bash - run: | - export BUILD_REASON=Schedule - cargo build --all --release - - - - name: "Test (Release mode)" - shell: bash - run: | - export BUILD_REASON=Schedule - cargo test --all --release - - - - name: "Package" - shell: bash - run: | - export BUILD_REASON=Schedule - bash ci/deploy.sh - - - - name: "Move RPM" - shell: bash - run: | - export BUILD_REASON=Schedule - mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora32.rpm - - - - name: "Upload to Nightly Release" - uses: wez/upload-release-assets@releases/v1 - if: github.event.repository.fork == false - with: - files: "wezterm-*.rpm" - release-tag: "nightly" - repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/gen_fedora32_tag.yml b/.github/workflows/gen_fedora32_tag.yml deleted file mode 100644 index 2d8eceb62..000000000 --- a/.github/workflows/gen_fedora32_tag.yml +++ /dev/null @@ -1,73 +0,0 @@ - -name: fedora32_tag - -on: - push: - tags: - - "20*" - - -jobs: - build: - strategy: - fail-fast: false - runs-on: "ubuntu-latest" - container: "fedora:32" - steps: - - name: "Install git" - shell: bash - run: "yum install -y git" - - name: "Install curl" - shell: bash - run: "yum install -y curl" - - name: "checkout repo" - uses: actions/checkout@v2 - with: - submodules: "recursive" - - name: "Fetch tags" - shell: bash - run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*" - - name: "Fetch tag/branch history" - shell: bash - run: "git fetch --prune --unshallow" - - name: "Install Rust" - uses: actions-rs/toolchain@v1 - with: - profile: "minimal" - toolchain: "stable" - override: true - components: "rustfmt" - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" - - name: "Cache cargo" - uses: actions/cache@v2.1.6 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - - key: "fedora32-None-2-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" - - name: "Install System Deps" - shell: bash - run: " env PATH=$PATH ./get-deps" - - name: "Build (Release mode)" - shell: bash - run: "cargo build --all --release" - - name: "Test (Release mode)" - shell: bash - run: "cargo test --all --release" - - name: "Package" - shell: bash - run: "bash ci/deploy.sh" - - name: "Move RPM" - shell: bash - run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - - name: "Upload to Tagged Release" - uses: softprops/action-gh-release@v1 - if: github.event.repository.fork == false - with: - files: "wezterm-*.rpm" - prerelease: true - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index e7869c083..e5bd8526a 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -561,8 +561,7 @@ TARGETS = [ Target(container="debian:10.3", continuous_only=True), Target(container="debian:11", continuous_only=True), Target(name="macos", os="macos-11"), - Target(container="fedora:31"), - Target(container="fedora:32"), + # https://fedoraproject.org/wiki/End_of_life?rd=LifeCycle/EOL Target(container="fedora:33"), Target(container="fedora:34"), Target(container="centos:7", bootstrap_git=True), diff --git a/docs/install/linux.markdown b/docs/install/linux.markdown index be4936b9b..3ddd01898 100644 --- a/docs/install/linux.markdown +++ b/docs/install/linux.markdown @@ -71,8 +71,6 @@ on most Linux systems. |------------|------------------|---------------------| |CentOS7 |[{{ centos7_rpm_stable_asset }}]({{ centos7_rpm_stable }}) |[{{ centos7_rpm_nightly_asset }}]({{ centos7_rpm_nightly }})| |CentOS8 |[{{ centos8_rpm_stable_asset }}]({{ centos8_rpm_stable }}) |[{{ centos8_rpm_nightly_asset }}]({{ centos8_rpm_nightly }})| -|Fedora31 |[{{ fedora31_rpm_stable_asset }}]({{ fedora31_rpm_stable }}) |[{{ fedora31_rpm_nightly_asset }}]({{ fedora31_rpm_nightly }})| -|Fedora32 |[{{ fedora32_rpm_stable_asset }}]({{ fedora32_rpm_stable }}) |[{{ fedora32_rpm_nightly_asset }}]({{ fedora32_rpm_nightly }})| |Fedora33 |[{{ fedora33_rpm_stable_asset }}]({{ fedora33_rpm_stable }}) |[{{ fedora33_rpm_nightly_asset }}]({{ fedora33_rpm_nightly }})| |Fedora34 |[{{ fedora34_rpm_stable_asset }}]({{ fedora34_rpm_stable }}) |[{{ fedora34_rpm_nightly_asset }}]({{ fedora34_rpm_nightly }})|