diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-04-30 12:23:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 12:23:26 -0400 |
commit | a4c13af578105ffbce78645ec0c824e0f9525e12 (patch) | |
tree | 69795e8743c65fad1011fe066bf3ba21433b639e /.drone.yml | |
parent | 14c142b0bca2af79f30fcf221479fb66d63dbdf8 (diff) | |
download | gitea-a4c13af578105ffbce78645ec0c824e0f9525e12.tar.gz gitea-a4c13af578105ffbce78645ec0c824e0f9525e12.zip |
Move docs pipelines to use Actions (#24434)
similar to #24314, this moves drone cron pipelines to (GitHub) Actions.
As these are mostly compatible with Gitea Actions, when we start to
dogfood, these will already be migrated.
I also removed the discord notify pipeline, as it hasn't been working
for several months.
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 126 |
1 files changed, 0 insertions, 126 deletions
diff --git a/.drone.yml b/.drone.yml index 5096ce781f..197ee131ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -270,35 +270,6 @@ steps: --- kind: pipeline type: docker -name: compliance-docs - -platform: - os: linux - arch: amd64 - -trigger: - event: - - pull_request - paths: - include: - - "docs/**" - - "*.md" - -steps: - - name: deps-frontend - image: node:18 - pull: always - commands: - - make deps-frontend - - - name: lint-md - image: node:18 - commands: - - make lint-md - ---- -kind: pipeline -type: docker name: testing-mysql platform: @@ -1036,49 +1007,6 @@ steps: --- kind: pipeline type: docker -name: docs - -platform: - os: linux - arch: arm64 - -depends_on: - - compliance - -trigger: - event: - - push - - tag - - pull_request - paths: - include: - - "docs/**" - -steps: - - name: build-docs - image: gitea/test_env:linux-1.20-arm64 - commands: - - cd docs - - make trans-copy clean build - - - name: publish-docs - image: techknowlogick/drone-netlify:latest - pull: always - settings: - path: docs/public/ - site_id: d2260bae-7861-4c02-8646-8f6440b12672 - environment: - NETLIFY_TOKEN: - from_secret: netlify_token - when: - branch: - - main - event: - - push - ---- -kind: pipeline -type: docker name: docker-linux-amd64-release-version platform: @@ -1818,57 +1746,3 @@ depends_on: - docker-linux-arm64-release - docker-linux-amd64-release-branch - docker-linux-arm64-release-branch - ---- -kind: pipeline -type: docker -name: notifications - -platform: - os: linux - arch: arm64 - -clone: - disable: true - -trigger: - branch: - - main - - "release/*" - event: - - push - - tag - status: - - success - - failure - -depends_on: - - testing-mysql - - testing-mysql8 - - testing-mssql - - testing-pgsql - - testing-sqlite - - release-version - - release-latest - - docker-linux-amd64-release - - docker-linux-arm64-release - - docker-linux-amd64-release-version - - docker-linux-arm64-release-version - - docker-linux-amd64-release-candidate-version - - docker-linux-arm64-release-candidate-version - - docker-linux-amd64-release-branch - - docker-linux-arm64-release-branch - - docker-manifest - - docker-manifest-version - - docs - -steps: - - name: discord - image: appleboy/drone-discord:1.2.4 - pull: always - settings: - message: "{{#success build.status}} ā
Build #{{build.number}} of `{{repo.name}}` succeeded.\n\nš Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nš {{ build.link }} {{else}} ā Build #{{build.number}} of `{{repo.name}}` failed.\n\nš Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\nš {{ build.link }} {{/success}}\n" - webhook_id: - from_secret: discord_webhook_id - webhook_token: - from_secret: discord_webhook_token |