Skip to content

Commit

Permalink
Bump minimum package (DataDog#8443)
Browse files Browse the repository at this point in the history
* Bump minimun base package required by integrations

Co-authored-by: Florimond Manca <[email protected]>
  • Loading branch information
hithwen and Florimond Manca authored Feb 1, 2021
1 parent 2e412ac commit edcf124
Show file tree
Hide file tree
Showing 135 changed files with 149 additions and 132 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/nightly_latest_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
parameters:
run_py2_tests: false # Handled via separate nightly
force_base_package: true
test_e2e: false # e2e tests run in a docker image so the base package wont be forced
pip_cache_config:
key: 'pip | $(Agent.OS) | datadog_checks_base/datadog_checks/base/data/agent_requirements.in'
restoreKeys: |
Expand Down
15 changes: 14 additions & 1 deletion .azure-pipelines/templates/checkout-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ steps:

# Azure checks out the code from the PR but leaves us in a detached state.
# Because ddev cannot work in that state, we create a branch.
# Only applies to PRs
# Only applies to PRs and manual runs
- script: git checkout -B azure/$(System.PullRequest.SourceBranch)
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: 'Create branch from PR'

# Azure checks out the code from the PR but leaves us in a detached state.
# Because ddev cannot work in that state, we create a branch.
# Only applies to PRs and manual runs
- script: git checkout -B azure/$(Build.SourceBranch)
condition: eq(variables['Build.Reason'], 'Manual')
displayName: 'Create branch from branch (manual build)'

# Azure pulls a commit hash via git fetch rather than clone so
# we checkout the branches we need which also gets us out of a
# detached HEAD state. This may be fixed soon, see:
Expand All @@ -25,3 +32,9 @@ steps:
- script: git checkout azure/$(System.PullRequest.SourceBranch)
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: 'Checkout branch'

# Switch to the branch where the manual run is triggered. Also see:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables#system-variables
- script: git checkout azure/$(Build.SourceBranch)
condition: eq(variables['Build.Reason'], 'Manual')
displayName: 'Checkout branch (manual build)'
2 changes: 1 addition & 1 deletion .azure-pipelines/templates/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
force_base_package: false

steps:
- ${{ if and(eq(parameters.test, 'true'), eq(parameters.coverage, 'true')) }}:
- ${{ if and(eq(parameters.test, 'true'), eq(parameters.coverage, 'true'), eq(parameters.force_base_package, 'false')) }}:
- script: ddev test --cov --junit ${{ parameters.check }}
displayName: 'Run Unit/Integration tests'
env:
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/templates/test-all-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
pip_cache_config: ${{ parameters.pip_cache_config }}
run_py2_tests: ${{ parameters.run_py2_tests }}
force_base_package: ${{ parameters.force_base_package }}
test_e2e: ${{ parameters.test_e2e }}
checks:
- checkName: datadog_checks_base
displayName: Datadog Checks Base (Linux)
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/templates/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
pip_cache_config: ${{ parameters.pip_cache_config }}
run_py2_tests: ${{ parameters.run_py2_tests }}
force_base_package: ${{ parameters.force_base_package }}
test_e2e: ${{ parameters.test_e2e }}

# Avoid max step limits
${{ if eq(check.checkName, 'datadog_checks_base') }}:
Expand Down
2 changes: 1 addition & 1 deletion active_directory/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'

setup(
name='datadog-active_directory',
Expand Down
2 changes: 1 addition & 1 deletion activemq/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion activemq_xml/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'

setup(
name='datadog-activemq_xml',
Expand Down
2 changes: 1 addition & 1 deletion aerospike/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=4.2.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion airflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=4.2.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion ambari/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=7.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion apache/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-apache',
Expand Down
2 changes: 1 addition & 1 deletion azure_iot_edge/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion btrfs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-btrfs',
Expand Down
2 changes: 1 addition & 1 deletion cacti/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-cacti',
Expand Down
2 changes: 1 addition & 1 deletion cassandra/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion cassandra_nodetool/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion ceph/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-ceph',
Expand Down
2 changes: 1 addition & 1 deletion cisco_aci/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-cisco_aci',
Expand Down
2 changes: 1 addition & 1 deletion clickhouse/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.0.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion cloud_foundry_api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
long_description = f.read()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion confluent_platform/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion consul/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'

setup(
name='datadog-consul',
Expand Down
2 changes: 1 addition & 1 deletion coredns/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=15.4.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion couch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.8.0'

setup(
name='datadog-couch',
Expand Down
2 changes: 1 addition & 1 deletion couchbase/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-couchbase',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion directory/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-directory',
Expand Down
2 changes: 1 addition & 1 deletion disk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=4.2.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'

setup(
name='datadog-disk',
Expand Down
2 changes: 1 addition & 1 deletion dns_check/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-dns_check',
Expand Down
2 changes: 1 addition & 1 deletion dotnetclr/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.4.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.8.0'

setup(
name='datadog-dotnetclr',
Expand Down
2 changes: 1 addition & 1 deletion druid/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion ecs_fargate/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-ecs_fargate',
Expand Down
2 changes: 1 addition & 1 deletion eks_fargate/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'


setup(
Expand Down
2 changes: 1 addition & 1 deletion elastic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-elastic',
Expand Down
2 changes: 1 addition & 1 deletion envoy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.8.0'

setup(
name='datadog-envoy',
Expand Down
2 changes: 1 addition & 1 deletion exchange_server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=4.2.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-exchange_server',
Expand Down
2 changes: 1 addition & 1 deletion external_dns/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-external_dns',
Expand Down
2 changes: 1 addition & 1 deletion fluentd/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.1.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-fluentd',
Expand Down
2 changes: 1 addition & 1 deletion gearmand/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=11.0.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=11.2.0'

setup(
name='datadog-gearmand',
Expand Down
2 changes: 1 addition & 1 deletion gitlab/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dependencies():
return f.readlines()


CHECKS_BASE_REQ = 'datadog-checks-base>=15.4.0'
CHECKS_BASE_REQ = 'datadog-checks-base>=15.7.0'

setup(
name='datadog-gitlab',
Expand Down
Loading

0 comments on commit edcf124

Please sign in to comment.