Skip to content

Commit 1157741

Browse files
committed
ca-certificate fix
1 parent 93e4bfa commit 1157741

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mapr/tests/conftest.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515
# customers are expected to install the package themselves.
1616
# We do that here for the e2e testing environment.
1717
'apt-get update',
18+
'sh -c "DEBIAN_FRONTEND=noninteractive dpkg --configure -a"',
19+
'sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -f -y"',
1820
'sh -c "DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::=\\\"--force-confdef\\\" -o Dpkg::Options::=\\\"--force-confnew\\\" -y install libssl-dev"', # noqa: E501
19-
'apt-get install -y gcc gnupg lsb-release ca-certificates',
21+
'sh -c "DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::=\\\"--force-confdef\\\" -o Dpkg::Options::=\\\"--force-confnew\\\" -y install gcc gnupg lsb-release ca-certificates"', # noqa: E501
22+
# 'apt-get install -y gcc gnupg lsb-release ca-certificates',
2023
# mapr-streams-python requires librdkafka headers as they're not shipped with the Agent
2124
# This requires adding confluent's APT repositories. These steps are based on the docs in
2225
# - https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html#get-the-software
@@ -31,8 +34,8 @@
3134
'apt-get install -y librdkafka-dev',
3235
# Finally, we can install the package
3336
'/opt/datadog-agent/embedded/bin/pip install mapr-streams-python',
34-
'sh -c "DEBIAN_FRONTEND=noninteractive dpkg --configure -a"',
35-
'sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -f -y"',
37+
# 'sh -c "DEBIAN_FRONTEND=noninteractive dpkg --configure -a"',
38+
# 'sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -f -y"',
3639
]
3740
}
3841

0 commit comments

Comments
 (0)