From 94312d6569c8844018f54933e1fdb933b1e9d7a7 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Fri, 9 Sep 2022 16:27:35 +0200 Subject: [PATCH] updated image class names --- .gitlab-ci.yml | 14 ++++++++++++++ .../apps/templates/base/calculator.form.html.j2 | 2 +- .../apps/templates/base/calculator.report.html.j2 | 2 +- caimira/apps/templates/base/index.html.j2 | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f45e3f43..060da44e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,6 +83,14 @@ check_openshift_config_prod: OC_SERVER: https://api.paas.okd.cern.ch OC_TOKEN: "${OPENSHIFT_CAIMIRA_PROD_CONFIG_CHECKER_TOKEN}" + +oci_calculator: + extends: .image_builder + variables: + IMAGE_NAME: calculator + DOCKERFILE_DIRECTORY: app-config/cara-public-docker-image + DOCKER_CONTEXT_DIRECTORY: "" + # ################################################################################################### # Build docker images @@ -157,6 +165,12 @@ link_caimira-webservice_with_gitlab_registry: variables: IMAGE_NAME: caimira-webservice +link_calculator_with_gitlab_registry: + extends: + - .link_docker_images_with_gitlab_registry + variables: + IMAGE_NAME: calculator + # ################################################################################################### # Trigger build of CAiMIRA router on OpenShift diff --git a/caimira/apps/templates/base/calculator.form.html.j2 b/caimira/apps/templates/base/calculator.form.html.j2 index c73330ab..71e5a6d9 100644 --- a/caimira/apps/templates/base/calculator.form.html.j2 +++ b/caimira/apps/templates/base/calculator.form.html.j2 @@ -24,7 +24,7 @@

Calculator

- +
diff --git a/caimira/apps/templates/base/calculator.report.html.j2 b/caimira/apps/templates/base/calculator.report.html.j2 index ab74a04c..17d219ca 100644 --- a/caimira/apps/templates/base/calculator.report.html.j2 +++ b/caimira/apps/templates/base/calculator.report.html.j2 @@ -25,7 +25,7 @@ {% block report_header %}
- +

REPORT - {{ form.simulation_name }}

Created {{ creation_date }} using CAiMIRA calculator version v{{ form.calculator_version }}

diff --git a/caimira/apps/templates/base/index.html.j2 b/caimira/apps/templates/base/index.html.j2 index 86c1f46b..68727548 100644 --- a/caimira/apps/templates/base/index.html.j2 +++ b/caimira/apps/templates/base/index.html.j2 @@ -30,7 +30,7 @@
- +