Commit graph

37 commits

Author SHA1 Message Date
Phil Elson
6178fc3c15 Update the nginx version to 1.18 2021-08-26 06:08:10 +02:00
Phil Elson
c81bdeb21e Include the expert app in the public docker image. 2021-08-25 13:20:59 +02:00
Philip James Elson
2645ff2a43 Merge branch 'feature/check-oc-config-prod' into 'master'
Align the dev and prod openshift configs, and validate that they remain correct

See merge request cara/cara!230
2021-07-31 04:04:23 +00:00
Phil Elson
af3fe421db Fix the expert app, as the new docker image did not support running as non-root. 2021-07-30 17:53:19 +02:00
Phil Elson
e1392fb8ce Move the expert app into the cara package. Helps with convenient access from the cara-webservice image. 2021-07-30 10:45:24 +02:00
Phil Elson
5350845852 Align the dev and prod openshift configs, and validate that they remain correct. 2021-07-30 09:47:32 +02:00
Nicola Tarocco
f7ce8c96f3 Continue to allow a relative path to be specified for the theme directory. 2021-07-30 08:55:19 +02:00
Phil Elson
3103663978 Create a Python3.9 based Dockerfile for cara to run on openshift. 2021-07-30 08:53:06 +02:00
Phil Elson
a2fd0e7fe5 Update to reflect the resource limit changes in cara-webservice. 2021-07-29 14:49:52 +02:00
Phil Elson
74ee8b5241 Implement the normalisation and comparison of openshift config items 2021-07-29 09:38:59 +02:00
Phil Elson
b74ffebeb2 Tool to generate the config from the templates. 2021-07-29 09:38:59 +02:00
Phil Elson
91ea826060 Add a CI job to validate the test-cara instance. 2021-07-29 09:38:59 +02:00
Phil Elson
2fcadc7952 Add auth-service building to the CI. 2021-07-20 11:14:08 +02:00
Phil Elson
d7199f7a15 Build the auth-service through a Dockerfile to allow us to use the latest versions of libraries (e.g. python 3.9) 2021-07-20 11:06:07 +02:00
Phil Elson
7d14bc488f Tests passing for OpenShift config checking on the test-cara instance. 2021-07-14 13:32:02 +02:00
Nicola Tarocco
ae52961361 Fix docker-compose and update README 2021-07-09 16:09:33 +02:00
Nicola Tarocco
93c581090b Fix QR code redirection for calculator-cern
* Adds the missing URL args to the Nginx configuration when redirecting
  from /calculator to /calculator-cern.
* closes #177
2021-07-09 16:08:25 +02:00
Nicola Tarocco
7ad06238dd calculator: make URL path customizable 2021-06-15 14:53:34 +02:00
Phil Elson
14ca6d3b38 Restore the disclaimer in the base, but extend it in the CERN theme. 2021-04-15 21:53:26 +02:00
Phil Elson
69de1e372c Make the expert-app trigger the same 404 as the webservice. 2021-03-26 21:32:36 +01:00
Phil Elson
989a7ddd6a Simplify the build since we only need one application image for both the caclulator and the expert app. 2021-03-26 08:50:51 +01:00
Nicola Tarocco
babde8b0bc Add OpenShift templates for new auth service 2021-03-03 19:37:18 +01:00
Nicola Tarocco
18af16f749 Merge branch 'feature/oidc-nginx' into 'master'
Implement authentication through nginx's ngx_http_auth_request_module module

See merge request cara/cara!139
2021-03-02 17:54:13 +00:00
Phil Elson
28f7b678d7 Address remaining review actions. 2021-03-02 18:43:01 +01:00
Phil Elson
8611cdef4d Improve the auth-service to encode the session information into a single secure cookie that cara can read. 2021-03-01 18:45:18 +01:00
Nicola Tarocco
175fc49338 Fixed to OpenShift templates 2021-03-01 16:15:47 +01:00
Phil Elson
85a378691e Implement OIDC through nginx's ngx_http_auth_request_module module. 2021-02-26 22:08:05 +01:00
Nicola Tarocco
80dedeeebb Add OpenShift templates 2021-02-01 18:53:43 +01:00
Nicola Tarocco
41376bbdd7 Auth: add user context 2020-12-15 16:49:17 +01:00
Phil Elson
0d33c3cd08 Ensure that the application static files are available in Voila. 2020-11-20 13:22:13 +01:00
Phil Elson
b998026607 Implement a real landing page. 2020-11-06 15:16:50 +01:00
Philip James Elson
584a944452 Merge branch 'fix/nginx-app' into 'master'
Avoid trying to optimise static serving of the calculator app

See merge request cara/cara!31
2020-11-05 23:01:59 +00:00
Phil Elson
0c4d47910c Avoid trying to optimise static serving of the calculator app, since the nginx configuration doesn't read symlinks anyway. 2020-11-05 23:57:18 +01:00
Phil Elson
41ce4112d1 Enable the cara-webservice in the Openshift deployment. 2020-11-05 23:01:26 +01:00
Phil Elson
8ddef2584b Fix the rewrite of the old URL, and allow the build to be triggered correctly by the CI. 2020-11-03 13:22:32 +01:00
Phil Elson
ffa2e53994 Prepare the repository for having a separate calculator app. 2020-11-03 12:42:14 +01:00
Phil Elson
d44ae5501f Put an nginx reverse-proxy in front of the voila server to give us more flexibility in how we present the endpoint. 2020-11-03 11:46:53 +01:00