Skip to content

Commit

Permalink
Create test binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Sep 11, 2023
1 parent b66f2c0 commit 9bb2864
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .dx/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,20 @@
strip_empty_ends: false
changed_when: true
when: image_status is changed

- name: Binaries
hosts: test
run_once: true
tasks:
- name: Create binaries
ansible.builtin.command:
cmd: >
mvn
--no-snapshot-updates
--batch-mode
clean
compile
chdir: "{{ playbook_dir }}/../tests"
strip_empty_ends: false
changed_when: false
when: hostvars.lib.binary_status|default({}) is changed
3 changes: 0 additions & 3 deletions .dx/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
--no-snapshot-updates
--batch-mode
spotless:check
--define lib.version={{ lib_version }}
chdir: "{{ playbook_dir }}/../apps"
strip_empty_ends: false
changed_when: false
Expand All @@ -42,8 +41,6 @@
--no-snapshot-updates
--batch-mode
spotless:check
compile
--define lib.version={{ lib_version }}
chdir: "{{ playbook_dir }}/../tests"
strip_empty_ends: false
changed_when: false
Expand Down

0 comments on commit 9bb2864

Please sign in to comment.