Skip to content

Commit 710d3c7

Browse files
committed
f
Signed-off-by: Nic <[email protected]>
1 parent a982415 commit 710d3c7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
3434
- name: run apisix packaging
3535
run: |
36-
wget https://raw.githubusercontent.com/apache/apisix/${APISIX_VERSION}/.requirements && source .requirements
3736
make package type=deb app=apisix version=${PACKAGE_APISIX_VERSION} runtime_version=${APISIX_RUNTIME} checkout=${APISIX_VERSION} image_base=ubuntu image_tag=24.04
3837
3938
- name: install apisix deb into container

.github/workflows/package-apisix-rpm-ubi.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
timeout-minutes: 60
1919
env:
2020
APISIX_VERSION: master
21-
APISIX_RUNTIME: sy/update-ubi9
2221
services:
2322
etcd:
2423
image: bitnami/etcd:3.4.0

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,22 +257,30 @@ package-dashboard-deb:
257257
.PHONY: build-apisix-runtime-rpm
258258
build-apisix-runtime-rpm:
259259
ifeq ($(app),apisix)
260+
ifneq ($(runtime_version),0)
260261
git clone -b apisix-runtime/$(runtime_version) $(apisix_runtime_repo) ./apisix-runtime
261262
$(call build_runtime,apisix-runtime,apisix-runtime,rpm,"./apisix-runtime")
262263
rm -fr ./apisix-runtime
263264
else
264265
$(call build_runtime,apisix-runtime,apisix-runtime,rpm,"./")
265266
endif
267+
else
268+
$(call build_runtime,apisix-runtime,apisix-runtime,rpm,"./")
269+
endif
266270

267271
.PHONY: build-apisix-runtime-deb
268272
build-apisix-runtime-deb:
269273
ifeq ($(app),apisix)
274+
ifneq ($(runtime_version),0)
270275
git clone -b apisix-runtime/$(runtime_version) $(apisix_runtime_repo) ./apisix-runtime
271276
$(call build_runtime,apisix-runtime,apisix-runtime,deb,"./apisix-runtime")
272277
rm -fr ./apisix-runtime
273278
else
274279
$(call build_runtime,apisix-runtime,apisix-runtime,deb,"./")
275280
endif
281+
else
282+
$(call build_runtime,apisix-runtime,apisix-runtime,deb,"./")
283+
endif
276284

277285
### build rpm for apisix-runtime:
278286
.PHONY: package-apisix-runtime-rpm

0 commit comments

Comments
 (0)