beacon-node-builds: fix nightly tag clobbering issue

Using single_branch:true avoids cloning other tags/branches.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-07-14 16:19:52 +02:00
parent eb1fea5716
commit 4fc3ac2689
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,10 @@
version: '{{ item.version }}'
dest: '{{ beacon_node_builds_path }}/{{ item.name }}/repo'
force: true
# Normally we don't update or timer might miss some changes.
update: '{{ item.get("update", false) }}'
update: true
# Fix for issues with clobbering of nightly tag
# WARNING: Requires Ansible 2.11 or newer.
single_branch: true
become_user: '{{ beacon_node_builds_user }}'
- name: '{{ item.name }} - Create script'