forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Rally's artifact cache (elastic#252)
With this commit we remove all logic in night-rally that attempts to determine whether it needs to rebuild an artifact and instead relies on Rally's artifact cache introduces in elastic/rally#992. We also add a new fixture that wipes the cached artifacts before every nightly run in order to keep the cache small. Relates elastic/rally#992
- Loading branch information
1 parent
1d3312e
commit 2f63f84
Showing
5 changed files
with
29 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
night_rally/fixtures/ansible/playbooks/evict-artifact-cache.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
- name: remove cached artifacts | ||
# ============================================ | ||
hosts: target_hosts | ||
gather_facts: true | ||
become: true | ||
become_user: jenkins | ||
|
||
vars: | ||
distributions_dir: '{{ ansible_env.HOME }}/.rally/benchmarks/distributions/' | ||
|
||
tasks: | ||
- name: delete distributions directory | ||
file: | ||
path: '{{ distributions_dir }}' | ||
state: absent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters