aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-06-30 14:41:02 -0700
committerGravatar MarkKoz <[email protected]>2019-06-30 15:24:27 -0700
commitacd4cb74bd13ebf74ef404b8f1daf9e33cb9a789 (patch)
treedcce7cb330584e1d43a63f07c0d6c4279f5607a4
parentCI: refactor script & pull base when possible (diff)
CI: build the base image if the venv needs to be build
Fix #25
-rw-r--r--azure-pipelines.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 7467f3b..2c92594 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -110,7 +110,10 @@ jobs:
and(
succeeded(),
ne(variables.BASE_PULL, True),
- eq(variables.BASE_CHANGED, True)
+ or(
+ eq(variables.BASE_CHANGED, True),
+ eq(variables.VENV_CHANGED, True)
+ )
)
inputs:
command: build
@@ -150,7 +153,10 @@ jobs:
succeeded(),
ne(variables['Build.Reason'], 'PullRequest'),
ne(variables.BASE_PULL, True),
- eq(variables.BASE_CHANGED, True)
+ or(
+ eq(variables.BASE_CHANGED, True),
+ eq(variables.VENV_CHANGED, True)
+ )
)
inputs:
command: push