Skip to content

Commit

Permalink
provision: Add provision support for Ubuntu 20.10(Groovy).
Browse files Browse the repository at this point in the history
PostgreSQL 13 is used when os_version is 20.10.
  • Loading branch information
ganpa3 committed Feb 1, 2021
1 parent bc6c83c commit 7bfbe86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/setup-apt-repo
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ apt-get -y install "${pre_setup_deps[@]}"
SCRIPTS_PATH="$(cd "$(dirname "$(dirname "$0")")" && pwd)"

release=$(lsb_release -sc)
if [[ "$release" =~ ^(bionic|cosmic|disco|eoan|focal)$ ]]; then
if [[ "$release" =~ ^(bionic|cosmic|disco|eoan|focal|groovy)$ ]]; then
distribution=ubuntu
apt-key add "$SCRIPTS_PATH"/setup/pgdg.asc
apt-key add "$SCRIPTS_PATH"/setup/pgroonga-ppa.asc
Expand Down
2 changes: 2 additions & 0 deletions tools/lib/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
POSTGRESQL_VERSION = "11"
elif vendor == "ubuntu" and os_version == "20.04": # focal
POSTGRESQL_VERSION = "12"
elif vendor == "ubuntu" and os_version == "20.10": # groovy
POSTGRESQL_VERSION = "13"
elif vendor == "fedora" and os_version == "29":
POSTGRESQL_VERSION = "10"
elif vendor == "rhel" and os_version.startswith("7."):
Expand Down

0 comments on commit 7bfbe86

Please sign in to comment.