Commit ed90fa07 authored by Yannick Buron's avatar Yannick Buron

fzef

Signed-off-by: Yannick Buron's avatarYannick Buron <[email protected]>
parent a382c0df
Pipeline #96800866 passed with stage
in 4 minutes and 28 seconds
......@@ -8,29 +8,29 @@ stages:
- test
- deploy
build-golang:
stage: build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- printenv
- docker pull $CI_REGISTRY_IMAGE/customer:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE/go-factory:latest --tag $CI_REGISTRY_IMAGE/go-factory/$CI_COMMIT_REF_SLUG:latest -f go-factory.Dockerfile .
- docker push $CI_REGISTRY_IMAGE/go-factory/$CI_COMMIT_REF_SLUG:latest
build-admin:
stage: build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- printenv
- docker pull $CI_REGISTRY_IMAGE/admin:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE/admin:latest --tag $CI_REGISTRY_IMAGE/admin/$CI_COMMIT_REF_SLUG:latest ./admin
- docker push $CI_REGISTRY_IMAGE/admin/$CI_COMMIT_REF_SLUG:latest
variables:
REACT_APP_GATEWAY_SERVICE_URL: https://api.$KUBE_INGRESS_BASE_DOMAIN/graphql
REACT_APP_HYDRA_CLUSTER_URL: https://hydra.$KUBE_INGRESS_BASE_DOMAIN
REACT_APP_DISABLE_AUTH: "False"
# build-golang:
# stage: build
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - printenv
# - docker pull $CI_REGISTRY_IMAGE/customer:latest || true
# - docker build --cache-from $CI_REGISTRY_IMAGE/go-factory:latest --tag $CI_REGISTRY_IMAGE/go-factory/$CI_COMMIT_REF_SLUG:latest -f go-factory.Dockerfile .
# - docker push $CI_REGISTRY_IMAGE/go-factory/$CI_COMMIT_REF_SLUG:latest
# build-admin:
# stage: build
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - printenv
# - docker pull $CI_REGISTRY_IMAGE/admin:latest || true
# - docker build --cache-from $CI_REGISTRY_IMAGE/admin:latest --tag $CI_REGISTRY_IMAGE/admin/$CI_COMMIT_REF_SLUG:latest ./admin
# - docker push $CI_REGISTRY_IMAGE/admin/$CI_COMMIT_REF_SLUG:latest
# variables:
# REACT_APP_GATEWAY_SERVICE_URL: https://api.$KUBE_INGRESS_BASE_DOMAIN/graphql
# REACT_APP_HYDRA_CLUSTER_URL: https://hydra.$KUBE_INGRESS_BASE_DOMAIN
# REACT_APP_DISABLE_AUTH: "False"
......
......@@ -13,7 +13,7 @@ spec:
spec:
initContainers:
- name: login-automigrate
image: registry.gitlab.com/empowerlab/stack/login/finalci:latest
image: registry.gitlab.com/empowerlab/stack/login/master:latest
imagePullPolicy: Always
command: ["sh"]
args: ["-c", "cd /go/src/gitlab.com/empowerlab/stack/login && login migrate"]
......@@ -42,7 +42,7 @@ spec:
value: "http://login.$KUBE_INGRESS_BASE_DOMAIN"
containers:
- name: login
image: registry.gitlab.com/empowerlab/stack/login/finalci:latest
image: registry.gitlab.com/empowerlab/stack/login/master:latest
imagePullPolicy: Always
env:
- name: DATABASE_URL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment