Newer
Older
default:
image: registry.ubicast.net/mediaserver/envsetup
- docker
- test-pf-std
- test-pf-ha
- test-pgsql
- make lint
# * * * * * * * * * * * * *
# Docker envsetup image build job
docker:image:
image: docker:stable
stage: docker
rules:
# Build docker image for schedule pipelines only
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.ubicast.net
script:
- make docker-build
- make docker-push
.test-template:
retry: 2
timeout: 4h
- if: '$CI_PIPELINE_SOURCE == "schedule" && $PF_DEPLOY_TEST == "True"'
when: always
test:pf-std:
extends: .test-template
stage: test-pf-std
- echo $CI_PIPELINE_SOURCE
- make test pf-std=1
test:pf-ha:
extends: .test-template
stage: test-pf-ha
test:pgsql-ha:
extends: .test-template
stage: test-pgsql