sclorg / dancer-ex Goto Github PK
View Code? Open in Web Editor NEWPerl Dancer Example
Perl Dancer Example
Log excerpt:
Pushing image 172.30.47.227:5000/dancertest2/dancer-mysql-example:latest ...
error: build error: Failed to push image: unauthorized: authentication required
Currently the licensing for the project is included in README.md.
Please move licensing to LICENSE file.
This issue is created for testing purpose. No action required.
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.
Two issues occur attempting to use the dancer template with perl:5.26-el8:
Only the very latest version of DBD::mysql will build with libmariadb client: multi-arch@f3bb206
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
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.
This is for testing of automation workflow. No further action is required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.