Demo entry 6347346

CI

   

Submitted by anonymous on Feb 14, 2017 at 07:20
Language: YAML. Code size: 647 Bytes.

before_script:
  - docker info
stages:
  - build
  - test
  - deploy
build:
  stage: build
  script: 
    - docker-compose build
    - docker-compose -f docker-compose-ci.yml up -d
test:
  stage: test
  script:
    - docker exec -i assetplatform_web_1 bash -c 'python manage.py makemigrations'
    - docker exec -i assetplatform_web_1 bash -c 'python manage.py test asset_api'
deploy:
  stage: deploy
  script:
    - cd /home/builds/1b1a3f17/0/zhangwy/asset_platform/backend_test_code/
    - python remove_init.py
    - fab go_test -H 192.168.2.213 -i ~/.ssh/test_env
    - fab go_pro_test -H 192.168.2.214 -i ~/.ssh/pro_test

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).