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 +4 -4
- data/lib/config/conf.yaml.example +8 -3
- data/lib/tasks/ci/common.rb +2 -1
- data/lib/tasks/sdk.rake +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6380de3cb3b428ea882d15bcd718fc2961eb2725
|
4
|
+
data.tar.gz: 7cce0ae89c7a1f548b50e0d026025b2c41565000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
5
|
-
|
6
|
-
|
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']
|
data/lib/tasks/ci/common.rb
CHANGED
@@ -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
|
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.
|
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-
|
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
|