This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 610c7f32 [chore] Change .github workflow (#723)
610c7f32 is described below

commit 610c7f324011c7b017fb114cca3f132425279a6b
Author: Jian Zhong <[email protected]>
AuthorDate: Sat May 31 15:19:17 2025 +0800

    [chore] Change .github workflow (#723)
---
 .../{dubbo-cp-image.yaml => admin-cp-release.yaml} |  2 +-
 .github/workflows/dubbo-release.yaml               | 89 --------------------
 .github/workflows/dubboctl-release.yaml            |  2 +-
 .github/workflows/dubboctl-ui-update.yaml          | 97 ----------------------
 .github/workflows/issue-comment.yml                | 33 --------
 5 files changed, 2 insertions(+), 221 deletions(-)

diff --git a/.github/workflows/dubbo-cp-image.yaml 
b/.github/workflows/admin-cp-release.yaml
similarity index 95%
rename from .github/workflows/dubbo-cp-image.yaml
rename to .github/workflows/admin-cp-release.yaml
index 0bdf8816..9288d757 100644
--- a/.github/workflows/dubbo-cp-image.yaml
+++ b/.github/workflows/admin-cp-release.yaml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-name: Dubbo ctl Release
+name: dubbo admin control plane release
 
 on:
   release:
diff --git a/.github/workflows/dubbo-release.yaml 
b/.github/workflows/dubbo-release.yaml
deleted file mode 100644
index 8bd682f0..00000000
--- a/.github/workflows/dubbo-release.yaml
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-name: Dubbo ctl Release
-
-on:
-  release:
-    types: [create, published]
-
-jobs:
-  release:
-    permissions:
-      contents: write
-    name: Release Dubbo
-    runs-on: ubuntu-latest
-    if: startsWith(github.event.release.tag_name, 'dubbo/')
-    strategy:
-      matrix:
-        goos: [linux, darwin, windows]
-        goarch: [386, amd64, arm64]
-        exclude:
-          - goos: darwin
-            goarch: 386
-
-    steps:
-      - uses: actions/checkout@v4
-      - name: Set up Go 1.x
-        uses: actions/setup-go@v5
-        with:
-          go-version-file: go.mod
-
-      - name: Download dependencies
-        run: |
-          go mod download
-
-      - name: Prepare build directory
-        run: |
-          mkdir -p build/
-          cp README.md build/
-          cp LICENSE build/
-
-      - name: Build
-        env:
-          GOOS: ${{ matrix.goos }}
-          GOARCH: ${{ matrix.goarch }}
-        run: |
-          make build-dubboctl
-          make build-dubbocp
-          cp -r conf build/conf
-          mv bin/dubboctl build/dubboctl
-          mv bin/dubbo-cp build/dubbo-cp
-      - name: Rename on windows
-        if: matrix.goos == 'windows'
-        run: |
-          mv build/dubboctl build/dubboctl.exe
-          mv build/dubbo-cp build/dubbo-cp.exe
-
-      - name: Create package
-        id: package
-        run: |
-          PACKAGE_NAME=dubbo-${GITHUB_REF#refs/tags/dubbo/}-${{ matrix.goos 
}}-${{ matrix.goarch }}.tar.gz
-          tar -czvf $PACKAGE_NAME -C build .
-          echo "name=${PACKAGE_NAME}" >> $GITHUB_OUTPUT
-
-      - name: Upload asset
-        uses: actions/upload-release-asset@v1
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        with:
-          upload_url: ${{ github.event.release.upload_url }}
-          asset_path: ./${{ steps.package.outputs.name }}
-          asset_name: ${{ steps.package.outputs.name }}
-          asset_content_type: application/gzip
\ No newline at end of file
diff --git a/.github/workflows/dubboctl-release.yaml 
b/.github/workflows/dubboctl-release.yaml
index b1c9e926..15ce0379 100644
--- a/.github/workflows/dubboctl-release.yaml
+++ b/.github/workflows/dubboctl-release.yaml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-name: Dubbo ctl Release
+name: dubboctl release
 
 on:
   release:
diff --git a/.github/workflows/dubboctl-ui-update.yaml 
b/.github/workflows/dubboctl-ui-update.yaml
deleted file mode 100644
index f01cf1b0..00000000
--- a/.github/workflows/dubboctl-ui-update.yaml
+++ /dev/null
@@ -1,97 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Dubboctl UI Update
-
-on:
-  workflow_dispatch:
-  push:
-    branches:
-      - master
-    paths:
-      - .github/workflows/dubboctl-ui-update.yaml
-      - ui-vue3/**
-  # Trigger the workflow when a pull request is opened or updated.
-  # This is to make sure the build process would not be broken by the
-  # changes in the pull request.
-  pull_request:
-    branches:
-      - master
-    paths:
-      - .github/workflows/dubboctl-ui-update.yaml
-      - ui-vue3/**
-
-jobs:
-  lint:
-    runs-on: ubuntu-latest
-    defaults:
-      run:
-        working-directory: ui-vue3
-    steps:
-      - uses: actions/checkout@v4
-
-      - name: Setup Node.js environment
-        uses: actions/setup-node@v4
-        with:
-          node-version-file: "ui-vue3/.nvmrc"
-
-      - name: Install dependencies
-        run: yarn --frozen-lockfile
-
-      - name: Lint
-        run: |
-          # disable eslint for now as the new ui is under heavy development
-          # when the new ui is ready, we can enable eslint again (please also 
update the .lintstagedrc.json file)
-          # yarn lint
-          yarn prettier-check
-
-  update-ui:
-    runs-on: ubuntu-latest
-    if: github.repository == 'apache/dubbo-kubernetes'
-    defaults:
-      run:
-        working-directory: ui-vue3
-    steps:
-      - uses: actions/checkout@v4
-
-      - name: Setup Node.js environment
-        uses: actions/setup-node@v4
-        with:
-          node-version-file: "ui-vue3/.nvmrc"
-
-      - name: Install dependencies
-        run: yarn --frozen-lockfile
-
-      - name: Run Dubboctl UI build
-        run: yarn build
-
-      - name: Move build artifacts
-        run: |
-          rm -rf ../app/dubbo-ui/dist/
-          mv dist/ ../app/dubbo-ui/dist/
-
-      - name: Create PR if the build is changed
-        # This step will be skipped if the workflow is triggered by a pull 
request.
-        # As the build asset should only be updated when the main branch is 
updated.
-        if: github.event_name == 'push' || github.event_name == 
'workflow_dispatch'
-        uses: peter-evans/create-pull-request@v5
-        with:
-          commit-message: "[Dubboctl UI] Update build artifacts\n\nBuild 
commit: ${{ github.sha }}"
-          title: "[Dubboctl UI] Update build artifacts"
-          author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
-          body: "Dubboctl UI auto build commit: ${{ github.sha }}"
-          branch: github-actions/dubboctl-ui-update
diff --git a/.github/workflows/issue-comment.yml 
b/.github/workflows/issue-comment.yml
deleted file mode 100644
index bca22129..00000000
--- a/.github/workflows/issue-comment.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: Issue and PR comment commands
-
-permissions: {}
-
-on:
-  issue_comment:
-    types:
-      - created
-      - edited
-
-jobs:
-  execute:
-    runs-on: ubuntu-latest
-    permissions:
-      issues: write
-      pull-requests: write
-    steps:
-      - uses: 
jpmcb/prow-github-actions@f4d01dd4b13f289014c23fe5a19878a2479cb35b  # v1.1.3
-        with:
-          prow-commands: '/assign
-            /unassign
-            /area
-            /kind
-            /priority
-            /remove
-            /close
-            /reopen
-            /lock
-            /milestone
-            /hold
-            /cc
-            /uncc'
-          github-token: "${{ secrets.GITHUB_TOKEN }}"

Reply via email to