-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
chore: update drone format to 1.0 #6602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6602 +/- ##
=========================================
Coverage ? 41.23%
=========================================
Files ? 466
Lines ? 63153
Branches ? 0
=========================================
Hits ? 26044
Misses ? 33705
Partials ? 3404 Continue to review full report at Codecov.
|
.drone.yml
Outdated
ignore_branch: true | ||
project_identifier: gitea | ||
environment: | ||
CROWDIN_KEY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should convert this kind of environment variables into settings.
.drone.yml
Outdated
- npm install | ||
- make stylesheets-check | ||
when: | ||
event: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just drop the events entirely?
.drone.yml
Outdated
pull: true | ||
environment: | ||
TAGS: bindata sqlite sqlite_unlock_notify | ||
when: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These conditions won't work anymore as far as I know. You should use ref
.drone.yml
Outdated
project_identifier: gitea | ||
ignore_branch: true | ||
steps: | ||
- name: download_translations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you split out translation steps into a different pipeline?
@appleboy How's the status here? |
@kolaente I will update asap |
@appleboy anything we can help you with? |
@appleboy If it's ok for you, I'm going to take over this pr since we need it. |
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
@kolaente OK, Thank you. |
Signed-off-by: konrad <konrad@kola-entertainments.de>
@kolaente maybe you can update this PR not create new PR. |
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Things I've changed:I've refactored the drone file to use the new syntax of drone 1, which brings several advanteges:
Multiple pipelines:
From the parallelization the whole pipeline now takes ~15min instead of 35min for a pr! 🎉 |
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
Signed-off-by: konrad <konrad@kola-entertainments.de>
@kolaente LGTM |
* chore: update drone format to 1.0 * Converted old drone config Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved translations to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Split the steps in multiple pipelines and add dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * format Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed step depenednecies Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed discord notify Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude translations and docs pipelines from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved releases to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-trigger drone Signed-off-by: konrad <konrad@kola-entertainments.de> * Disable release step Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending step Signed-off-by: konrad <konrad@kola-entertainments.de> * Adopted dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * Changed pipeline conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Replaced pipeline conditions with triggers Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed coverage step Signed-off-by: konrad <konrad@kola-entertainments.de> * Import changes from go-gitea#7331 Signed-off-by: konrad <konrad@kola-entertainments.de> * Add comment for lowest go version Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude fetch-tags from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-added comment about no tags Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed unneeded conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved release version and release latest to different pipelines Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed the conditions for all services Signed-off-by: konrad <konrad@kola-entertainments.de>
remove git clone steps and execute the following command to change the format:
fix #6463