diff --git a/.github/localflows/cicd-local.yml b/.github/localflows/cicd-local.yml index beef2f90674..d1b71989a4d 100644 --- a/.github/localflows/cicd-local.yml +++ b/.github/localflows/cicd-local.yml @@ -7,7 +7,7 @@ jobs: make-test: runs-on: [self-hosted ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: make test run: | make mod-vendor lint test diff --git a/.github/localflows/github-action-locally.sh b/.github/localflows/github-action-locally.sh index d28cff034b2..6b76f154522 100755 --- a/.github/localflows/github-action-locally.sh +++ b/.github/localflows/github-action-locally.sh @@ -6,4 +6,4 @@ if ! [ -x "$(which act)" ]; then fi # run act -act --reuse --platform self-hosted=jashbook/golang-lint:1.20-latest --workflows .github/localflows/cicd-local.yml +act --reuse --platform self-hosted=jashbook/golang-lint:1.21-latest --workflows .github/localflows/cicd-local.yml diff --git a/.github/workflows/cherry-pick.yml b/.github/workflows/cherry-pick.yml index 25696c58c40..f67736da3cf 100644 --- a/.github/workflows/cherry-pick.yml +++ b/.github/workflows/cherry-pick.yml @@ -10,7 +10,7 @@ jobs: if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/cherry-pick') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 diff --git a/.github/workflows/cicd-pull-request.yml b/.github/workflows/cicd-pull-request.yml index a4663ea1874..550da0e7dc0 100644 --- a/.github/workflows/cicd-pull-request.yml +++ b/.github/workflows/cicd-pull-request.yml @@ -24,7 +24,7 @@ jobs: all_but_latest: true access_token: ${{ github.token }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -57,7 +57,7 @@ jobs: fail-fast: true matrix: ${{ fromJSON(needs.trigger-mode.outputs.matrix) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update @@ -92,7 +92,7 @@ jobs: runner-name: ${{ steps.get_runner_name.outputs.runner_name }} runs-on: [ self-hosted, gke-runner-go1.21 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: make mod-vendor run: | make mod-vendor @@ -133,7 +133,7 @@ jobs: runs-on: ubuntu-latest if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[test]') && github.event.pull_request.head.repo.full_name != github.repository && always() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: remove runner run: | bash .github/utils/utils.sh --type 9 \ @@ -205,7 +205,7 @@ jobs: matrix: os: [linux-amd64, darwin-arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update diff --git a/.github/workflows/cicd-push.yml b/.github/workflows/cicd-push.yml index 46c7ff843e5..c78d555e32c 100644 --- a/.github/workflows/cicd-push.yml +++ b/.github/workflows/cicd-push.yml @@ -27,7 +27,7 @@ jobs: all_but_latest: true access_token: ${{ github.token }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get trigger mode @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest name: Push Pre-Check steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: install pcregrep @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-latest if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[cli]') }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update @@ -130,7 +130,7 @@ jobs: outputs: runner-name: ${{ steps.get_runner_name.outputs.runner_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: make manifests check run: | make manifests @@ -181,7 +181,7 @@ jobs: runs-on: ubuntu-latest if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[test]') && always() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: remove runner run: | bash .github/utils/utils.sh --type 9 \ @@ -263,7 +263,7 @@ jobs: matrix: os: [linux-amd64, darwin-arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1b38f2a4bfb..a376cd0f2fe 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,7 +16,7 @@ jobs: outputs: trigger-mode: ${{ steps.get_trigger_mode.outputs.trigger_mode }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get trigger mode @@ -50,7 +50,7 @@ jobs: matrix: language: [ 'go' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update diff --git a/.github/workflows/e2e-fault.yml b/.github/workflows/e2e-fault.yml index 9c125dce19a..95bc02c7fa1 100644 --- a/.github/workflows/e2e-fault.yml +++ b/.github/workflows/e2e-fault.yml @@ -58,7 +58,7 @@ jobs: release-version: ${{ steps.get_release_version.outputs.release-version }} cluster-region: ${{ steps.get_release_version.outputs.cluster-region }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check release version id: get_release_version run: | @@ -83,7 +83,7 @@ jobs: e2e: name: ${{ inputs.CLOUD_PROVIDER }} needs: check - uses: apecloud/apecloud-cd/.github/workflows/fault-test-k8s.yml@v0.1.20 + uses: apecloud/apecloud-cd/.github/workflows/fault-test-k8s.yml@main with: CLOUD_PROVIDER: "${{ inputs.CLOUD_PROVIDER }}" KB_VERSION: "${{ needs.check.outputs.release-version }}" @@ -93,5 +93,4 @@ jobs: BRANCH_NAME: "${{ inputs.BRANCH_NAME }}" ARGS: "${{ inputs.ARGS }}" TEST_TYPE: "${{ inputs.TEST_TYPE }}" - APECD_REF: "v0.1.20" secrets: inherit diff --git a/.github/workflows/e2e-kbcli.yml b/.github/workflows/e2e-kbcli.yml index aebc6826d80..fac0eb33f23 100644 --- a/.github/workflows/e2e-kbcli.yml +++ b/.github/workflows/e2e-kbcli.yml @@ -62,7 +62,7 @@ jobs: release-version: ${{ steps.get_release_version.outputs.release-version }} cluster-region: ${{ steps.get_release_version.outputs.cluster-region }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check release version id: get_release_version run: | @@ -96,7 +96,6 @@ jobs: INSTANCE_TYPE: "${{ inputs.INSTANCE_TYPE }}" REGION: "${{ needs.check.outputs.cluster-region }}" BRANCH_NAME: "${{ inputs.BRANCH_NAME }}" - APECD_REF: "main" ARGS: "${{ inputs.ARGS }}" TEST_TYPE: "${{ inputs.TEST_TYPE }}" secrets: inherit diff --git a/.github/workflows/e2e-performance.yml b/.github/workflows/e2e-performance.yml index 7ccca13ea77..98018c7d466 100644 --- a/.github/workflows/e2e-performance.yml +++ b/.github/workflows/e2e-performance.yml @@ -51,7 +51,7 @@ jobs: outputs: release-version: ${{ steps.get_release_version.outputs.release-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check release version id: get_release_version run: | @@ -68,7 +68,7 @@ jobs: performance: name: ${{ inputs.NODE_TYPE }} ${{ inputs.PERFORMANCE_TYPE }} needs: check - uses: apecloud/apecloud-cd/.github/workflows/performance-test-k8s.yml@v0.1.30 + uses: apecloud/apecloud-cd/.github/workflows/performance-test-k8s.yml@main with: CLOUD_PROVIDER: "gke" CLUSTER_VERSION: "${{ inputs.K8S_VERSION }}" @@ -80,5 +80,4 @@ jobs: BENCH_TABLES: "${{ inputs.BENCH_TABLES }}" CLUSTER_STORAGE: "${{ inputs.CLUSTER_STORAGE }}" REGION: "${{ vars.REGION_AWS_EKS }}" - APECD_REF: "v0.1.30" secrets: inherit diff --git a/.github/workflows/e2e-smoke.yml b/.github/workflows/e2e-smoke.yml index 4219fe59974..a7a31c01de0 100644 --- a/.github/workflows/e2e-smoke.yml +++ b/.github/workflows/e2e-smoke.yml @@ -50,7 +50,7 @@ jobs: release-version: ${{ steps.get_release_version.outputs.release-version }} cluster-region: ${{ steps.get_release_version.outputs.cluster-region }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check release version id: get_release_version run: | @@ -75,7 +75,7 @@ jobs: e2e: name: ${{ inputs.CLOUD_PROVIDER }} needs: check - uses: apecloud/apecloud-cd/.github/workflows/smoke-test-k8s.yml@v0.1.21 + uses: apecloud/apecloud-cd/.github/workflows/smoke-test-k8s.yml@main with: CLOUD_PROVIDER: "${{ inputs.CLOUD_PROVIDER }}" KB_VERSION: "${{ needs.check.outputs.release-version }}" @@ -83,5 +83,4 @@ jobs: INSTANCE_TYPE: "${{ inputs.INSTANCE_TYPE }}" REGION: "${{ needs.check.outputs.cluster-region }}" TEST_TYPE: "${{ inputs.TEST_TYPE }}" - APECD_REF: "v0.1.21" secrets: inherit diff --git a/.github/workflows/issues-move.yml b/.github/workflows/issues-move.yml index ee5b01a810b..7d76f58b449 100644 --- a/.github/workflows/issues-move.yml +++ b/.github/workflows/issues-move.yml @@ -97,7 +97,7 @@ jobs: } }' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.TODO_OPTION_ID }} --silent - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: | github.event.action == 'published' diff --git a/.github/workflows/merge-e2e-smoke.yml b/.github/workflows/merge-e2e-smoke.yml index 068e63e4fcc..a2dd99bc836 100644 --- a/.github/workflows/merge-e2e-smoke.yml +++ b/.github/workflows/merge-e2e-smoke.yml @@ -17,7 +17,7 @@ jobs: outputs: trigger-mode: ${{ steps.get_trigger_mode.outputs.trigger_mode }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -47,7 +47,7 @@ jobs: runner-name4: ${{ steps.get_runner_name.outputs.runner_name4 }} runner-name5: ${{ steps.get_runner_name.outputs.runner_name5 }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup k3d k3s uses: apecloud/setup-k3d-k3s@v1 with: @@ -112,7 +112,7 @@ jobs: runs-on: ubuntu-latest if: ${{ contains(needs.trigger-mode.outputs.trigger-mode, '[test]') && always() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: remove runner run: | RUNNER_NAME="${{ needs.e2e-test.outputs.runner-name1 }}|${{ needs.e2e-test.outputs.runner-name2 }}|${{ needs.e2e-test.outputs.runner-name3 }}|${{ needs.e2e-test.outputs.runner-name4 }}|${{ needs.e2e-test.outputs.runner-name5 }}" diff --git a/.github/workflows/milestoneclose.yml b/.github/workflows/milestoneclose.yml index 5d272242439..959256ef05f 100644 --- a/.github/workflows/milestoneclose.yml +++ b/.github/workflows/milestoneclose.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get project data run: | gh api graphql -f query=' diff --git a/.github/workflows/package-version.yml b/.github/workflows/package-version.yml index 5a7e10c37a4..955bd4e69f3 100644 --- a/.github/workflows/package-version.yml +++ b/.github/workflows/package-version.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout branch ${{ github.ref_name }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: package message run: | @@ -44,7 +44,7 @@ jobs: needs: package-version if: ${{ failure() || cancelled() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message run: | bash .github/utils/utils.sh --type 12 \ diff --git a/.github/workflows/pull-request-check.yml b/.github/workflows/pull-request-check.yml index 862eb0ef638..bc88a802956 100644 --- a/.github/workflows/pull-request-check.yml +++ b/.github/workflows/pull-request-check.yml @@ -25,7 +25,7 @@ jobs: - name: check PR title uses: amannn/action-semantic-pull-request@v5 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check issue link run: | bash ${{ github.workspace }}/.github/utils/issue_link.sh \ diff --git a/.github/workflows/pull-request-user-interaction.yaml b/.github/workflows/pull-request-user-interaction.yaml index b800fce1daa..8b228a21a06 100644 --- a/.github/workflows/pull-request-user-interaction.yaml +++ b/.github/workflows/pull-request-user-interaction.yaml @@ -15,7 +15,7 @@ jobs: name: GET PR Issue Label runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: get issue link run: | gh api graphql -f query=' diff --git a/.github/workflows/release-create.yml b/.github/workflows/release-create.yml index 32017c720c3..b71f795b614 100644 --- a/.github/workflows/release-create.yml +++ b/.github/workflows/release-create.yml @@ -17,7 +17,7 @@ jobs: rel-version: ${{ steps.get_rel_version.outputs.rel_version }} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Parse release version and set REL_VERSION id: get_rel_version run: | @@ -52,7 +52,7 @@ jobs: needs: publish if: ${{ failure() || cancelled() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message run: | bash .github/utils/utils.sh --type 12 \ diff --git a/.github/workflows/release-helm-chart.yml b/.github/workflows/release-helm-chart.yml index e46fb800de0..80a02f4f4c4 100644 --- a/.github/workflows/release-helm-chart.yml +++ b/.github/workflows/release-helm-chart.yml @@ -64,7 +64,7 @@ jobs: needs: release-charts-image if: ${{ always() && github.event.action == 'published' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message id: send_message run: | diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 00f1b4c62b2..b6b21bc9c6b 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -87,7 +87,7 @@ jobs: needs: [ release-image, release-tools-image, release-datascript-image] if: ${{ always() && github.event.action == 'published' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message id: send_message run: | diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml index bf64342f896..c2498f078b7 100644 --- a/.github/workflows/release-notes.yaml +++ b/.github/workflows/release-notes.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.9' diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 4fe291849de..0fb5579c0c8 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -25,7 +25,7 @@ jobs: name: Create Release kbcli runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: create release ${{ env.CLI_NAME }} id: create_release uses: softprops/action-gh-release@v1 @@ -48,7 +48,7 @@ jobs: name: Upload and release kbcli runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update @@ -119,7 +119,7 @@ jobs: matrix: os: [linux-amd64, linux-arm64, darwin-amd64, darwin-arm64, windows-amd64, windows-arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download kbcli Artifact uses: actions/download-artifact@v3.0.2 with: @@ -182,7 +182,7 @@ jobs: tag-name: ${{ steps.send_message.outputs.tag_name }} if: ${{ always() && github.event.action == 'published' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message id: send_message run: | @@ -260,7 +260,7 @@ jobs: matrix: type: [image, kbcli, chart] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: delete ${{ matrix.type }} cache continue-on-error: true run: | diff --git a/.github/workflows/release-sync.yml b/.github/workflows/release-sync.yml index 4ff592c46c8..2ea751c4d01 100644 --- a/.github/workflows/release-sync.yml +++ b/.github/workflows/release-sync.yml @@ -23,7 +23,7 @@ jobs: outputs: release-version: ${{ steps.get_latest_version.outputs.release_version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: update release ${{ env.CLI_NAME }} latest id: get_latest_version run: | diff --git a/.github/workflows/release-version.yml b/.github/workflows/release-version.yml index 5c1a0ec6171..8edaa7c0487 100644 --- a/.github/workflows/release-version.yml +++ b/.github/workflows/release-version.yml @@ -21,7 +21,7 @@ jobs: outputs: matrix: ${{ steps.get_trigger_mode.outputs.matrix }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: release message id: get_trigger_mode run: | @@ -42,7 +42,7 @@ jobs: fail-fast: true matrix: ${{ fromJSON(needs.release-message.outputs.matrix) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install lib run: | sudo apt-get update @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout branch ${{ github.ref_name }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: push tag uses: mathieudutour/github-tag-action@v6.1 with: @@ -87,7 +87,7 @@ jobs: needs: release-version if: ${{ failure() || cancelled() }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: send message run: | bash .github/utils/utils.sh --type 12 \ diff --git a/.github/workflows/trigger-release.yml b/.github/workflows/trigger-release.yml index 52e2e432e09..6614fe61852 100644 --- a/.github/workflows/trigger-release.yml +++ b/.github/workflows/trigger-release.yml @@ -24,7 +24,7 @@ jobs: trigger-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: trigger release id: get_release_version run: |