Skip to content

ci: build and release apisix-base 1.21.4.2.3 from release/apisix-base - #509

Merged
AlinsRan merged 2 commits into
release/apisix-basefrom
ci/apisix-base-release
Nov 20, 2026
Merged

AlinsRan merged 2 commits into
release/apisix-basefrom
ci/apisix-base-release

Conversation

@jarvis9443

Copy link
Copy Markdown
Contributor

release/apisix-base is cut from tag apisix-base/1.21.4.2.2. This PR makes the line buildable and releasable again, and releases 1.21.4.2.3 with the same sources as 1.21.4.2.2. Source changes come in later PRs.

Release artifacts

Only what the API7 EE V2 gateway images consume:

Artifact Where Consumer
apisix-base-<ver>-0.el7.x86_64.rpm GitHub release apisix-base/<ver> CentOS 7 and TencentOS images, rpm installs
api7/apisix-base:<ver> (amd64, arm64) Docker Hub the Alpine based arm64 image

Changes

  • Workflows, modelled on the release/api7ee-runtime release:
    • Removes all old GitHub workflows and the CircleCI config. The workflows use retired actions, publish to repos.apiseven.com, and fire on create, so they would also run on every release tag. Every CircleCI job fails on this branch.
    • build.yml: on pull requests, builds the rpm and both images and smoke tests them. The rpm is uploaded as a workflow artifact.
    • release.yml: on a VERSION change pushed to release/apisix-base, does the same, then:
      • attaches the rpm to the release apisix-base/<VERSION>;
      • pushes api7/apisix-base:<VERSION>-{amd64,arm64} and the multi-arch api7/apisix-base:<VERSION>, both built on native runners.
    • Fails instead of replacing an rpm or image that is already released.
  • CentOS 7 build: mirror.centos.org is gone. The base and SCL repos now point at vault.centos.org, with mirrors.aliyun.com/centos-vault as a second baseurl, because the vault answers HTTP 403 after a few downloads.
  • Apk image:
    • Pins Rust 1.73.0, the release that built the 1.21.4.2.2 image. wasmtime 0.38.1 is built from source on musl.
    • Pins the luarocks installer to an apache/apisix commit instead of master.
  • Makefile: stops running docker system prune -a -f after packaging, which deletes every unused image on the host.
  • utils/test-apisix-base.sh: starts the rpm in a clean centos:7, or the image, with an ssl http2 listener, then sends requests from the host:
    • HTTP/2 GET of 2 MB;
    • HTTP/2 POST and HTTP/1.1 chunked POST of 1.5 MB;
    • each over TLSv1.2 and TLSv1.3;
    • and checks error.log.

Verification

  • Locally, utils/test-apisix-base.sh passes against the existing 1.21.4.2.2 rpm from repos.apiseven.com and against the api7/apisix-base:1.21.4.2.2 image.
  • The vault rewrite was checked in centos:7: devtoolset-9 installs from the SCL repo, and yum falls back to the second mirror when the vault is unreachable.
  • CI on this PR builds and tests the new artifacts.

…base branch

The packaging workflows of this line still use retired actions and
publish to repos.apiseven.com, and the CentOS 7 build fails because
mirror.centos.org is gone.

- Replace all workflows with build.yml (pull requests) and release.yml
  (VERSION changes on release/apisix-base), modelled on the
  api7ee-runtime release: an el7 x86_64 rpm on a GitHub release and the
  apk image as api7/apisix-base on Docker Hub (amd64 and arm64).
- Point the CentOS 7 base and SCL repos at vault.centos.org with a
  second mirror, as the vault rate-limits with HTTP 403.
- Pin the Rust toolchain used to build wasmtime on musl and the luarocks
  installer script.
- Stop running docker system prune -a -f after packaging.
- Add a smoke test that serves HTTP/2 over TLSv1.2 and TLSv1.3 from the
  rpm in a clean centos:7 container and from the image.

The sources are the same as apisix-base 1.21.4.2.2.
It builds deb and arm64 packages and pushes dev images for the old
master flow, and every job fails on this branch. master and
release/api7ee-runtime no longer have it either.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c60c75ed-b12f-457c-8d5a-9ff7392ef63e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@AlinsRan
AlinsRan merged commit 0bfaa38 into release/apisix-base Nov 20, 2026
4 of 7 checks passed
@AlinsRan
AlinsRan deleted the ci/apisix-base-release branch November 20, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants