Samagra-Development / WarpSQL

WarpSQL
https://samagra-development.github.io/WarpSQL/
Apache License 2.0
15 stars 30 forks source link

add packer template and updated workflow #89

Closed PiyushRaj927 closed 1 year ago

PiyushRaj927 commented 1 year ago

Fixes #51 This PR adds/improves

  1. a Packer template that enables building images with installed extensions using a parametric approach. By default, all supported extensions are installed. To install specific extensions, you can provide the extensions variable when running the command:

    packer build -var extensions='pg_repack,hll' -only warpsql.docker.alpine war
  2. GitHub workflow to test each extension individually as well as all of them within an image. By default, the test script test/smoke_test/smoke_test.sh will execute all the scripts in the extensions_test directory. You can specify which tests to run by providing a comma-separated list of extensions as an argument to the script. Here's an example of how to run specific tests:

    ./test/smoke_test/smoke_test.sh "hll,pg_reapck"
  3. updated README.md file with instructions on how to use the Packer template.

PiyushRaj927 commented 1 year ago

cc: @singhalkarun