-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2961 from EnterpriseDB/release/2022-07-20
Release: 2022-07-20
- Loading branch information
Showing
41 changed files
with
939 additions
and
1,052 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
install_template/templates/products/mysql-foreign-data-wrapper/base.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% extends "platformBase/" + platformBaseTemplate + '.njk' %} | ||
{% set packageName %}edb-as14-mysql8_fdw{% endset %} | ||
{% set packageName %}edb-as<xx>-mysql<y>-fdw{% endset %} | ||
{% block installCommand %} | ||
{{ super() }} | ||
{% include "platformBase/_epasVersionInPackageName.njk" %} | ||
Where `<xx>` is the version of EDB Postgres Advanced server and `<y>` is the version of MySQL to be installed. For example if EDB Postgres Version is 13 and MySQL version is 8 then the package name is `edb-as13-mysql8-fdw`. | ||
{% endblock installCommand %} |
19 changes: 18 additions & 1 deletion
19
install_template/templates/products/mysql-foreign-data-wrapper/debian-10.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% set platformBaseTemplate = "debian-10" %} | ||
{% set platformBaseTemplate = "debian-10" %} | ||
{% block mysqlfdw %} | ||
# If there is `libmysqlclient-dev` already installed on your system, remove it by using the following command: | ||
apt-get remove libmysqlclient-dev | ||
|
||
# Enable the MySQL repo: | ||
# For MySQL 8: | ||
sudo echo "deb http://repo.mysql.com/apt/debian/buster mysql-8.0" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
# For MySQL 5: | ||
sudo echo "deb http://repo.mysql.com/apt/debian/buster mysql-5.7" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
|
||
# Add the mysql repo key using the following commands: | ||
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 | ||
|
||
# Update the repository metadata: | ||
apt-get update | ||
``` | ||
{% endblock mysqlfdw %} |
27 changes: 2 additions & 25 deletions
27
install_template/templates/products/mysql-foreign-data-wrapper/sles-12.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,11 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% set platformBaseTemplate = "sles-12" %} | ||
{% block prerequisites %} | ||
Setting up the repository is a one time task. If you have already set up your repository, you do not need to perform these steps. | ||
```shell | ||
# Install the repository configuration and enter your EDB repository | ||
# credentials when prompted | ||
zypper addrepo https://zypp.enterprisedb.com/suse/edb-sles.repo | ||
|
||
# Install SUSEConnect to register the host with SUSE, allowing access | ||
# to SUSE repositories | ||
zypper install SUSEConnect | ||
|
||
# Register the host with SUSE, allowing access to SUSE repositories | ||
# Replace 'REGISTRATION_CODE' and 'EMAIL' with your SUSE registration | ||
# information | ||
SUSEConnect -r 'REGISTRATION_CODE' -e 'EMAIL' | ||
|
||
{% block mysqlfdw %} | ||
# Install the MySQL community repository | ||
wget https://dev.mysql.com/get/mysql80-community-release-sles12-5.noarch.rpm | ||
rpm --import /etc/RPM-GPG-KEY-mysql-2022 | ||
|
||
# Enable the MySQL8 repository and disable the MySQL 5 repository | ||
zypper modifyrepo -e mysql80-community | ||
zypper modifyrepo -d mysql57-community | ||
|
||
# Activate the required SUSE modules | ||
SUSEConnect -p PackageHub/12.5/x86_64 | ||
SUSEConnect -p sle-sdk/12.5/x86_64 | ||
|
||
# Refresh the metadata | ||
zypper refresh | ||
``` | ||
{% endblock prerequisites %} | ||
{% endblock mysqlfdw %} |
27 changes: 2 additions & 25 deletions
27
install_template/templates/products/mysql-foreign-data-wrapper/sles-12_ppc64le.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,3 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% extends "products/mysql-foreign-data-wrapper/sles-12.njk" %} | ||
{% set platformBaseTemplate = "sles-12" %} | ||
{% block prerequisites %} | ||
Setting up the repository is a one time task. If you have already set up your repository, you do not need to perform these steps. | ||
```shell | ||
# Install the repository configuration and enter your EDB repository | ||
# credentials when prompted | ||
zypper addrepo https://zypp.enterprisedb.com/suse/edb-sles.repo | ||
|
||
# Install SUSEConnect to register the host with SUSE, allowing access | ||
# to SUSE repositories | ||
zypper install SUSEConnect | ||
|
||
# Register the host with SUSE, allowing access to SUSE repositories | ||
# Replace 'REGISTRATION_CODE' and 'EMAIL' with your SUSE | ||
# registration information | ||
SUSEConnect -r 'REGISTRATION_CODE' -e 'EMAIL' | ||
|
||
# Activate the required SUSE modules | ||
SUSEConnect -p PackageHub/12.5/ppc64le | ||
SUSEConnect -p sle-sdk/12.5/ppc64le | ||
|
||
# Refresh the metadata | ||
zypper refresh | ||
``` | ||
{% endblock prerequisites %} | ||
{% set includePPC = true %} |
32 changes: 7 additions & 25 deletions
32
install_template/templates/products/mysql-foreign-data-wrapper/sles-15.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,11 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% set platformBaseTemplate = "sles-15" %} | ||
{% block prerequisites %} | ||
Setting up the repository is a one time task. If you have already set up your repository, you do not need to perform these steps. | ||
```shell | ||
# Install the repository configuration and enter your EDB repository | ||
# credentials when prompted | ||
zypper addrepo https://zypp.enterprisedb.com/suse/edb-sles.repo | ||
|
||
# Install SUSEConnect to register the host with SUSE, allowing access | ||
# to SUSE repositories | ||
zypper install SUSEConnect | ||
|
||
# Register the host with SUSE, allowing access to SUSE repositories | ||
# Replace 'REGISTRATION_CODE' and 'EMAIL' with your SUSE | ||
# registration information | ||
SUSEConnect -r 'REGISTRATION_CODE' -e 'EMAIL' | ||
|
||
# Activate the required SUSE module | ||
SUSEConnect -p PackageHub/15.3/x86_64 | ||
|
||
# Install the community MySQL repository | ||
rpm -i https://dev.mysql.com/get/mysql80-community-release-sl15-5.noarch.rpm | ||
{% block mysqlfdw %} | ||
# Install the MySQL community repository | ||
wget https://dev.mysql.com/get/mysql80-community-release-sles12-5.noarch.rpm | ||
rpm --import /etc/RPM-GPG-KEY-mysql-2022 | ||
|
||
# Refresh the metadata | ||
zypper refresh | ||
``` | ||
{% endblock prerequisites %} | ||
# Enable the MySQL8 repository and disable the MySQL 5 repository | ||
zypper modifyrepo -e mysql80-community | ||
zypper modifyrepo -d mysql57-community | ||
{% endblock mysqlfdw %} |
31 changes: 2 additions & 29 deletions
31
install_template/templates/products/mysql-foreign-data-wrapper/sles-15_ppc64le.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% extends "products/mysql-foreign-data-wrapper/sles-15.njk" %} | ||
{% set platformBaseTemplate = "sles-15" %} | ||
{% set includePPC = true %} | ||
{% block prerequisites %} | ||
Setting up the repository is a one time task. If you have already set up your repository, you do not need to perform these steps. | ||
```shell | ||
# Install the repository configuration and enter your EDB repository | ||
# credentials when prompted | ||
zypper addrepo https://zypp.enterprisedb.com/suse/edb-sles.repo | ||
|
||
# Install SUSEConnect to register the host with SUSE, allowing access | ||
# to SUSE repositories | ||
zypper install SUSEConnect | ||
|
||
# Register the host with SUSE, allowing access to SUSE repositories | ||
# Replace 'REGISTRATION_CODE' and 'EMAIL' with your SUSE | ||
# registration information | ||
SUSEConnect -r 'REGISTRATION_CODE' -e 'EMAIL' | ||
|
||
# Activate the required SUSE module | ||
SUSEConnect -p PackageHub/15.3/{{ platform.arch }} | ||
|
||
# Install the community MySQL repository | ||
rpm -i https://dev.mysql.com/get/mysql80-community-release-sl15-5.noarch.rpm | ||
rpm --import /etc/RPM-GPG-KEY-mysql-2022 | ||
|
||
# Refresh the metadata | ||
zypper refresh | ||
``` | ||
{% endblock prerequisites %} | ||
{% set includePPC = true %} |
19 changes: 18 additions & 1 deletion
19
install_template/templates/products/mysql-foreign-data-wrapper/ubuntu-18.04.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
{% extends "products/mysql-foreign-data-wrapper/base.njk" %} | ||
{% set platformBaseTemplate = "ubuntu-18.04" %} | ||
{% set platformBaseTemplate = "ubuntu-18.04" %} | ||
{% block mysqlfdw %} | ||
# If there is `libmysqlclient-dev` already installed on your system, remove it by using the following command: | ||
apt-get remove libmysqlclient-dev | ||
|
||
# Enable the MySQL repo: | ||
# For MySQL 8: | ||
echo "deb http://repo.mysql.com/apt/debian/buster mysql-8.0" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
# For MySQL 5: | ||
echo "deb http://repo.mysql.com/apt/debian/buster mysql-5.7" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
|
||
# Add the mysql repo key using the following commands: | ||
apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 | ||
|
||
# Update the repository metadata: | ||
apt-get update | ||
``` | ||
{% endblock mysqlfdw %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/migration_toolkit/55/02_supported_operating_systems_and_database_versions.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Supported operating systems and database versions" | ||
title: "Supported platforms and databases" | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
product_docs/docs/migration_toolkit/55/05_installing_mtk/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
product_docs/docs/migration_toolkit/55/06_building_toolkit.properties_file.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Building the toolkit.properties file" | ||
title: "Specifying connection properities" | ||
|
||
--- | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
...ion_toolkit/55/08_mtk_command_options.mdx → ...7_invoking_mtk/08_mtk_command_options.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 1 addition & 31 deletions
32
product_docs/docs/migration_toolkit/55/11_unsupported_features.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
product_docs/docs/migration_toolkit/55/13_upgrading_rpm_install.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.