diff --git a/.github/gh-bot.yml b/.github/gh-bot.yml deleted file mode 100644 index 6307b1c0b..000000000 --- a/.github/gh-bot.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: v1 -debug: true -action: - printConfig: false - release: - retry: 15s - actionName: Release - allowOps: - - cuisongliu - - lingdie - - zzjin -bot: - prefix: / - spe: _ - allowOps: - - sealos-ci-robot - - sealos-release-robot - email: sealos-ci-robot@sealos.io - username: sealos-ci-robot -repo: - org: false - -message: - success: | - 🤖 says: Hooray! The action {{.Body}} has been completed successfully. 🎉 - format_error: | - 🤖 says: ‼️ There is a formatting issue with the action, kindly verify the action's format. - permission_error: | - 🤖 says: ‼️ The action doesn't have permission to trigger. - release_error: | - 🤖 says: ‼️ Release action failed. - Error details: {{.Error}} diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml deleted file mode 100644 index ac77266d9..000000000 --- a/.github/workflows/bot.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Github Robot for Sealos -on: - issue_comment: - types: - - created -jobs: - comment: - if: startswith(github.event.comment.body, '/') - runs-on: ubuntu-24.04 - steps: - - name: Checkout the latest code - uses: actions/checkout@v4 - - name: Gh Robot for Sealos - uses: labring/robot@v2.0.0 - with: - version: v2.0.0 - env: - SEALOS_TYPE: "/comment" - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/ci-patch-image.yml b/.github/workflows/ci-patch-image.yml index 456133245..151961d1d 100755 --- a/.github/workflows/ci-patch-image.yml +++ b/.github/workflows/ci-patch-image.yml @@ -109,35 +109,6 @@ jobs: -t "${DOCKER_REPO}:latest" \ -f Dockerfile.main \ . - - build-on-cluster-image: - if: ${{ (github.event_name == 'push') || (inputs.push_mage == true) }} - needs: - - container-sealos - runs-on: ubuntu-24.04 - permissions: - issues: write - contents: write - packages: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Expose git commit data - uses: rlespinasse/git-commit-data-action@v1 - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GHCR_TOKEN || secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagebuild_apps sealos latest" save-sealos: uses: ./.github/workflows/import-save-sealos.yml with: @@ -199,18 +170,3 @@ jobs: sudo sealos tag "ghcr.io/${REPOSITORY_OWNER}/sealos-patch:${GIT_COMMIT_SHORT_SHA}-arm64" "ghcr.io/${REPOSITORY_OWNER}/sealos-patch:latest-arm64" sudo sealos images bash ./scripts/manifest-cluster-images.sh "ghcr.io/${REPOSITORY_OWNER}/sealos-patch:latest" - - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/sealos-patch:latest" diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index ecd3db58a..7643ab99e 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -193,18 +193,3 @@ jobs: fi # todo: build multi-arch images - - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/sealos-cloud:${{ steps.prepare.outputs.tag_name }}" diff --git a/.github/workflows/controllers.yml b/.github/workflows/controllers.yml index a81c6a9c6..ac0d67315 100644 --- a/.github/workflows/controllers.yml +++ b/.github/workflows/controllers.yml @@ -368,34 +368,4 @@ jobs: if [[ -n "${ALIYUN_CLUSTER_IMAGE}" ]]; then bash scripts/manifest-cluster-images.sh "$ALIYUN_CLUSTER_IMAGE" bash scripts/manifest-cluster-images.sh "$ALIYUN_LATEST_CLUSTER_IMAGE" - fi - - - name: Renew issue and Sync Images for ${{ steps.prepare.outputs.cluster_image }} - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.cluster_image }}" - - - name: Renew issue and Sync Images for ${{ steps.prepare.outputs.latest_cluster_image }} - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.latest_cluster_image }}" + fi \ No newline at end of file diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index c61373fbd..2b7189d23 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -355,34 +355,4 @@ jobs: if [[ -n "${ALIYUN_CLUSTER_IMAGE}" ]]; then bash scripts/manifest-cluster-images.sh "$ALIYUN_CLUSTER_IMAGE" bash scripts/manifest-cluster-images.sh "$ALIYUN_LATEST_CLUSTER_IMAGE" - fi - - - name: Renew issue and Sync Images for ${{ steps.prepare.outputs.cluster_image }} - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.cluster_image }}" - - - name: Renew issue and Sync Images for ${{ steps.prepare.outputs.latest_cluster_image }} - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.latest_cluster_image }}" + fi \ No newline at end of file diff --git a/.github/workflows/objectstorage.yaml b/.github/workflows/objectstorage.yaml index 0552d2951..1ef269c1c 100644 --- a/.github/workflows/objectstorage.yaml +++ b/.github/workflows/objectstorage.yaml @@ -151,19 +151,4 @@ jobs: run: | sudo sealos images bash scripts/manifest-cluster-images.sh "$CLUSTER_IMAGE" - bash scripts/manifest-cluster-images.sh "$LATEST_CLUSTER_IMAGE" - - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/sealos-cloud-objectstorage:${{ steps.prepare.outputs.tag_name }}" + bash scripts/manifest-cluster-images.sh "$LATEST_CLUSTER_IMAGE" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24d4abfea..71f9f559a 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,56 +51,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FURY_TOKEN: ${{ secrets.FURY_TOKEN }} - sync: - runs-on: ubuntu-24.04 - needs: - - goreleaser - permissions: - contents: read - issues: write - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Fetch Current version - id: get-current-tag - uses: actions-ecosystem/action-get-latest-tag@v1.6.0 - - name: Renew issue and Sync Patch Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagebuild_apps sealos-patch ${{steps.get-current-tag.outputs.tag }}" - - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagebuild_apps sealos ${{steps.get-current-tag.outputs.tag }}" - cloud-release: uses: ./.github/workflows/cloud-release.yml needs: - goreleaser - - sync permissions: contents: read packages: write diff --git a/.github/workflows/services.yml b/.github/workflows/services.yml index dde8d0a62..f424f3887 100644 --- a/.github/workflows/services.yml +++ b/.github/workflows/services.yml @@ -369,33 +369,4 @@ jobs: if [[ -n "${ALIYUN_CLUSTER_REPO}" ]]; then bash scripts/manifest-cluster-images.sh "$ALIYUN_CLUSTER_IMAGE_NAME" bash scripts/manifest-cluster-images.sh "$ALIYUN_CLUSTER_IMAGE_NAME_LATEST" - fi - - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/sealos-cloud-${{ matrix.module }}-service:${{ steps.prepare.outputs.tag_name }}" - - name: Renew issue and Sync Images for latest - uses: labring/gh-rebot@v0.0.6 - if: ${{ github.repository_owner == env.DEFAULT_OWNER }} - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos" - SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/sealos-cloud-${{ matrix.module }}-service:latest" + fi \ No newline at end of file