-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove support for centos (#394)
- Loading branch information
1 parent
92d40eb
commit 25c106a
Showing
11 changed files
with
20 additions
and
182 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 |
---|---|---|
|
@@ -73,8 +73,6 @@ jobs: | |
source .requirements | ||
# build apisix | ||
make package type=rpm app=apisix openresty=apisix-runtime runtime_version=${APISIX_RUNTIME} checkout=${APISIX_TAG_VERSION} version=${APISIX_TAG_VERSION} image_base=centos image_tag=7 | ||
make package type=rpm app=apisix openresty=apisix-runtime runtime_version=${APISIX_RUNTIME} checkout=${APISIX_TAG_VERSION} version=${APISIX_TAG_VERSION} image_base=centos image_tag=8 | ||
make package type=rpm app=apisix openresty=apisix-runtime runtime_version=${APISIX_RUNTIME} checkout=${APISIX_TAG_VERSION} version=${APISIX_TAG_VERSION} image_base=registry.access.redhat.com/ubi8/ubi image_tag=8.6 | ||
mv ./output/apisix-${APISIX_TAG_VERSION}-0.{el7,el8,ubi8.6}.${ARCH}.rpm ${VAR_RPM_WORKBENCH_DIR} | ||
echo "TARGET_APP=apisix" >> "$GITHUB_ENV" | ||
|
@@ -86,8 +84,6 @@ jobs: | |
run: | | ||
# build apisix-base | ||
echo ${{ env.TAG_TYPE }} ${{ env.TAG_VERSION }} | ||
make package type=rpm app=apisix-base checkout=${APISIX_BASE_TAG_VERSION} version=${APISIX_BASE_TAG_VERSION} image_base=centos image_tag=7 | ||
make package type=rpm app=apisix-base checkout=${APISIX_BASE_TAG_VERSION} version=${APISIX_BASE_TAG_VERSION} image_base=centos image_tag=8 | ||
make package type=rpm app=apisix-base checkout=${APISIX_BASE_TAG_VERSION} version=${APISIX_BASE_TAG_VERSION} image_base=registry.access.redhat.com/ubi8/ubi image_tag=8.6 | ||
mv ./output/apisix-base-${APISIX_BASE_TAG_VERSION}-0.{el7,el8,ubi8.6}.${ARCH}.rpm ${VAR_RPM_WORKBENCH_DIR} | ||
echo "TARGET_APP=apisix-base" >> "$GITHUB_ENV" | ||
|
@@ -99,8 +95,6 @@ jobs: | |
run: | | ||
# build apisix-runtime | ||
echo ${{ env.TAG_TYPE }} ${{ env.TAG_VERSION }} | ||
make package type=rpm app=apisix-runtime checkout=${APISIX_RUNTIME_TAG_VERSION} version=${APISIX_RUNTIME_TAG_VERSION} image_base=centos image_tag=7 | ||
make package type=rpm app=apisix-runtime checkout=${APISIX_RUNTIME_TAG_VERSION} version=${APISIX_RUNTIME_TAG_VERSION} image_base=centos image_tag=8 | ||
make package type=rpm app=apisix-runtime checkout=${APISIX_RUNTIME_TAG_VERSION} version=${APISIX_RUNTIME_TAG_VERSION} image_base=registry.access.redhat.com/ubi8/ubi image_tag=8.6 | ||
mv ./output/apisix-runtime-${APISIX_RUNTIME_TAG_VERSION}-0.{el7,el8,ubi8.6}.${ARCH}.rpm ${VAR_RPM_WORKBENCH_DIR} | ||
echo "TARGET_APP=apisix-runtime" >> "$GITHUB_ENV" | ||
|
@@ -111,8 +105,6 @@ jobs: | |
APISIX_DASHBOARD_TAG_VERSION: ${{ env.TAG_VERSION }} | ||
run: | | ||
# build apisix dashboard | ||
make package type=rpm app=dashboard checkout=${APISIX_DASHBOARD_TAG_VERSION} version=${APISIX_DASHBOARD_TAG_VERSION} image_base=centos image_tag=7 | ||
make package type=rpm app=dashboard checkout=${APISIX_DASHBOARD_TAG_VERSION} version=${APISIX_DASHBOARD_TAG_VERSION} image_base=centos image_tag=8 | ||
mv ./output/apisix-dashboard-${APISIX_DASHBOARD_TAG_VERSION}-0.el{7,8}.${ARCH}.rpm ${VAR_RPM_WORKBENCH_DIR} | ||
echo "TARGET_APP=apisix-dashboard" >> "$GITHUB_ENV" | ||
|
@@ -130,15 +122,6 @@ jobs: | |
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix Artifact for Centos | ||
if: ${{ env.TAG_TYPE == 'apisix' }} | ||
uses: actions/[email protected] | ||
env: | ||
PACKAGE_NAME: apisix-${{ env.TAG_VERSION }}-0.el7.${{ env.ARCH }}.rpm | ||
with: | ||
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix-base Artifact for Redhat | ||
if: ${{ env.TAG_TYPE == 'apisix-base' }} | ||
uses: actions/[email protected] | ||
|
@@ -148,15 +131,6 @@ jobs: | |
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix-base Artifact for Centos | ||
if: ${{ env.TAG_TYPE == 'apisix-base' }} | ||
uses: actions/[email protected] | ||
env: | ||
PACKAGE_NAME: apisix-base-${{ env.TAG_VERSION }}-0.el7.${{ env.ARCH }}.rpm | ||
with: | ||
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix-runtime Artifact for Redhat | ||
if: ${{ env.TAG_TYPE == 'apisix-runtime' }} | ||
uses: actions/[email protected] | ||
|
@@ -166,15 +140,6 @@ jobs: | |
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix-runtime Artifact for Centos | ||
if: ${{ env.TAG_TYPE == 'apisix-runtime' }} | ||
uses: actions/[email protected] | ||
env: | ||
PACKAGE_NAME: apisix-runtime-${{ env.TAG_VERSION }}-0.el7.${{ env.ARCH }}.rpm | ||
with: | ||
name: "${{ env.PACKAGE_NAME }}" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/${{ env.PACKAGE_NAME }}" | ||
|
||
- name: Upload apisix-dashboard Artifact | ||
if: ${{ env.TAG_TYPE == 'dashboard' }} | ||
uses: actions/[email protected] | ||
|
@@ -192,7 +157,7 @@ jobs: | |
sudo pip install coscmd | ||
sudo -E ./utils/publish-rpm.sh init_cos_utils | ||
- name: RPM repo init for centos and redhat | ||
- name: RPM repo init for redhat | ||
run: | | ||
sudo -E ./utils/publish-rpm.sh repo_init | ||
sudo -E ./utils/publish-rpm.sh repo_clone | ||
|
@@ -208,15 +173,15 @@ jobs: | |
sudo -E ./utils/publish-rpm.sh rpm_gpg_sign | ||
sudo -E ./utils/publish-rpm.sh repo_package_sync | ||
- name: RPM repo backup for centos and redhat | ||
- name: RPM repo backup for redhat | ||
run: | | ||
sudo -E ./utils/publish-rpm.sh repo_backup | ||
- name: RPM repo refresh for centos and redhat | ||
- name: RPM repo refresh for redhat | ||
run: | | ||
sudo -E ./utils/publish-rpm.sh repo_repodata_rebuild | ||
sudo -E ./utils/publish-rpm.sh repo_upload | ||
- name: RPM repo publish for centos and redhat | ||
- name: RPM repo publish for redhat | ||
run: | | ||
sudo -E ./utils/publish-rpm.sh repo_publish |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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