Commit 0b121312 authored by Rune Myrhaug's avatar Rune Myrhaug
Browse files

registry.uninett.no/asm/kubernetes-deploy:v0.13

parent fd22b40c
Pipeline #7174 failed with stages
in 11 minutes and 26 seconds
image: registry.uninett.no/system/kubernetes-deploy:v0.4
variables:
KUBE_PROD_DOMAIN: edulab.uninett.no # The main domain for your application.
KUBE_TEST_DOMAIN: edulab-beta.paas2.uninett.no # A domain which test versions of your application can be launched under.
HTTP_PORT: '80' # The port number of the web server.
REPLICAS: '1'
stages:
- build
# - test
- staging
- production
build:
stage: build
script:
- build
only:
- branches
production:
stage: production
script:
- deploy etc/kubernetes/deployment.yaml
environment:
name: production
url: https://$KUBE_PROD_DOMAIN
variables:
URL: https://$KUBE_PROD_DOMAIN
when: manual
only:
- master
staging:
stage: staging
script:
- deploy etc/kubernetes/deployment.yaml
environment:
name: staging
url: https://$KUBE_TEST_DOMAIN
variables:
URL: https://$KUBE_TEST_DOMAIN
only:
- master
image: registry.uninett.no/asm/kubernetes-deploy:v0.13
variables:
KUBE_PROD_DOMAIN: edulab.uninett.no # The main domain for your application.
KUBE_TEST_DOMAIN: edulab-beta.paas2.uninett.no # A domain which test versions of your application can be launched under.
HTTP_PORT: '80' # The port number of the web server.
REPLICAS: '1'
stages:
- build
# - test
- staging
- production
build:
stage: build
script:
- build
only:
- branches
production:
stage: production
script:
- deploy etc/kubernetes/deployment.yaml
environment:
name: production
url: https://$KUBE_PROD_DOMAIN
variables:
URL: https://$KUBE_PROD_DOMAIN
when: manual
only:
- master
staging:
stage: staging
script:
- deploy etc/kubernetes/deployment.yaml
environment:
name: staging
url: https://$KUBE_TEST_DOMAIN
variables:
URL: https://$KUBE_TEST_DOMAIN
only:
- master
Supports Markdown
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