Skip to content

Commit 756d4b2

Browse files
committed
Project import generated by Copybara.
GitOrigin-RevId: b9887febdfb6e72d7e84669b07b351b924c4a089
1 parent 284dc54 commit 756d4b2

File tree

7 files changed

+26
-10
lines changed

7 files changed

+26
-10
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
Scalyr Agent 2 Changes By Release
22
=================================
33

4+
## 2.2.8 "Marcus" - Nov 20, 2023
5+
<!---
6+
Packaged by Ales Novak <[email protected]> on Nov 20, 2023 00:00 -0800
7+
--->
8+
9+
Features:
10+
* Added allow_http_monitors root configuration option. If true it forces monitors to use https instead of http where relevant. By default true for fips docker images, false otherwise.
11+
12+
Bug fixes:
13+
* Tls certificate handling defect in 2.2.4 - https://github.com/scalyr/scalyr-agent-2/issues/1199
14+
* Python2 support fixed (broken with version 2.2.7)
15+
16+
417
## 2.2.7 "Zeratul" - Nov 6, 2023
518
<!---
619
Packaged by Ales Novak <[email protected]> on Nov 6, 2023 00:00 -0800

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.7.pre8.1
1+
2.2.8

k8s/default-namespace/scalyr-agent-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
envFrom:
5151
- configMapRef:
5252
name: scalyr-config
53-
image: scalyr/scalyr-k8s-agent:2.2.7
53+
image: scalyr/scalyr-k8s-agent:2.2.8
5454
imagePullPolicy: Always
5555
name: scalyr-agent
5656
securityContext:

k8s/no-kustomize/scalyr-agent-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
envFrom:
5151
- configMapRef:
5252
name: scalyr-config
53-
image: scalyr/scalyr-k8s-agent:2.2.7
53+
image: scalyr/scalyr-k8s-agent:2.2.8
5454
imagePullPolicy: Always
5555
name: scalyr-agent
5656
securityContext:

k8s/scalyr-agent-2-envfrom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
envFrom:
5050
- configMapRef:
5151
name: scalyr-config
52-
image: scalyr/scalyr-k8s-agent:2.2.7
52+
image: scalyr/scalyr-k8s-agent:2.2.8
5353
imagePullPolicy: Always
5454
name: scalyr-agent
5555
securityContext:

k8s/scalyr-agent-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
envFrom:
5050
- configMapRef:
5151
name: scalyr-config
52-
image: scalyr/scalyr-k8s-agent:2.2.7
52+
image: scalyr/scalyr-k8s-agent:2.2.8
5353
imagePullPolicy: Always
5454
name: scalyr-agent
5555
securityContext:

tests/end_to_end_tests/managed_packages_tests/remote_machine_tests/tools/__init__.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@
3030
LinuxAIOPackagesBuilder,
3131
LinuxNonAIOPackageBuilder,
3232
)
33+
from scalyr_agent import scalyr_logging
3334

3435
_STABLE_REPO_URL = "https://scalyr-repo.s3.amazonaws.com/stable"
3536
_PARENT_DIR = pl.Path(__file__).parent
3637

38+
global_log = scalyr_logging.getLogger(__name__)
3739

3840
def get_packages_stable_version(version: str = None):
3941

@@ -74,12 +76,13 @@ def download_stable_packages(
7476
output_dir.mkdir(parents=True, exist_ok=True)
7577
agent_package_path = output_dir / file_name
7678
if agent_package_path.exists():
77-
raise Exception("While downloading a stable package, found an existing one: " + str(agent_package_path))
78-
with requests.Session() as s:
79-
resp = s.get(url=package_url)
80-
resp.raise_for_status()
79+
global_log.info("While downloading a stable package, found an existing one, skipping: " + str(agent_package_path))
80+
else:
81+
with requests.Session() as s:
82+
resp = s.get(url=package_url)
83+
resp.raise_for_status()
8184

82-
agent_package_path.write_bytes(resp.content)
85+
agent_package_path.write_bytes(resp.content)
8386

8487

8588
def create_packages_repo_root(

0 commit comments

Comments
 (0)