|
5 | 5 |
|
6 | 6 | - name: Install packages with yarn |
7 | 7 | yarn: |
8 | | - executable: "{{ __galaxy_major_version is version('25.1', '>=') | ternary('corepack ', '') }}yarn --network-timeout 300000 --check-files" |
| 8 | + executable: "{{ __galaxy_major_version is version('25.1', '==') | ternary('corepack ', '') }}yarn --network-timeout 300000 --check-files" |
9 | 9 | path: "{{ galaxy_server_dir }}/client" |
10 | 10 | environment: |
11 | 11 | PATH: "{{ galaxy_venv_dir }}/bin:{{ ansible_env.PATH }}" |
|
31 | 31 | fail_msg: "Deconstructed client build is not supported for Galaxy version {{ __galaxy_major_version }}, please set 'galaxy_client_make_target'" |
32 | 32 |
|
33 | 33 | - name: Run gulp # noqa no-changed-when |
34 | | - command: "{{ __galaxy_major_version is version('25.1', '>=') | ternary('corepack yarn', 'yarn') }} run gulp {{ item }}" |
| 34 | + command: "{{ __galaxy_major_version is version('25.1', '==') | ternary('corepack yarn', 'yarn') }} run gulp {{ item }}" |
35 | 35 | args: |
36 | 36 | chdir: "{{ galaxy_server_dir }}/client" |
37 | 37 | with_items: "{{ galaxy_client_build_steps[__galaxy_major_version] | default(galaxy_client_build_steps.default) }}" |
|
54 | 54 | when: __galaxy_major_version is version('26.0', '>=') |
55 | 55 |
|
56 | 56 | - name: Run webpack # noqa no-changed-when |
57 | | - command: "{{ __galaxy_major_version is version('25.1', '>=') | ternary('corepack yarn', 'yarn') }} run webpack{{ (galaxy_client_node_env == 'production') | ternary('-production', '') }}" |
| 57 | + command: "{{ __galaxy_major_version is version('25.1', '==') | ternary('corepack yarn', 'yarn') }} run webpack{{ (galaxy_client_node_env == 'production') | ternary('-production', '') }}" |
58 | 58 | args: |
59 | 59 | chdir: "{{ galaxy_server_dir }}/client" |
60 | 60 | environment: |
|
77 | 77 | when: __galaxy_major_version is version('26.0', '>=') |
78 | 78 |
|
79 | 79 | - name: Stage built client |
80 | | - command: "{{ __galaxy_major_version is version('25.1', '>=') | ternary('corepack yarn', 'yarn') }} run stage-build" |
| 80 | + command: "{{ __galaxy_major_version is version('25.1', '==') | ternary('corepack yarn', 'yarn') }} run stage-build" |
81 | 81 | args: |
82 | 82 | chdir: "{{ galaxy_server_dir }}/client" |
83 | 83 | environment: |
|
0 commit comments