Skip to content

Commit

Permalink
Run nightly_linux_debug on 2xlarge instances. (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich authored Jun 2, 2023
1 parent 8c5e5ed commit 305fbd2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions create_jenkins_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,18 @@ def create_job(os_name, job_name, template_file, additional_dict):

# configure nightly triggered job
job_name = 'nightly_' + job_os_name + '_debug'
if os_name == 'windows':
job_name = job_name[:15]
create_job(os_name, job_name, 'ci_job.xml.em', {
debug_config = {
'cmake_build_type': 'Debug',
'time_trigger_spec': PERIODIC_JOB_SPEC,
'mailer_recipients': DEFAULT_MAIL_RECIPIENTS,
})
}
if os_name == 'windows':
job_name = job_name[:15]
if os_name == 'linux':
# Temporarily pin the debug jobs to larger instances.
# https://github.com/ros2/ci/issues/702
debug_config['label_expression'] = 'linux && 2xlarge'
create_job(os_name, job_name, 'ci_job.xml.em', debug_config)

# configure nightly job for testing with address sanitizer on linux
if os_name == 'linux':
Expand Down

0 comments on commit 305fbd2

Please sign in to comment.