From 950968f8086a4f7a9ccc639f2739f2b809103c8b Mon Sep 17 00:00:00 2001 From: dodiadodia Date: Tue, 4 Apr 2023 11:24:42 +0800 Subject: [PATCH] Modify github/workflow/release.yaml to delete release-1.20, because Kins only supports K8s 1.22 version --- .github/workflows/release.yaml | 79 ---------------------------------- 1 file changed, 79 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3a0352e..bc2efab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -108,82 +108,3 @@ jobs: sudo rm -rf ./_output sudo rm -rf edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.22.6 sudo rm -rf edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.22.6 - - - name: Check out edgeadm (@release-1.20) - uses: actions/checkout@v3 - with: - ref: 'release-1.20' - - - name: Build edgeadm for multiarch(@release-1.20) - run: make build.multiarch - - - name: Checkout edge-install static file(@AMD64-1.20) - uses: actions/checkout@v3 - with: - repository: 'superedge/edge-install' - path: 'edge-install' - ref: '1.20-AMD64' - token: ${{ secrets.ACTION_TOKEN }} - lfs: true - - - name: Build edgeadm package(@AMD64-1.20) - run: | - cd ${{ github.workspace }} - mv edge-install/build_package.sh . - sh build_package.sh #build kube-linux-* package - - #make edgeadm package - mkdir edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6 - mv kube-linux-amd64-v1.20.6.tar.gz ./edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6 - cp ./_output/linux/amd64/edgeadm ./edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6 - tar zcvf edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6.tgz ./edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6 - - #clear env - rm -rf build_package.sh - rm -rf edge-install - - - name: Checkout edge-install static file(@ARM64-1.20) - uses: actions/checkout@v3 - with: - repository: 'superedge/edge-install' - path: 'edge-install' - ref: '1.20-ARM64' - token: ${{ secrets.ACTION_TOKEN }} - lfs: true - - - name: Build edgeadm package(@ARM64-1.20) - run: | - cd ${{ github.workspace }} - mv edge-install/build_package.sh . - sh build_package.sh #build kube-linux-* package - - #make edgeadm-linux-* package - mkdir edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6 - mv kube-linux-arm64-v1.20.6.tar.gz ./edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6 - cp ./_output/linux/arm64/edgeadm ./edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6 - tar zcvf edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6.tgz ./edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6 - - #clear env - rm -rf build_package.sh - rm -rf edge-install - - - name: Upload Release edgeadm for AMD64-1.20 - uses: actions/upload-release-asset@main - env: - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6.tgz - asset_name: edgeadm-linux-amd64-${{ github.ref_name }}-k8s-1.20.6.tgz - asset_content_type: application/tgz - - - name: Upload Release edgeadm for ARM64-1.20 - uses: actions/upload-release-asset@main - env: - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6.tgz - asset_name: edgeadm-linux-arm64-${{ github.ref_name }}-k8s-1.20.6.tgz - asset_content_type: application/tgz -