1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-09-21 06:01:43 +00:00
senpy/.gitlab-ci.yml
J. Fernando Sánchez 54da48b548 Add CI/CD and k8s
2018-06-15 09:46:15 +02:00

51 lines
692 B
YAML

# Uncomment if you want to use docker-in-docker
# image: gsiupm/dockermake:latest
# services:
# - docker:dind
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
stages:
- test
- build
- push
- deploy
before_script:
- make -e login
test:
stage: test
script:
- make -e test
build:
stage: build
script:
- make -e docker-build
only:
- master
- fix-makefiles
push:
stage: push
script:
- make -e docker-push
only:
- master
- fix-makefiles
deploy:
stage: deploy
script:
- make -e deploy
only:
- master
- fix-makefiles
clean :
stage: clean
script:
- make -e clean
when: manual