Skip to content

Commit

Permalink
Use an alternate repository for PostgreSQL 10 RHEL packages (#3390)
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslavic authored Sep 6, 2023
1 parent 6ebcd1f commit b924dfe
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 26 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
### NOTE: ⚠️[**Ubuntu 18.04 LTS EOL**](https://ubuntu.com/blog/18-04-end-of-standard-support)⚠️
Ubuntu 18.04 LTS reached the end of the standard support on 31 May 2023.

## [1.0.13] YYYY-MM-DD

### Fixed

- [#3389](https://github.com/hitachienergy/epiphany/issues/3389) - PostgreSQL 10 yum repository not available

## [1.0.12] 2023-06-05

### Updated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,16 +682,6 @@ gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cl
EOF
)

POSTGRESQL_REPO_CONF=$(cat <<'EOF'
[pgdg10]
name=PostgreSQL 10 for RHEL/CentOS $releasever - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
EOF
)

RABBITMQ_SERVER_REPO_CONF=$(cat <<'EOF'
[rabbitmq-server]
name=rabbitmq-rpm
Expand All @@ -717,7 +707,6 @@ add_repo_as_file 'elasticsearch-7' "$ELASTICSEARCH_7_REPO_CONF"
add_repo_as_file 'elasticsearch-curator-5' "$ELASTICSEARCH_CURATOR_REPO_CONF"
add_repo_as_file 'grafana' "$GRAFANA_REPO_CONF"
add_repo_as_file 'kubernetes' "$KUBERNETES_REPO_CONF"
add_repo_as_file 'postgresql-10' "$POSTGRESQL_REPO_CONF"
add_repo_as_file 'bintray-rabbitmq-rpm' "$RABBITMQ_SERVER_REPO_CONF"
add_repo_from_script 'https://dl.2ndquadrant.com/default/release/get/10/rpm'
disable_repo '2ndquadrant-dl-default-release-pg10-debug'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ perl-libs # for vim
perl-Pod-Perldoc # for vim
perl-Pod-Simple # for vim
perl-Pod-Usage # for vim
pgaudit12_10
pgbouncer-1.10.*
policycoreutils-python # for container-selinux
pyldb # for cifs-utils
Expand All @@ -90,7 +89,6 @@ quota # for nfs-utils
rabbitmq-server-3.8.9
rh-haproxy18
rh-haproxy18-haproxy-syspaths
postgresql10-server
repmgr10-4.0.6
samba-client
samba-client-libs # for samba-client
Expand Down Expand Up @@ -151,6 +149,10 @@ https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistro-security-1.13.1.0.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistro-sql-1.13.0.0.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistroforelasticsearch-kibana-1.13.1-linux-x64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/pgaudit12_10-1.2.4-1.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-10.23-1PGDG.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-libs-10.23-1PGDG.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-server-10.23-1PGDG.rhel7.x86_64.rpm

[files]
# Github repository for erlang rpm is used since packagecloud repository is limited to a certain number of versions and erlang package from erlang-solutions repository is much more complex and bigger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -717,16 +717,6 @@ gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cl
EOF
)

POSTGRESQL_REPO_CONF=$(cat <<'EOF'
[pgdg10]
name=PostgreSQL 10 for RHEL/CentOS $releasever - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
EOF
)

RABBITMQ_SERVER_REPO_CONF=$(cat <<'EOF'
[rabbitmq-server]
name=rabbitmq-rpm
Expand All @@ -752,7 +742,6 @@ add_repo_as_file 'elasticsearch-7' "$ELASTICSEARCH_7_REPO_CONF"
add_repo_as_file 'elasticsearch-curator-5' "$ELASTICSEARCH_CURATOR_REPO_CONF"
add_repo_as_file 'grafana' "$GRAFANA_REPO_CONF"
add_repo_as_file 'kubernetes' "$KUBERNETES_REPO_CONF"
add_repo_as_file 'postgresql-10' "$POSTGRESQL_REPO_CONF"
add_repo_as_file 'bintray-rabbitmq-rpm' "$RABBITMQ_SERVER_REPO_CONF"
add_repo_from_script 'https://dl.2ndquadrant.com/default/release/get/10/rpm'
disable_repo '2ndquadrant-dl-default-release-pg10-debug'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ perl-libs # for vim
perl-Pod-Perldoc # for vim
perl-Pod-Simple # for vim
perl-Pod-Usage # for vim
pgaudit12_10
pgbouncer-1.10.*
policycoreutils-python # for container-selinux
pyldb # for cifs-utils
Expand All @@ -86,7 +85,6 @@ quota # for nfs-utils
rabbitmq-server-3.8.9
rh-haproxy18
rh-haproxy18-haproxy-syspaths
postgresql10-server
repmgr10-4.0.6
samba-client
samba-client-libs # for samba-client
Expand Down Expand Up @@ -147,6 +145,10 @@ https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistro-security-1.13.1.0.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistro-sql-1.13.0.0.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/opendistroforelasticsearch-kibana-1.13.1-linux-x64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/pgaudit12_10-1.2.4-1.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-10.23-1PGDG.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-libs-10.23-1PGDG.rhel7.x86_64.rpm
https://github.com/hitachienergy/alternative-repo/raw/main/1.0.x/redhat/packages/postgresql10-server-10.23-1PGDG.rhel7.x86_64.rpm

[files]
# Github repository for erlang rpm is used since packagecloud repository is limited to a certain number of versions and erlang package from erlang-solutions repository is much more complex and bigger
Expand Down

0 comments on commit b924dfe

Please sign in to comment.