-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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 <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
@kolaente OK, Thank you. |
Signed-off-by: konrad <[email protected]>
@kolaente maybe you can update this PR not create new PR. |
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
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 <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
Signed-off-by: konrad <[email protected]>
@kolaente LGTM |
* chore: update drone format to 1.0 * Converted old drone config Signed-off-by: konrad <[email protected]> * Moved translations to seperate pipeline Signed-off-by: konrad <[email protected]> * Split the steps in multiple pipelines and add dependencies Signed-off-by: konrad <[email protected]> * format Signed-off-by: konrad <[email protected]> * Fixed step depenednecies Signed-off-by: konrad <[email protected]> * Fixed discord notify Signed-off-by: konrad <[email protected]> * Exclude translations and docs pipelines from prs Signed-off-by: konrad <[email protected]> * Fixed exclude prs Signed-off-by: konrad <[email protected]> * Fixed exclude prs Signed-off-by: konrad <[email protected]> * Moved releases to seperate pipeline Signed-off-by: konrad <[email protected]> * Re-trigger drone Signed-off-by: konrad <[email protected]> * Disable release step Signed-off-by: konrad <[email protected]> * Fixed depending step Signed-off-by: konrad <[email protected]> * Adopted dependencies Signed-off-by: konrad <[email protected]> * Changed pipeline conditions Signed-off-by: konrad <[email protected]> * Replaced pipeline conditions with triggers Signed-off-by: konrad <[email protected]> * Fixed coverage step Signed-off-by: konrad <[email protected]> * Import changes from go-gitea#7331 Signed-off-by: konrad <[email protected]> * Add comment for lowest go version Signed-off-by: konrad <[email protected]> * Exclude fetch-tags from prs Signed-off-by: konrad <[email protected]> * Re-added comment about no tags Signed-off-by: konrad <[email protected]> * Removed unneeded conditions Signed-off-by: konrad <[email protected]> * Moved release version and release latest to different pipelines Signed-off-by: konrad <[email protected]> * Fixed depending pipeline Signed-off-by: konrad <[email protected]> * Removed the conditions for all services Signed-off-by: konrad <[email protected]>
remove git clone steps and execute the following command to change the format:
fix #6463