Skip to content

Commit e07b036

Browse files
authored
Merge pull request galaxyproject#199 from galaxyproject/force-client-build
Support forcing client builds even when the commit ID has not changed
2 parents 06cbe3f + ff3ed7c commit e07b036

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,9 @@ galaxy_uwsgi_config_default:
429429
# build separately, but this is not guaranteed to work for all version of Galaxy - using `make` is the safer choice.
430430
galaxy_client_make_target: client-production-maps
431431

432+
# Build the client even if it is not out of date
433+
galaxy_client_force_build: false
434+
432435
# If galaxy_client_make_target is null, you can set this to `development` to build the client for development
433436
galaxy_client_node_env: production
434437
galaxy_client_build_steps:

tasks/client.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131
- name: Set client build version fact
3232
set_fact:
33-
__galaxy_client_build_version: "{{ __galaxy_client_build_version_result.content | b64decode | trim }}"
33+
__galaxy_client_build_version: "{{ galaxy_client_force_build | ternary('FORCE-BUILD', __galaxy_client_build_version_result.content | b64decode | trim) }}"
3434

35-
- name: Set client build version fact
35+
- name: Set galaxy commit ID fact
3636
set_fact:
3737
__galaxy_current_commit_id: "{{ __galaxy_git_stat_result.after if __galaxy_from_git.stat.exists else 'none' }}"
3838
when: __galaxy_from_git.stat.exists

0 commit comments

Comments
 (0)