forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskeleton.rb
32 lines (24 loc) · 815 Bytes
/
skeleton.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
require './ci/common'
namespace :ci do
namespace :my_new_flavor do |flavor|
task before_install: ['ci:common:before_install']
task install: ['ci:common:install']
task before_script: ['ci:common:before_script']
# If you need to wait on a start of a progran, please use Wait.for,
# see https://github.com/DataDog/dd-agent/pull/1547
task script: ['ci:common:script'] do
this_provides = [
'my_new_flavor'
]
Rake::Task['ci:common:run_tests'].invoke(this_provides)
end
task before_cache: ['ci:common:before_cache']
task cleanup: ['ci:common:cleanup']
task :execute do
Rake::Task['ci:common:execute'].invoke(flavor)
end
end
end