Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocky8 support + CCP_PG_EXTENSIONS env for easy install additional extensions #1475

Closed
wants to merge 22 commits into from

Conversation

pere3
Copy link

@pere3 pere3 commented Aug 19, 2022

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?

Type of Changes:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

What is the current behavior? (link to any open issues here)
currently there is no way to build yourself a crunchy-containers if you are not a crunchy data customer (because ubi8 images requires licences) and centos8 support is broken since centos8 went EOL (December 31st, 2021)

there is also no easy way to customize images with additional pg_extensions you may need
#1335
https://github.com/CrunchyData/postgres-operator/issues/2016

What is the new behavior (if this is a feature change)?
i've added rocky8 support as it currently stands as centos replacement and also introduced CCP_PG_EXTENSIONS env which can be used to easily add list of extensions for your build

export CCP_PG_EXTENSIONS="pg_qualstats_$CCP_PGVERSION hypopg_$CCP_PGVERSION powa_$CCP_PGVERSION"

there is also official postgres repo added for community builds

Other information:
there is no way for me to tests this builds on PG11 and PG12, as this versions is not available at https://repo.developers.crunchydata.com/, but PG13 and PG14 build just fine

Successfully tagged crunchydata/crunchy-base:rocky8-13.8-5.2.0-0
Successfully tagged crunchydata/crunchy-postgres:rocky8-13.8-5.2.0-0
Successfully tagged crunchydata/crunchy-pgbackrest:rocky8-13.8-5.2.0-0

Successfully tagged crunchydata/crunchy-base:rocky8-14.5-5.2.0-0
Successfully tagged crunchydata/crunchy-postgres:rocky8-14.5-5.2.0-0
Successfully tagged crunchydata/crunchy-pgbackrest:rocky8-14.5-5.2.0-0

also only version 2.36 of pgbackrest is available here and 4.20 for pgadmin4

@jelmer
Copy link

jelmer commented Aug 26, 2022

I've tested this PR and can confirm it works well. I did need to explicitly specify the registry URL for rocky8 - see pere3#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants