datadog-sdk-testing 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35884f0cdb990ba4887fc07a279d45228ae91bd9
4
- data.tar.gz: 52e671f3f5d435cea6f3ac22b1107457812c178c
3
+ metadata.gz: 6380de3cb3b428ea882d15bcd718fc2961eb2725
4
+ data.tar.gz: 7cce0ae89c7a1f548b50e0d026025b2c41565000
5
5
  SHA512:
6
- metadata.gz: 7c64ed55f6ae4d3f4cf891784e72f49e5bc6df161569ba37a387fbcfc24edbcb2984697e851a0ee72024155e0695b4125234b3dc732a3bdf884f6f90401d2c96
7
- data.tar.gz: a81b3a9b9f631c81201d0bc382363ca36cd92bbd38d700eff38224a7fc253e54f48f56b817d26f0b67259695d350d950524428ad1965e12dd69a02bd8809e29f
6
+ metadata.gz: 1ed49b6cd0016bedbf95b57c31f855bc6246fc0be7f8b00b3df418cbe7241d136a9943909d26201d0d93cd0fb28569e7d3de556ba8084081846d1a975d39aae8
7
+ data.tar.gz: 0ba4e311804e7050bf4f9de75c4cd5148fa438c472a29670312cc59c2cefdb663c8689271e8f9fbac108dd9fa10181a3f2f3cf3928a757f3671116ec365eed65
@@ -1,6 +1,11 @@
1
1
  init_config:
2
+ # Any global configurable parameters should be added here
2
3
 
3
4
  instances:
4
- - host: localhost
5
- port: 26379
6
- tags: ['custom:tag']
5
+ # A typical instance configuration might include a hostname and port
6
+ # a set of customizable tags and other parameters we might need to
7
+ # configure the behavior of our check.
8
+ #
9
+ # - host: localhost
10
+ # port: 26379
11
+ # tags: ['custom:tag']
@@ -138,12 +138,13 @@ end
138
138
 
139
139
  def generate_skeleton(integration)
140
140
  copy_skeleton('lib/config/ci/skeleton.rake', "ci/#{integration}.rake", integration)
141
- copy_skeleton('lib/config/manifest.json', 'manifest,json', integration)
141
+ copy_skeleton('lib/config/manifest.json', 'manifest.json', integration)
142
142
  copy_skeleton('lib/config/check.py', 'check.py', integration)
143
143
  copy_skeleton('lib/config/test_skeleton.py', "test_#{integration}.py", integration)
144
144
  copy_skeleton('lib/config/metadata.csv', 'metadata.csv', integration)
145
145
  copy_skeleton('lib/config/requirements.txt', 'requirements.txt', integration)
146
146
  copy_skeleton('lib/config/README.md', 'README.md', integration)
147
+ copy_skeleton('lib/config/conf.yaml.example', 'conf.yaml.example', integration)
147
148
  end
148
149
 
149
150
  def create_skeleton(integration)
data/lib/tasks/sdk.rake CHANGED
@@ -29,7 +29,7 @@ task 'setup_env' do
29
29
  `venv/bin/pip install -r #{ENV['SDK_HOME']}/requirements-test.txt` if File.exist?('requirements-test.txt')
30
30
  # These deps are not really needed, so we ignore failures
31
31
  ENV['PIP_COMMAND'] = "#{ENV['SDK_HOME']}/venv/bin/pip"
32
- `git clone https://github.com/DataDog/dd-agent.git #{ENV['SDK_HOME']}/embedded/dd-agent`
32
+ `git clone --depth 1 https://github.com/DataDog/dd-agent.git #{ENV['SDK_HOME']}/embedded/dd-agent`
33
33
  # install agent core dependencies
34
34
  `#{ENV['SDK_HOME']}/venv/bin/pip install -r #{ENV['SDK_HOME']}/embedded/dd-agent/requirements.txt`
35
35
  `echo "#{ENV['SDK_HOME']}/embedded/dd-agent/" > #{ENV['SDK_HOME']}/venv/lib/python2.7/site-packages/datadog-agent.pth`
@@ -60,7 +60,7 @@ end
60
60
  desc 'Pull latest agent code'
61
61
  task 'pull_latest_agent' do
62
62
  check_env
63
- `cd #{ENV['SDK_HOME']}/embedded/dd-agent && git fetch -p && git pull && cd -`
63
+ `cd #{ENV['SDK_HOME']}/embedded/dd-agent && git fetch -p && git pull --depth 1 && cd -`
64
64
  end
65
65
 
66
66
  namespace :test do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-sdk-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Fullaondo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-22 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Datadog Integration SDK testing/scaffolding gem
14
14
  email: jaime.fullaondo@datadoghq.com