Commit fafcc821 authored by Luzian Bieri's avatar Luzian Bieri
Browse files

added CI

parent 90338546
Pipeline #68695 failed with stages
in 5 minutes and 54 seconds
stages:
- build
- deploy
build_master:
stage: build
image: docker:stable
variables:
GIT_SUBMODULE_STRATEGY: normal
DOCKER_DRIVER: overlay2
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --cache-from "$CI_REGISTRY_IMAGE:latest" --pull -t "$CI_REGISTRY_IMAGE:latest" ./
- docker push "$CI_REGISTRY_IMAGE:latest"
only:
- master
environment:
name: production
url: https://crm-dev.amiv.ethz.ch
deploy_cluster:
stage: deploy
image: amiveth/service-update-helper
script:
- /update.py
only:
- master
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