Skip to content

Commit

Permalink
Drone: Set $COVERITY_SCAN_NOTIFICATION_EMAIL and $COVERITY_SCAN_TOKEN…
Browse files Browse the repository at this point in the history
… defaults (#229)

Use a similar mechanism to codecov to set the token and EMail from secrets
  • Loading branch information
Flamefire authored Feb 6, 2024
1 parent 89a03b0 commit af627f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/drone/functions.star
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ def job_impl(
buildtype = 'boost'
elif buildtype == 'codecov':
env.setdefault('CODECOV_TOKEN', {'from_secret': 'codecov_token'})
elif buildtype == 'coverity':
env.setdefault('COVERITY_SCAN_NOTIFICATION_EMAIL', {'from_secret': 'coverity_scan_email'})
env.setdefault('COVERITY_SCAN_TOKEN', {'from_secret': 'coverity_scan_token'})

# Put common args of all *_cxx calls not modified below into kwargs to avoid duplicating them
kwargs['arch'] = arch
Expand Down

0 comments on commit af627f7

Please sign in to comment.