Skip to content
Snippets Groups Projects
Commit f222150c authored by François  LAURENT's avatar François LAURENT
Browse files

nyx.pasteur.cloud to external

parent 2e174a44
No related branches found
No related tags found
1 merge request!4update dev
Pipeline #148139 passed
...@@ -83,17 +83,18 @@ build dev on gitlab.pasteur.fr: ...@@ -83,17 +83,18 @@ build dev on gitlab.pasteur.fr:
deploy to pasteur.cloud: deploy to pasteur.cloud:
extends: .deploy-with-helm extends: .deploy-with-helm
variables: variables:
IMAGE_URL: "registry-gitlab.pasteur.fr/nyx/nyxui.jl/front" IMAGE_URL: "registry-gitlab.pasteur.fr/nyx/nyxui/front"
SERVICE_TARGET_PORT: "8080" SERVICE_TARGET_PORT: "8080"
IMAGE_SECRETS: "registry-gitlab" IMAGE_SECRETS: "registry-gitlab"
KUBE_NAMESPACE: "nyx-prod" KUBE_NAMESPACE: "nyx-prod"
PUBLIC_URL: "nyx.pasteur.cloud" PUBLIC_URL: "nyx.pasteur.cloud"
INGRESS_CLASS: "internal" INGRESS_CLASS: "external"
INGRESS_URL: "nyx.pasteur.cloud" INGRESS_URL: "nyx.pasteur.cloud"
SERVICE_PORT: "80" SERVICE_PORT: "80"
LIMITS_CPU: "2" LIMITS_CPU: "2"
LIMITS_MEMORY: "4Gi" LIMITS_MEMORY: "4Gi"
LIMITS_STORAGE: "1Gi" LIMITS_STORAGE: "1Gi"
IMAGE_POLICY: "Always"
environment: environment:
name: k8sprod-02/nyx-prod name: k8sprod-02/nyx-prod
url: https://nyx.pasteur.cloud url: https://nyx.pasteur.cloud
...@@ -104,7 +105,7 @@ deploy to pasteur.cloud: ...@@ -104,7 +105,7 @@ deploy to pasteur.cloud:
deploy to dev.pasteur.cloud: deploy to dev.pasteur.cloud:
extends: .deploy-with-helm extends: .deploy-with-helm
variables: variables:
IMAGE_URL: "registry-gitlab.pasteur.fr/nyx/nyxui.jl/front" IMAGE_URL: "registry-gitlab.pasteur.fr/nyx/nyxui/front"
SERVICE_TARGET_PORT: "8080" SERVICE_TARGET_PORT: "8080"
IMAGE_SECRETS: "registry-gitlab" IMAGE_SECRETS: "registry-gitlab"
KUBE_NAMESPACE: "nyx-dev" KUBE_NAMESPACE: "nyx-dev"
...@@ -115,10 +116,10 @@ deploy to dev.pasteur.cloud: ...@@ -115,10 +116,10 @@ deploy to dev.pasteur.cloud:
LIMITS_CPU: "2" LIMITS_CPU: "2"
LIMITS_MEMORY: "4Gi" LIMITS_MEMORY: "4Gi"
LIMITS_STORAGE: "1Gi" LIMITS_STORAGE: "1Gi"
IMAGE_POLICY: "Always"
environment: environment:
name: k8sdev-01/nyx-dev name: k8sdev-01/nyx-dev
url: https://nyx.dev.pasteur.cloud url: https://nyx.dev.pasteur.cloud
rules: rules:
- if: $CI_COMMIT_BRANCH == "dev" - if: $CI_COMMIT_BRANCH == "dev"
when: manual when: manual
...@@ -7,7 +7,7 @@ replicaCount: 1 ...@@ -7,7 +7,7 @@ replicaCount: 1
front: front:
image: image:
repository: registry-gitlab.pasteur.fr/nyx/nyxui.jl/front repository: registry-gitlab.pasteur.fr/nyx/nyxui.jl/front
pullPolicy: IfNotPresent pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "" tag: ""
service: service:
......
...@@ -7,7 +7,7 @@ replicaCount: 1 ...@@ -7,7 +7,7 @@ replicaCount: 1
front: front:
image: image:
repository: {{ requiredEnv "IMAGE_URL" }} repository: {{ requiredEnv "IMAGE_URL" }}
pullPolicy: IfNotPresent pullPolicy: {{ requiredEnv "IMAGE_POLICY" }}
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "" tag: ""
service: service:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment