This is an automated email from the ASF dual-hosted git repository.
shuyangw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 09978f2 ci: change centos7 package name with el7 (#4836)
09978f2 is described below
commit 09978f280a354f2ff5bae5ae0a6595edcf24465f
Author: Joey <[email protected]>
AuthorDate: Tue Aug 17 04:02:18 2021 +0800
ci: change centos7 package name with el7 (#4836)
Signed-off-by: imjoey <[email protected]>
---
.github/workflows/centos7-ci.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/centos7-ci.yml b/.github/workflows/centos7-ci.yml
index 6d069f6..fa90652 100644
--- a/.github/workflows/centos7-ci.yml
+++ b/.github/workflows/centos7-ci.yml
@@ -49,7 +49,7 @@ jobs:
sudo gem install --no-document fpm
git clone https://github.com/api7/apisix-build-tools.git
cd apisix-build-tools
- make package type=rpm app=apisix version=${VERSION}
checkout=release/${VERSION}
+ make package type=rpm app=apisix version=${VERSION}
checkout=release/${VERSION} image_base=centos image_tag=7
cd ..
rm -rf $(ls -1 --ignore=apisix-build-tools --ignore=t --ignore=utils
--ignore=ci --ignore=Makefile --ignore=rockspec)
@@ -100,7 +100,7 @@ jobs:
- name: Install rpm package
if: ${{ startsWith(github.ref, 'refs/heads/release/') }}
run: |
- docker exec centos7Instance bash -c "cd apisix && rpm -iv
--prefix=/apisix ./apisix-build-tools/output/apisix-${{
steps.branch_env.outputs.version }}-0.x86_64.rpm"
+ docker exec centos7Instance bash -c "cd apisix && rpm -iv
--prefix=/apisix ./apisix-build-tools/output/apisix-${{
steps.branch_env.outputs.version }}-0.el7.x86_64.rpm"
# Dependencies are attached with rpm, so revert `make deps`
docker exec centos7Instance bash -c "cd apisix && rm -rf deps"
docker exec centos7Instance bash -c "cd apisix && mv usr/bin . && mv
usr/local/apisix/* ."
@@ -114,4 +114,4 @@ jobs:
uses: actions/[email protected]
with:
name: "rpm"
- path: "./apisix-build-tools/output/apisix-${{
steps.branch_env.outputs.version }}-0.x86_64.rpm"
+ path: "./apisix-build-tools/output/apisix-${{
steps.branch_env.outputs.version }}-0.el7.x86_64.rpm"