Coder Social home page Coder Social logo

dancer-ex's People

Contributors

adambkaplan avatar bparees avatar coreydaley avatar dinhxuanvu avatar ewolinetz avatar gabemontero avatar guangxuli avatar hhorak avatar jhadvig avatar jplesnik avatar jupierce avatar liangxia avatar luciddreamz avatar mfojtik avatar mnagy avatar nhr avatar ofthecure avatar phracek avatar rhcarvalho avatar sallyom avatar yselkowitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dancer-ex's Issues

Add post build hook

Add an example build hook to run unit tests as part of the build.

๐Ÿ’ญ I tried doing so myself but couldn't get it working without friction, so deferring it for later or someone else.

The hook shall be added to the BuildConfigs of our templates:

+        "postCommit": {
+          "script": "perl -Iextlib/lib/perl5 t/*"
+        }

I am not sure about the right one-liner to run unit tests.

Incompatible with ubi8 perl images

Two issues occur attempting to use the dancer template with perl:5.26-el8:

  1. Only the very latest version of DBD::mysql will build with libmariadb client: multi-arch@f3bb206

  2. While RHSCL (RHEL 7) perl images included mod_perl, UBI 8 perl images use fcgi. The build completes, but deploying the pod fails:

AH00526: Syntax error on line 3 of /opt/app-root/etc/httpd.d/dancer.conf:
Invalid command 'PerlResponseHandler', perhaps misspelled or defined by a module not included in the server configuration

Somehow, cfg/dancer.conf needs to be made compatible with fcgi as well, without breaking compatibility with mod_perl when built with RHEL7/RHSCL perl.

These issues now block openshift/cluster-samples-operator#320

cc: @hhorak

Pod breaks with manual addition of ConfigMap

Hi I'm using the base template from this project (dancer.json) on Openshift 4.5, and when I add a ConfigMap, instead of just creating a new pod with the new environment variables, it the new pod fails with this error:

 $ oc logs -f dancer1-7cc875b4b6-k6kkn
 Sat Nov 21 17:46:07.425660 2020 so:warn pid 1 AH01574: module perl_module is already loaded, skipping
 AH00526: Syntax error on line 46 of /opt/app-root/etc/httpd.d/env.conf:
 PerlPassEnv takes one argument, PerlPassEnv

The ConfigMap file itself is trivial:

 $ cat filterPatterns 
 pattern1=foo
 pattern2=bar

Appreciate any tips or insight for doing this successfully - thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.