Skip to content

Commit ddb78dc

Browse files
committed
f
Signed-off-by: Nic <[email protected]>
1 parent b87b8ff commit ddb78dc

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
run: |
5050
wget https://raw.githubusercontent.com/apache/apisix/${APISIX_VERSION}/.requirements && source .requirements
5151
git clone -b ${APISIX_VERSION} https://github.com/apache/apisix.git
52+
./build-apisix-dashboard.sh ./apisix
5253
make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi8/ubi image_tag=8.6 local_code_path=./apisix artifact=apisix-local
5354
5455
- name: run ubi8 docker and mapping rpm into container

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ endef
195195
build-apisix-rpm:
196196
ifeq ($(local_code_path), 0)
197197
git clone -b $(checkout) $(apisix_repo) --depth 1 ./apisix
198-
./build-apisix-ui.sh ./apisix
198+
./build-apisix-dashboard.sh ./apisix
199199
$(call build,apisix,apisix,rpm,"./apisix")
200200
rm -fr ./apisix
201201
else
@@ -206,7 +206,7 @@ endif
206206
build-apisix-deb:
207207
ifeq ($(local_code_path), 0)
208208
git clone -b $(checkout) $(apisix_repo) --depth 1 ./apisix
209-
./build-apisix-ui.sh ./apisix
209+
./build-apisix-dashboard.sh ./apisix
210210
$(call build,apisix,apisix,deb,"./apisix")
211211
rm -fr ./apisix
212212
else

build-apisix-ui.sh renamed to build-apisix-dashboard.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -x
44

55
cd $1
66
source .requirements
7+
if [ -z "${APISIX_DASHBOARD_COMMIT:-}" ]; then
8+
echo "Error: APISIX_DASHBOARD_COMMIT is not set or empty"
9+
exit 1
10+
fi
711
git clone --revision=${APISIX_DASHBOARD_COMMIT} --depth 1 https://github.com/apache/apisix-dashboard.git
812
pushd apisix-dashboard
913
# compile

0 commit comments

Comments
 (0)