nimbus-builds: add release build for eth2.prod fleet

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-12-11 18:41:24 +01:00
parent 6ecba424d1
commit 8dc1db8f0b
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 12 additions and 6 deletions

View File

@ -9,10 +9,14 @@ beacon_node_web3_url: 'wss://goerli.infura.io/ws/v3/675db4626923473591cf6418e4da
# The -large suffix is because of native compilation.
beacon_node_builds_branches:
- name: 'devel-large'
branch: 'devel'
version: 'devel'
targets: ['nimbus_beacon_node', 'nimbus_signing_process']
frequency: '*-*-* 10:00:00'
- name: 'master-large'
branch: 'master'
version: 'master'
targets: ['nimbus_beacon_node', 'nimbus_signing_process']
frequency: '*-*-* 02:00:00'
- name: 'deploy-eth2-prod'
version: 'v1.0.3'
targets: ['nimbus_beacon_node', 'nimbus_signing_process']
enabled: false

View File

@ -12,6 +12,7 @@ beacon_node_build_timer_timeout: 3600
beacon_node_builds_branches: []
# - name: 'devel'
# branch: 'devel'
# version: 'devel'
# targets: ['nimbus_beacon_node', 'nimbus_signing_process']
# frequency: '*-*-* 10:00:00'
# enabled: false

View File

@ -7,10 +7,10 @@
mode: 0755
state: 'directory'
- name: '{{ item.name }} - Clone branch'
- name: '{{ item.name }} - Clone repo version'
git:
repo: 'https://github.com/status-im/nimbus-eth2'
version: '{{ item.branch }}'
version: '{{ item.version }}'
dest: '{{ beacon_node_builds_path }}/{{ item.name }}/repo'
update: true
force: true
@ -48,7 +48,8 @@
systemd_timer_description: 'Docker image build for Nimbus beacon node'
systemd_timer_requires_extra: 'docker.service'
systemd_timer_start_on_creation: false
systemd_timer_frequency: '{{ item.frequency }}'
systemd_timer_enabled: '{{ item.enabled | default(true) }}'
systemd_timer_frequency: '{{ item.frequency | default("daily") }}'
systemd_timer_timeout_sec: '{{ beacon_node_build_timer_timeout }}'
systemd_timer_work_dir: '{{ beacon_node_builds_path }}/{{ item.name }}'
systemd_timer_script_path: '{{ beacon_node_builds_path }}/{{ item.name }}/build.sh'