From f084cb5b16fbe5943e5f75aec465308c3f1922d4 Mon Sep 17 00:00:00 2001 From: StarryWang Date: Fri, 18 Oct 2024 13:10:11 +0800 Subject: [PATCH] feat: Delete drone config --- .drone.yml | 230 ----------------------------------------------------- 1 file changed, 230 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 64f2644..0000000 --- a/.drone.yml +++ /dev/null @@ -1,230 +0,0 @@ ---- -kind: pipeline -type: docker -name: linux-amd64 -platform: - os: linux - arch: amd64 -steps: - - name: ci - image: rancher/dapper:v0.6.0 - environment: - DRONE_TAG: ${DRONE_TAG} - DRONE_COMMIT_SHA: ${DRONE_COMMIT_SHA} - commands: - - dapper ci - volumes: - - name: docker - path: /var/run/docker.sock - when: - event: - - push - - pull_request - - tag - - name: github_binary_release - image: plugins/github-release - settings: - api_key: - from_secret: github_token - prerelease: false - checksum: - - sha256 - checksum_file: CHECKSUMsum-amd64.txt - checksum_flatten: true - files: - - "dist/artifacts/*" - title: "${DRONE_TAG}" - when: - ref: - include: - - refs/tags/v* - exclude: - - refs/tags/*rc* - - refs/tags/*alpha* - - refs/tags/*beta* - event: - - tag - - name: github_binary_prerelease - image: plugins/github-release - settings: - api_key: - from_secret: github_token - prerelease: true - checksum: - - sha256 - checksum_file: CHECKSUMsum-amd64.txt - checksum_flatten: true - files: - - "dist/artifacts/*" - title: "Pre-release ${DRONE_TAG}" - when: - ref: - include: - - refs/tags/*rc* - - refs/tags/*alpha* - - refs/tags/*beta* - event: - - tag - - name: docker-publish - image: plugins/docker - settings: - dockerfile: package/Dockerfile - username: - from_secret: docker_username - password: - from_secret: docker_password - repo: "cnrancher/cce-operator" - tag: "${DRONE_TAG}-amd64" - when: - event: - - tag - - name: docker-build - image: plugins/docker - settings: - dockerfile: package/Dockerfile - repo: "cnrancher/cce-operator" - tag: "${DRONE_COMMIT}-amd64" - dry_run: true - when: - event: - - push - - pull_request -volumes: - - name: docker - host: - path: /var/run/docker.sock -node: - instance: agent-amd64 - ---- -kind: pipeline -name: linux-arm64 -platform: - os: linux - arch: arm64 -steps: - - name: ci - image: rancher/dapper:v0.6.0 - environment: - DRONE_TAG: ${DRONE_TAG} - DRONE_COMMIT_SHA: ${DRONE_COMMIT_SHA} - commands: - - dapper ci - volumes: - - name: docker - path: /var/run/docker.sock - when: - event: - - push - - pull_request - - tag - - name: github_binary_release - image: plugins/github-release - settings: - api_key: - from_secret: github_token - prerelease: false - checksum: - - sha256 - checksum_file: CHECKSUMsum-arm64.txt - checksum_flatten: true - files: - - "dist/artifacts/*" - title: "${DRONE_TAG}" - when: - ref: - include: - - refs/tags/v* - exclude: - - refs/tags/*rc* - - refs/tags/*alpha* - - refs/tags/*beta* - event: - - tag - - name: github_binary_prerelease - image: plugins/github-release - settings: - api_key: - from_secret: github_token - prerelease: true - checksum: - - sha256 - checksum_file: CHECKSUMsum-arm64.txt - checksum_flatten: true - files: - - "dist/artifacts/*" - title: "Pre-release ${DRONE_TAG}" - when: - ref: - include: - - refs/tags/*rc* - - refs/tags/*alpha* - - refs/tags/*beta* - event: - - tag - - name: docker-publish - image: plugins/docker - settings: - dockerfile: package/Dockerfile - username: - from_secret: docker_username - password: - from_secret: docker_password - repo: "cnrancher/cce-operator" - tag: "${DRONE_TAG}-arm64" - when: - event: - - tag - - name: docker-build - image: plugins/docker - settings: - dockerfile: package/Dockerfile - repo: "cnrancher/cce-operator" - tag: "${DRONE_COMMIT}-arm64" - dry_run: true - when: - event: - - push - - pull_request -volumes: - - name: docker - host: - path: /var/run/docker.sock -node: - instance: agent-arm64 - ---- -kind: pipeline -name: manifest -platform: - os: linux - arch: amd64 -steps: - - name: manifest - image: plugins/manifest:1.0.2 - settings: - username: - from_secret: docker_username - password: - from_secret: docker_password - platforms: - - linux/amd64 - - linux/arm64 - target: "cnrancher/cce-operator:${DRONE_TAG}" - template: "cnrancher/cce-operator:${DRONE_TAG}-ARCH" - when: - event: - - tag -volumes: - - name: docker - host: - path: /var/run/docker.sock -trigger: - event: - include: - - tag -depends_on: - - linux-amd64 - - linux-arm64 -node: - instance: agent-amd64