Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.04 KiB
Newer Older
stages:
  - test
Christoph Alt's avatar
Christoph Alt committed
  - deploy

test:
   stage: test
   tags:
      - docker
   image: python:3.8
   script:
      - pip install tox
      - tox -e py38
Christoph Alt's avatar
Christoph Alt committed
   artifacts:
     reports:
       coverage_report:
         coverage_format: cobertura
         path: coverage.xml
       junit:
         - report.xml
deploy_walberla_dashboards:
Christoph Alt's avatar
Christoph Alt committed
  stage: deploy
  tags:
    - docker
  image: python:3.8
  script:
    - pip install tox
    - tox -e deploywalberla
Christoph Alt's avatar
Christoph Alt committed
  when: manual
deploy_fe2ti_dashboards:
  stage: deploy
  tags:
    - docker
  image: python:3.8
  script:
    - pip install tox
    - tox -e deployfe2ti
trigger_cb_pipeline:
  stage: trigger
Christoph Alt's avatar
Christoph Alt committed
  image: curlimages/curl
  tags:
    - docker
    - curl
      --fail
      --request POST
      --form token=$CB_TRIGGER_TOKEN
      --form ref=master
      --form "variables[WALBERLA_GITLAB_INSTANCE]=https://$CI_SERVER_HOST"
      --form "variables[WALBERLA_PROJECT_ID]=walberla/walberla"
Christoph Alt's avatar
Christoph Alt committed
      --form "variables[WALBERLA_BRANCH]=master"
      "$CB_TRIGGER_API_URL"
  when: manual