Re-Enable django_openstack_auth/designate-dashboard translations
Also, remove liberty jobs for these so that we do not need to backport or handle them extra. Backporting would break packaging by third parties, therefore not an option. Designate-dashboard setup is broken in liberty anyhow, so no need to handle it extra. django_openstack_auth is good translated, and we're at the end of translation. Besides re-enabling the translations using the new setup, we can now remove the old function setup_django_openstack_auth since it's not used anymore. Story: 2000452 Change-Id: I8b72a148d0f0e89d61807eee50a772e1fbcecaa2
This commit is contained in:
parent
221de77380
commit
a97afd8b83
@ -892,7 +892,6 @@
|
||||
- openstack-publish-jobs
|
||||
- pypi-jobs
|
||||
- translation-jobs
|
||||
- translation-jobs-liberty
|
||||
|
||||
- project:
|
||||
name: designate-specs
|
||||
@ -1193,7 +1192,6 @@
|
||||
- pypi-jobs
|
||||
- 'lib-forward-testing-{name}'
|
||||
- translation-jobs
|
||||
- translation-jobs-liberty
|
||||
- gate-{name}-tox-{envlist}:
|
||||
envlist:
|
||||
- py27dj18
|
||||
|
@ -381,16 +381,6 @@ function extract_messages_django {
|
||||
trap "" EXIT
|
||||
}
|
||||
|
||||
# Setup project django_openstack_auth for Zanata
|
||||
function setup_django_openstack_auth {
|
||||
local project=django_openstack_auth
|
||||
local version=${1:-master}
|
||||
|
||||
/usr/local/jenkins/slave_scripts/create-zanata-xml.py \
|
||||
-p $project -v $version --srcdir openstack_auth/locale \
|
||||
--txdir openstack_auth/locale -r '**/*.pot' \
|
||||
'{locale_with_underscore}/LC_MESSAGES/django.po' -f zanata.xml
|
||||
}
|
||||
|
||||
# Filter out files that we do not want to commit.
|
||||
# Sets global variable INVALID_PO_FILE to 1 if any invalid files are
|
||||
|
@ -119,21 +119,6 @@ function propose_horizon {
|
||||
git add horizon/locale/* openstack_dashboard/locale/*
|
||||
}
|
||||
|
||||
function propose_django_openstack_auth {
|
||||
|
||||
# Pull updated translations from Zanata.
|
||||
pull_from_zanata "$PROJECT"
|
||||
|
||||
# Update the .pot file
|
||||
extract_messages "openstack_auth"
|
||||
|
||||
# Compress downloaded po files
|
||||
compress_po_files "openstack_auth"
|
||||
|
||||
# Add all changed files to git
|
||||
git add openstack_auth/locale/*
|
||||
}
|
||||
|
||||
# This function can be used for all django projects
|
||||
function propose_django {
|
||||
local project=$1
|
||||
@ -167,16 +152,6 @@ case "$PROJECT" in
|
||||
setup_training_guides "$ZANATA_VERSION"
|
||||
propose_training_guides
|
||||
;;
|
||||
django_openstack_auth|designate-dashboard)
|
||||
echo "project temporarily disabled"
|
||||
exit 0
|
||||
# NOTE: Once POT file and Zanata resource name are renamed
|
||||
# from openstack_auth(.pot) to django(.pot), the below can be used.
|
||||
# setup_django django_openstack_auth openstack_auth "$ZANATA_VERSION"
|
||||
# NOTE: Once django_openstack_auth repo has babel-django.cfg,
|
||||
# the below can be used.
|
||||
# propose_django django_openstack_auth openstack_auth
|
||||
;;
|
||||
horizon)
|
||||
setup_horizon "$ZANATA_VERSION"
|
||||
propose_horizon
|
||||
|
@ -40,16 +40,6 @@ case "$PROJECT" in
|
||||
training-guides)
|
||||
setup_training_guides "$ZANATA_VERSION"
|
||||
;;
|
||||
django_openstack_auth|designate-dashboard)
|
||||
echo "project temporarily disabled"
|
||||
exit 0
|
||||
# NOTE: Once POT file and Zanata resource name are renamed
|
||||
# from openstack_auth(.pot) to django(.pot), the below can be used.
|
||||
# setup_django django_openstack_auth openstack_auth "$ZANATA_VERSION"
|
||||
# NOTE: Once django_openstack_auth repo has babel-django.cfg,
|
||||
# the below can be used.
|
||||
# extract_messages_django openstack_auth
|
||||
;;
|
||||
horizon)
|
||||
setup_horizon "$ZANATA_VERSION"
|
||||
./run_tests.sh --makemessages -V
|
||||
|
@ -4582,7 +4582,6 @@ projects:
|
||||
- name: openstack-server-release-jobs
|
||||
- name: check-requirements
|
||||
- name: translation-jobs
|
||||
- name: translation-jobs-liberty
|
||||
check:
|
||||
- gate-designate-dsvm-powerdns
|
||||
- designate-dashboard-coverage
|
||||
@ -4746,7 +4745,6 @@ projects:
|
||||
- name: check-requirements
|
||||
- name: lib-forward-testing
|
||||
- name: translation-jobs
|
||||
- name: translation-jobs-liberty
|
||||
check:
|
||||
- gate-django_openstack_auth-tox-py27dj18
|
||||
- gate-django_openstack_auth-tox-py27dj19
|
||||
|
Loading…
Reference in New Issue
Block a user