Skip to content

Commit 0497744

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

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ jobs:
4343
- name: packaging APISIX(-remote) with remote code
4444
run: |
4545
wget https://raw.githubusercontent.com/apache/apisix/${APISIX_VERSION}/.requirements && source .requirements
46-
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 artifact=apisix-remote
46+
make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi9/ubi image_tag=9.6 artifact=apisix-remote
4747
4848
- name: packaging APISIX(-local) with local code
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
5252
./build-apisix-dashboard.sh ./apisix
53-
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
53+
make package type=rpm app=apisix version=master checkout=${APISIX_VERSION} runtime_version=${APISIX_RUNTIME} image_base=registry.access.redhat.com/ubi9/ubi image_tag=9.6 local_code_path=./apisix artifact=apisix-local
5454
55-
- name: run ubi8 docker and mapping rpm into container
55+
- name: run ubi9 docker and mapping rpm into container
5656
run: |
57-
docker run -itd -v $PWD/output:/output -v $(pwd)/test/apisix/config.yaml:/usr/local/apisix/conf/config.yaml --name ubiInstance --net="host" registry.access.redhat.com/ubi8/ubi:8.6 /bin/bash
57+
docker run -itd -v $PWD/output:/output -v $(pwd)/test/apisix/config.yaml:/usr/local/apisix/conf/config.yaml --name ubiInstance --net="host" registry.access.redhat.com/ubi9/ubi:9.6 /bin/bash
5858
5959
- name: enable apisix repository in container
6060
run: |
@@ -63,7 +63,7 @@ jobs:
6363
6464
- name: install APISIX(-remote) master by rpm in container
6565
run: |
66-
docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-remote-master-0.ubi8.6.x86_64.rpm"
66+
docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-remote-master-0.ubi9.6.x86_64.rpm"
6767
docker exec ubiInstance bash -c "apisix start"
6868
6969
- name: check and ensure APISIX(-remote) master is installed
@@ -82,7 +82,7 @@ jobs:
8282
8383
- name: install APISIX(-local) by rpm in container
8484
run: |
85-
docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-local-master-0.ubi8.6.x86_64.rpm"
85+
docker exec ubiInstance bash -c "yum -y localinstall /output/apisix-local-master-0.ubi9.6.x86_64.rpm"
8686
docker exec ubiInstance bash -c "apisix start"
8787
8888
- name: check and ensure APISIX(-local) is installed
@@ -102,7 +102,7 @@ jobs:
102102
- name: Publish Artifact
103103
uses: actions/[email protected]
104104
with:
105-
name: apisix-remote-master-0.ubi8.6.x86_64.rpm
106-
path: output/apisix-remote-master-0.ubi8.6.x86_64.rpm
105+
name: apisix-remote-master-0.ubi9.6.x86_64.rpm
106+
path: output/apisix-remote-master-0.ubi9.6.x86_64.rpm
107107
retention-days: 5
108108
if-no-files-found: error

utils/publish-rpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ repo_clone)
140140
func_repo_clone "${VAR_COS_BUCKET_REPO}" "redhat" /tmp/redhat
141141
;;
142142
repo_package_sync)
143-
find "${VAR_RPM_WORKBENCH_DIR}" -type f -name "*9.6.${ARCH}.rpm" \
143+
find "${VAR_RPM_WORKBENCH_DIR}" -type f -name "*ubi9.6.${ARCH}.rpm" \
144144
-exec echo "repo sync for: {}" \; \
145145
-exec cp -a {} /tmp/redhat/8/${ARCH} \;
146146
;;

0 commit comments

Comments
 (0)