Skip to content

Commit 64504a0

Browse files
authored
feat: support package and release api7ee-runtime (#411)
1 parent 83ccd15 commit 64504a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+189
-2832
lines changed

.circleci/config.yml

Lines changed: 0 additions & 269 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build api7ee-runtime
2+
3+
on:
4+
push:
5+
branches:
6+
- release/api7ee-runtime
7+
pull_request:
8+
branches:
9+
- release/api7ee-runtime
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
name: Build
18+
timeout-minutes: 30
19+
env:
20+
version: 0.0.0
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
platform:
25+
- runner: ubuntu-22.04
26+
arch: amd64
27+
build_arch: linux/amd64
28+
29+
runs-on: ${{ matrix.platform.runner }}
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v2
33+
34+
- name: Install dependencies
35+
run: |
36+
sudo apt-get install -y make ruby ruby-dev rubygems build-essential
37+
38+
- name: Build api7ee-runtime deb
39+
run: |
40+
make package type=deb app=api7ee-runtime runtime_version=${version} image_base=debian image_tag=bullseye-slim arch=${{ matrix.platform.build_arch }}
41+
42+
- name: Upload Artifact
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: api7ee-runtime_${{ env.version }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb
46+
path: ./output/api7ee-runtime_${{ env.version }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb

.github/workflows/package-apisix-dashboard-deb-ubuntu20.04.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)