diff --git a/.github/workflows/promote-image.yml b/.github/workflows/promote-image.yml deleted file mode 100644 index 858fcda88..000000000 --- a/.github/workflows/promote-image.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Promote Image to registry.k8s.io - -on: - schedule: - - cron: '0 16 * * *' # Run every day at GMT+8 midnight - - workflow_dispatch: # Use for manaully trigger to debug - -jobs: - promote-image: - runs-on: ubuntu-latest - environment: promote-image - steps: - # This step uses Github's checkout-action: https://github.com/actions/checkout - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - # pass XudongLiuHarold in this step because kpromo can only work on a fork, so leverage - # one maintainer(@XudongLiuHarold)'s fork repo - - name: Run kpromo command to promote image to registry.k8s.io - run: | - if hack/match-release-tag.sh >/dev/null 2>&1; then - ./hack/kpromo.sh XudongLiuHarold - else - echo "$(git describe --dirty) is not a release tag, skip promoting to registry.k8s.io" - fi - env: - GITHUB_TOKEN: ${{ secrets.XUDONG_GITHUB_TOKEN }} diff --git a/cloudbuild-pr.yaml b/cloudbuild-pr.yaml deleted file mode 100644 index e67f4817a..000000000 --- a/cloudbuild-pr.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# See https://cloud.google.com/cloud-build/docs/build-config -# See https://console.cloud.google.com/gcr/images/k8s-staging-test-infra/global/gcb-docker-gcloud -timeout: 2700s -options: - substitution_option: ALLOW_LOOSE - machineType: 'E2_HIGHCPU_8' -steps: - - name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240210-29014a6e3a' - entrypoint: make - env: - - DOCKER_CLI_EXPERIMENTAL=enabled - - TAG=$_GIT_TAG - - PULL_BASE_REF=$_PULL_BASE_REF - - DOCKER_BUILDKIT=1 - args: - - pr-staging -substitutions: - # _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and - # can be used as a substitution - _GIT_TAG: '12345' - _PULL_BASE_REF: 'dev'