summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--playbooks/image-build/docker-registry.yaml68
-rw-r--r--releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po86
-rw-r--r--zuul.d/jobs.yaml11
-rw-r--r--zuul.d/projects.yaml1
4 files changed, 162 insertions, 4 deletions
diff --git a/playbooks/image-build/docker-registry.yaml b/playbooks/image-build/docker-registry.yaml
new file mode 100644
index 00000000..fc9074f1
--- /dev/null
+++ b/playbooks/image-build/docker-registry.yaml
@@ -0,0 +1,68 @@
+- hosts: all
+ tasks:
+ - name: Ensure artifacts/images directory exists
+ file:
+ path: '{{ ansible_user_dir }}/images'
+ state: directory
+ - name: Install docker
+ become: true
+ package:
+ name: docker.io
+ state: present
+ - name: Start docker
+ become: true
+ systemd:
+ name: docker.io
+ daemon_reload: true
+ - name: Run docker registry
+ become: true
+ shell: docker run -d --net=host --restart=always -v /opt/trove_registry/:/var/lib/registry --name registry registry:2
+ - name: Pull and push trove datastore images
+ become: true
+ shell: docker pull {{ item }} && docker tag {{item}} 127.0.0.1:5000/trove-datastores/{{ item }} && \
+ docker push 127.0.0.1:5000/trove-datastores/{{ item }}
+ loop:
+ - "mysql:5.7"
+ - "mysql:8.0"
+ - "mariadb:10.4"
+ - "postgres:12"
+ - name: Build mysql 5.7 backup image
+ become: true
+ shell: docker build -t 127.0.0.1:5000/trove-datastores/db-backup-mysql5.7:1.1.0 .
+ args:
+ chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/backup"
+ - name: Build mysql 8.0 backup image
+ become: true
+ shell: sed -i s/mysql5.7/mysql8.0/ Dockerfile && \
+ docker build -t 127.0.0.1:5000/trove-datastores/db-backup-mysql8.0:1.1.0 .
+ args:
+ chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/backup"
+ - name: Build mariadb backup image
+ become: true
+ shell: sed -i s/mysql8.0/mariadb/ Dockerfile && \
+ docker build -t 127.0.0.1:5000/trove-datastores/db-backup-mariadb:1.1.0 .
+ args:
+ chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/backup"
+ - name: Build postgresql backup image
+ become: true
+ shell: sed -i s/mariadb/postgresql/ Dockerfile && \
+ docker build -t 127.0.0.1:5000/trove-datastores/db-backup-postgresql:1.1.2 .
+ args:
+ chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/backup"
+ - name: Push the backup images
+ become: true
+ shell: docker push 127.0.0.1:5000/trove-datastores/db-backup-{{item}}
+ loop:
+ - "mariadb:1.1.0"
+ - "postgresql:1.1.2"
+ - name: Push mysql backup images
+ become: true
+ shell: docker push 127.0.0.1:5000/trove-datastores/db-backup-mysql{{ item }}:1.1.0
+ loop:
+ - "5.7"
+ - "8.0"
+ - name: Compress the docker registry files
+ become: true
+ archive:
+ path: "/opt/trove_registry/"
+ dest: '{{ ansible_user_dir }}/images/trove-datastore-registry-master.tar.gz' \ No newline at end of file
diff --git a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
index 027222aa..257f1c70 100644
--- a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
+++ b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
@@ -4,11 +4,11 @@ msgid ""
msgstr ""
"Project-Id-Version: trove\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-09-26 08:29+0000\n"
+"POT-Creation-Date: 2022-11-21 16:21+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2022-10-12 01:21+0000\n"
+"PO-Revision-Date: 2022-11-04 10:52+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>\n"
"Language-Team: English (United Kingdom)\n"
"Language: en_GB\n"
@@ -48,8 +48,8 @@ msgstr "16.0.0-6"
msgid "17.0.0-5"
msgstr "17.0.0-5"
-msgid "18.0.0.0rc1"
-msgstr "18.0.0.0rc1"
+msgid "18.0.0"
+msgstr "18.0.0"
msgid "5.0.0"
msgstr "5.0.0"
@@ -872,18 +872,96 @@ msgstr ""
"Most of the options related to backup and restore are removed, e.g. "
"backup_namespace, restore_namespace, backup_incremental_strategy"
+msgid "New Features"
+msgstr "New Features"
+
+msgid ""
+"New framework for ``trove-status upgrade check`` command is added. This "
+"framework allows adding various checks which can be run before a Trove "
+"upgrade to ensure if the upgrade can be performed safely."
+msgstr ""
+"New framework for ``trove-status upgrade check`` command is added. This "
+"framework allows adding various checks which can be run before a Trove "
+"upgrade to ensure if the upgrade can be performed safely."
+
+msgid ""
+"New instance upgrade API supports upgrading an instance of a datastore to a "
+"new datastore version. Includes implementation for MySQL family of "
+"databases."
+msgstr ""
+"New instance upgrade API supports upgrading an instance of a datastore to a "
+"new datastore version. Includes implementation for MySQL family of "
+"databases."
+
+msgid ""
+"New quota management APIs for reviewing and changing the quota for a "
+"particular tenant. Requires admin privileges."
+msgstr ""
+"New quota management APIs for reviewing and changing the quota for a "
+"particular tenant. Requires admin privileges."
+
msgid "Newton Series Release Notes"
msgstr "Newton Series Release Notes"
msgid "Ocata Series Release Notes"
msgstr "Ocata Series Release Notes"
+msgid "Only one trove guest image is needed for all the datastores."
+msgstr "Only one trove guest image is needed for all the datastores."
+
+msgid ""
+"OpenStack Trove now supports clustering for Cassandra datastores. You can "
+"access clustering capabilities through the Trove cluster API."
+msgstr ""
+"OpenStack Trove now supports clustering for Cassandra datastores. You can "
+"access clustering capabilities through the Trove cluster API."
+
+msgid ""
+"OpenStack Trove now supports clustering for MariaDB datastores. You can "
+"access clustering capabilities through the Trove cluster API."
+msgstr ""
+"OpenStack Trove now supports clustering for MariaDB datastores. You can "
+"access clustering capabilities through the Trove cluster API."
+
+msgid "Other Notes"
+msgstr "Other Notes"
+
+msgid ""
+"Pass instance nic and az to cluster grow. Add specific Fix for mongodb to "
+"use the instance nic and az."
+msgstr ""
+"Pass instance nic and az to cluster grow. Add specific Fix for MongoDB to "
+"use the instance nic and az."
+
+msgid ""
+"Peviously root disable API returns a HTTP 200 response without any content, "
+"a HTTP 204 reponse which is more appropriate will be returned now."
+msgstr ""
+"Previously root disable API returns a HTTP 200 response without any content, "
+"a HTTP 204 response which is more appropriate will be returned now."
+
msgid "Pike Series Release Notes"
msgstr "Pike Series Release Notes"
msgid "Prelude"
msgstr "Prelude"
+msgid ""
+"Python 2.7 support has been dropped. Last release of Trove to support py2.7 "
+"is OpenStack Train. The minimum version of Python now supported by Trove is "
+"Python 3.6."
+msgstr ""
+"Python 2.7 support has been dropped. The last release of Trove to support "
+"Python 2.7 was OpenStack Train. The minimum version of Python now supported "
+"by Trove is Python 3.6."
+
+msgid ""
+"Python 3.6 & 3.7 support has been dropped. The minimum version of Python now "
+"supported is Python 3.8."
+msgstr ""
+"Python 3.6 & 3.7 support has been dropped. The minimum version of Python now "
+"supported is Python 3.8."
+
msgid "Queens Series Release Notes"
msgstr "Queens Series Release Notes"
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 845eb7a7..a2747831 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -477,3 +477,14 @@
branch: master
dev_mode: true
image_suffix: "-dev"
+
+- job:
+ name: publish-trove-datastore-images
+ description: |
+ Build and publish trove datastore docker images to
+ tarballs.openstack.org.
+ run: playbooks/image-build/docker-registry.yaml
+ post-run: playbooks/image-build/post.yaml
+ nodeset: trove-ubuntu-focal-single
+ required-projects:
+ - openstack/trove \ No newline at end of file
diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml
index 90030aba..4f6af368 100644
--- a/zuul.d/projects.yaml
+++ b/zuul.d/projects.yaml
@@ -43,3 +43,4 @@
jobs:
- publish-trove-guest-image-ubuntu-focal
- publish-trove-guest-image-ubuntu-focal-dev
+ - publish-trove-datastore-images