-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: imjoey <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
if [ "$VERSION" != "merge" && "$VERSION" != "master" ];then | ||
export checkout=release/${VERSION} | ||
fi | ||
make package type=rpm app=dashboard version=${VERSION} checkout=${checkout} | ||
make package type=rpm app=dashboard version=${VERSION} checkout=${checkout} image_base=centos image_tag=7 | ||
- name: Run centos7 docker and mapping apisix into container | ||
run: | | ||
|
@@ -54,7 +54,7 @@ jobs: | |
- name: Install rpm package | ||
run: | | ||
export VERSION=${{ steps.branch_env.outputs.version }} | ||
docker exec centos7Instance bash -c "cd apisix-dashboard && yum install -y ./apisix-build-tools/output/apisix-dashboard-${VERSION}-0.x86_64.rpm" | ||
docker exec centos7Instance bash -c "cd apisix-dashboard && yum install -y ./apisix-build-tools/output/apisix-dashboard-${VERSION}-0.el7.x86_64.rpm" | ||
docker logs centos7Instance | ||
# Dependencies are attached with rpm, so revert `make deps` | ||
docker exec centos7Instance bash -c "cd /usr/local/apisix/dashboard/ && nohup ./manager-api &" | ||
|
@@ -67,4 +67,4 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: "rpm" | ||
path: "./apisix-build-tools/output/apisix-dashboard-${{ steps.branch_env.outputs.version }}-0.x86_64.rpm" | ||
path: "./apisix-build-tools/output/apisix-dashboard-${{ steps.branch_env.outputs.version }}-0.el7.x86_64.rpm" |