image: registry.git.feneas.org/feneas/federation/testsuite:latest stages: - build - test - deploy .job_template: &job_definition stage: test artifacts: reports: junit: report.xml paths: - report.* script: - bash scripts/test.sh .job_template: &no_pipeline except: variables: - $CI_PIPELINE_TRIGGERED build docker images: stage: build script: - bash scripts/build_docker_image.sh only: - tags single project: <<: *job_definition only: refs: - master variables: - $CI_PIPELINE_TRIGGERED test diaspora: <<: *job_definition <<: *no_pipeline variables: PROJECT: diaspora test ganggo: <<: *job_definition <<: *no_pipeline variables: PROJECT: ganggo test socialhome: <<: *job_definition <<: *no_pipeline variables: PROJECT: socialhome test testproject: <<: *job_definition <<: *no_pipeline variables: PROJECT: testproject pages: <<: *no_pipeline image: ruby:2.3 stage: deploy variables: JEKYLL_ENV: production LC_ALL: C.UTF-8 before_script: - cd docs - bundle install script: - bundle exec jekyll build -d ../public artifacts: paths: - public only: - master