trigger build from API

This commit is contained in:
Eugenio Romano
2019-10-07 16:23:31 +01:00
parent 06c351cd7b
commit 6b57f21067

View File

@@ -24,17 +24,17 @@ branches:
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR # TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages: stages:
- name: Lint & Build Dist - name: Lint & Build Dist
if: type = pull_request if: type = pull_request OR type = api
- name: Lint & Build Dist & Release - name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank if: (type = push OR type = cron) AND tag IS blank
- name: Check bundle - name: Check bundle
if: type = push AND tag IS blank if: type = push AND tag IS blank
- name: Unit test - name: Unit test
if: type != cron AND tag IS blank if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher - name: Update Rancher
if: type = push AND tag IS blank if: (type = push AND tag IS blank) OR type = api
- name: e2e Test - name: e2e Test
if: type != cron AND tag IS blank if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher PR - name: Update Rancher PR
if: type = pull_request if: type = pull_request
- name: Update Children Projects - name: Update Children Projects