Skip to content

Commit

Permalink
change param name
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed Jun 27, 2021
1 parent 1b48ed0 commit 733f611
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines/templates/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ parameters:
type: number
default: 0

- name: skipInstall
- name: tardisEnv
type: boolean
default: false
default: true

steps:
- bash: echo "##vso[task.setvariable variable=shellopts]errexit"
Expand Down Expand Up @@ -71,13 +71,13 @@ steps:
- bash: conda install mamba -c conda-forge -y
displayName: 'Install Mamba'

- ${{ if eq(parameters.skipInstall, false) }}:
- ${{ if eq(parameters.tardisEnv, true) }}:
- bash: |
cd $(tardis.dir)
$(package.manager) env create -f tardis_env3.yml
displayName: 'Setup environment'
- ${{ if eq(parameters.skipInstall, false) }}:
- ${{ if eq(parameters.tardisEnv, true) }}:
- bash: |
cd $(tardis.dir)
source activate tardis
Expand Down
1 change: 0 additions & 1 deletion azure-pipelines/update-refdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
parameters:
fetchRefdata: false # We don't want to fetch from the mirror
useMamba: true
skipInstall: false

- bash: git clone https://github.com/tardis-sn/tardis-refdata $(refdata.dir)
displayName: 'Fetch reference data repository'
Expand Down
2 changes: 1 addition & 1 deletion docs/development/continuous_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ to start a new pipeline use::
default is ``false``.
- ``useMamba`` (*bool*): use the ``mamba`` package manager instead of ``conda``,
default is ``false``.
- ``skipInstall`` (*bool*): does not create the TARDIS environment, default is ``false``.
- ``tardisEnv`` (*bool*): setup the TARDIS environment, default is ``true``.

**List of predefined custom variables:**

Expand Down

0 comments on commit 733f611

Please sign in to comment.