Skip to content

Commit c189190

Browse files
alesnovak-s1Jenkins Automation
and
Jenkins Automation
authored
Agent release 2.2.17 (#1303)
Co-authored-by: Jenkins Automation <[email protected]>
1 parent a5d0a15 commit c189190

File tree

8 files changed

+54
-6
lines changed

8 files changed

+54
-6
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check Changelog Format
2+
3+
on:
4+
push:
5+
paths:
6+
- 'CHANGELOG.md'
7+
8+
jobs:
9+
check-changelog:
10+
name: Check Changelog
11+
runs-on: ubuntu-20.04
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
20+
21+
- name: install python and requirements
22+
uses: ./.github/actions/install_python_and_requirements
23+
with:
24+
python_version: '3.10'
25+
26+
- name: Check Changelog
27+
run: |
28+
python3 build_package_new.py parse-changelog

CHANGELOG.md

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

4+
## 2.2.17 "Sinthia" - Sep 17, 2024
5+
<!---
6+
Packaged by Ales Novak <[email protected]> on Sep 17, 2024 00:00 -0800
7+
--->
8+
9+
Changes:
10+
* Several packages were upgraded to mitigate vulnerabilities - orjson==3.10.7, PyMySQL==1.1.1
11+
* Unused root CA file scalyr_agent_ca_root was removed
12+
* Alpine base image upgraded to 2.19.4
13+
14+
Fixes:
15+
* Added safety check when handling pending addEvents task to handle the following error: `AttributeError: 'AddEventsTask' object has no attribute '_CopyingManagerWorkerSession__receive_response_status'`
16+
* Added missing zstandard library to alpine image
17+
18+
419
## 2.2.16 "Lenny" - May 29, 2024
520
<!---
621
Packaged by Ales Novak <[email protected]> on May 29, 2024 00:00 -0800

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.16
1+
2.2.17

build_package_new.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import argparse
2828
import sys
2929
import pathlib as pl
30+
from agent_build_refactored.prepare_agent_filesystem import parse_change_log
3031

3132
if sys.version_info < (3, 8, 0):
3233
raise ValueError("This script requires Python 3.8 or above")
@@ -169,12 +170,16 @@ def _add_package_parsers():
169170

170171
subparsers = parser.add_subparsers(dest="command", required=True)
171172

173+
subparsers.add_parser("parse-changelog")
172174
_add_image_parsers()
173175
_add_package_parsers()
174176

175177
args = parser.parse_args()
176178

177-
if args.command == "image":
179+
if args.command == "parse-changelog":
180+
print("Checking changelog")
181+
parse_change_log()
182+
elif args.command == "image":
178183
image_builder_cls = ALL_CONTAINERISED_AGENT_BUILDERS[args.builder_name]
179184

180185
builder = image_builder_cls(base_image=args.base_image)

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.16
53+
image: scalyr/scalyr-k8s-agent:2.2.17
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.16
53+
image: scalyr/scalyr-k8s-agent:2.2.17
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.16
52+
image: scalyr/scalyr-k8s-agent:2.2.17
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.16
52+
image: scalyr/scalyr-k8s-agent:2.2.17
5353
imagePullPolicy: Always
5454
name: scalyr-agent
5555
securityContext:

0 commit comments

Comments
 (0)