Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Müller <fmueller@owncloud.com>2021-06-09 19:04:58 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-10 16:59:39 +0300
commitcec5e9466d056a409cb34869e53ffff76d687572 (patch)
tree93a660fd9916e774314231804f8a113ed28a7147 /.drone.star
parent089cf2069bf31a47068a39bfcdce67b4378bb6e2 (diff)
Remove translations job from Drone config
Diffstat (limited to '.drone.star')
-rw-r--r--.drone.star64
1 files changed, 0 insertions, 64 deletions
diff --git a/.drone.star b/.drone.star
index d61df0730..45111011a 100644
--- a/.drone.star
+++ b/.drone.star
@@ -6,9 +6,6 @@
#
def main(ctx):
- translations_trigger = {
- "cron": ["translations-2-7"],
- }
build_trigger = {
"ref": [
"refs/heads/master",
@@ -64,22 +61,6 @@ def main(ctx):
"clang-debug-ninja",
],
),
-
- # Sync translations
- update_translations(
- ctx,
- "client",
- "translations",
- read_image = "rabits/qt:5.12-desktop",
- trigger = translations_trigger,
- ),
- notification(
- name = "translations",
- trigger = translations_trigger,
- depends_on = [
- "translations-client",
- ],
- ),
]
return pipelines
@@ -377,51 +358,6 @@ def make(target, path, image = "owncloudci/transifex:latest"):
],
}
-def update_translations(ctx, name, path, read_image = "owncloudci/transifex:latest", write_image = "owncloudci/transifex:latest", trigger = {}, depends_on = []):
- return {
- "kind": "pipeline",
- "name": "translations-" + name,
- "platform": {
- "os": "linux",
- "arch": "amd64",
- },
- "steps": [
- make("l10n-read", path, read_image),
- make("l10n-push", path),
- make("l10n-pull", path),
- make("l10n-write", path, write_image),
- make("l10n-clean", path),
- # keep time window for commit races as small as possible
- {
- "name": "update-repo-before-commit",
- "image": "docker:git",
- "commands": [
- "git stash",
- "git pull --ff-only origin +refs/heads/$${DRONE_BRANCH}",
- '[ "$(git stash list)" = "" ] || git stash pop',
- ],
- },
- whenOnline({
- "name": "commit",
- "image": "appleboy/drone-git-push",
- "pull": "always",
- "settings": {
- "ssh_key": from_secret("git_push_ssh_key"),
- "author_name": "ownClouders",
- "author_email": "devops@owncloud.com",
- "remote_name": "origin",
- "branch": "${DRONE_BRANCH}",
- "empty_commit": False,
- "commit": True,
- "commit_message": "[tx] updated " + name + " translations from transifex",
- "no_verify": True,
- },
- }),
- ],
- "trigger": trigger,
- "depends_on": depends_on,
- }
-
def notification(name, depends_on = [], trigger = {}):
trigger = dict(trigger)
if not "status" in trigger: