Skip to content

Nightly build (schedule) #250

Nightly build (schedule)

Nightly build (schedule) #250

Workflow file for this run

name: Nightly build
run-name: |
${{ github.event_name == 'workflow_dispatch'
&& format(
'Nightly build (manual) use_network_cache:{0} clean_ya_dir:{1} upload_ya_dir:{2}, disk_type:{3}, build_target:{4} test_target:{5}',
inputs.use_network_cache, inputs.clean_ya_dir, inputs.upload_ya_dir, inputs.disk_type, inputs.build_target, inputs.test_target
)
|| format('Nightly build (schedule)')
}}
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
clean_ya_dir:
description: 'Clean ya dir'
type: choice
required: false
default: 'no'
options:
- 'yes'
- 'no'
upload_ya_dir:
description: 'Upload ya dir'
type: choice
required: false
default: 'no'
options:
- 'yes'
- 'no'
use_network_cache:
description: 'Use network cache'
type: choice
required: false
default: 'yes'
options:
- 'yes'
- 'no'
disk_type:
description: 'Disk type'
type: choice
required: false
default: 'network-ssd-nonreplicated'
options:
- 'network-ssd'
- 'network-ssd-nonreplicated'
build_target:
description: 'Build target'
type: string
required: false
#default: 'cloud/tasks/'
default: 'cloud/blockstore/apps/,cloud/filestore/apps/,cloud/disk_manager/,cloud/tasks/'
test_target:
description: 'Test target'
type: string
required: false
#default: 'cloud/tasks/'
default: 'cloud/blockstore/,cloud/filestore/,cloud/disk_manager/,cloud/tasks/'
jobs:
build_dispatch:
name: Build/test x86_64 using YA (relwithdebinfo) (dispatch)
if: github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/build_and_test_on_demand.yaml
secrets: inherit
with:
build_target: ${{ inputs.build_target }}
test_target: ${{ inputs.test_target }}
build_preset: relwithdebinfo
cache_update_build: true
cache_update_tests: false
sleep_after_tests: 1
test_threads: 32
disk_type: ${{ inputs.disk_type }}
use_network_cache: ${{ inputs.use_network_cache }}
upload_ya_dir: ${{ inputs.upload_ya_dir }}
clean_ya_dir: ${{ inputs.clean_ya_dir }}
build_schedule:
name: Build/test x86_64 using YA (relwithdebinfo) (schedule)
if: github.event_name == 'schedule'
uses: ./.github/workflows/build_and_test_on_demand.yaml
secrets: inherit
with:
build_target: 'cloud/blockstore/apps/,cloud/filestore/apps/,cloud/disk_manager/,cloud/tasks/'
test_target: 'cloud/blockstore/,cloud/filestore/,cloud/disk_manager/,cloud/tasks/'
build_preset: relwithdebinfo
cache_update_build: true
cache_update_tests: false
sleep_after_tests: 1
test_threads: 32
disk_type: 'network-ssd-nonreplicated'
use_network_cache: "yes"
upload_ya_dir: "yes"
clean_ya_dir: "yes"