Skip to content

Commit b3a96d1

Browse files
authored
Merge pull request #616 from ytsssun/package-updates
Bump ecs-agent, amazon-ssm-agent, docker-engine
2 parents c5f1606 + 219bedc commit b3a96d1

File tree

7 files changed

+20
-19
lines changed

7 files changed

+20
-19
lines changed

packages/amazon-ssm-agent/0001-agent-Add-config-to-make-shell-optional.patch

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1-
From af0299d3f9ffb36b1f10b3c608b68301af664b1e Mon Sep 17 00:00:00 2001
1+
From 096dad878552ea342ddad9f3132453fd7cc4e08b Mon Sep 17 00:00:00 2001
22
From: Kush Upadhyay <[email protected]>
33
Date: Mon, 7 Oct 2024 09:13:38 +0000
44
Subject: [PATCH] agent: Add config to make shell optional
55

66
Signed-off-by: Kush Upadhyay <[email protected]>
7+
Signed-off-by: Yutong Sun <[email protected]>
78
---
89
agent/appconfig/appconfig.go | 1 +
910
agent/appconfig/contracts.go | 2 ++
1011
agent/plugins/runscript/runscript.go | 36 +++++++++++++++++++---------
1112
3 files changed, 28 insertions(+), 11 deletions(-)
1213

1314
diff --git a/agent/appconfig/appconfig.go b/agent/appconfig/appconfig.go
14-
index 021d9f2..867f9e0 100644
15+
index 6b278f50..2013cf92 100644
1516
--- a/agent/appconfig/appconfig.go
1617
+++ b/agent/appconfig/appconfig.go
17-
@@ -119,6 +119,7 @@ func DefaultConfig() SsmagentConfig {
18-
SessionLogsDestination: SessionLogsDestinationNone,
18+
@@ -120,6 +120,7 @@ func DefaultConfig() SsmagentConfig {
1919
PluginLocalOutputCleanup: DefaultPluginOutputRetention,
2020
OrchestrationDirectoryCleanup: DefaultOrchestrationDirCleanup,
21+
SessionHandshakeTimeoutSeconds: DefaultSessionHandshakeTimeoutSeconds,
2122
+ UseShell: false,
2223
}
23-
var agent = AgentInfo{
24+
agent := AgentInfo{
2425
Name: "amazon-ssm-agent",
2526
diff --git a/agent/appconfig/contracts.go b/agent/appconfig/contracts.go
26-
index 687aed2..dcb8412 100644
27+
index 69501310..bf42380f 100644
2728
--- a/agent/appconfig/contracts.go
2829
+++ b/agent/appconfig/contracts.go
29-
@@ -50,6 +50,8 @@ type SsmCfg struct {
30+
@@ -55,6 +55,8 @@ type SsmCfg struct {
3031
PluginLocalOutputCleanup string
3132
// Configure only when it is safe to delete orchestration folder after document execution. This config overrides PluginLocalOutputCleanup when set.
3233
OrchestrationDirectoryCleanup string
@@ -36,10 +37,10 @@ index 687aed2..dcb8412 100644
3637

3738
// AgentInfo represents metadata for amazon-ssm-agent
3839
diff --git a/agent/plugins/runscript/runscript.go b/agent/plugins/runscript/runscript.go
39-
index 48be5e7..d8cbcf1 100644
40+
index c89bf92a..b56e973a 100644
4041
--- a/agent/plugins/runscript/runscript.go
4142
+++ b/agent/plugins/runscript/runscript.go
42-
@@ -174,23 +174,37 @@ func (p *Plugin) runCommands(pluginID string, pluginInput RunScriptPluginInput,
43+
@@ -177,23 +177,37 @@ func (p *Plugin) runCommands(pluginID string, pluginInput RunScriptPluginInput,
4344
return
4445
}
4546

@@ -89,5 +90,5 @@ index 48be5e7..d8cbcf1 100644
8990
exitCode, err := p.CommandExecuter.NewExecute(p.Context, workingDir, output.GetStdoutWriter(), output.GetStderrWriter(), cancelFlag, executionTimeout, commandName, commandArguments, pluginInput.Environment)
9091

9192
--
92-
2.40.1
93+
2.47.0
9394

packages/amazon-ssm-agent/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ path = "../packages.rs"
1212
releases-url = "https://github.com/aws/amazon-ssm-agent/releases"
1313

1414
[[package.metadata.build-package.external-files]]
15-
url = "https://github.com/aws/amazon-ssm-agent/archive/3.3.1957.0/amazon-ssm-agent-3.3.1957.0.tar.gz"
16-
sha512 = "ee3ef0c05c308e81c35e1e63f33522684fe3ae4016a2769643a59e97f581383fb9abff16b12bbfdf1e097522ffb9872daf35e2b37157c278542e00f8270f0c8a"
15+
url = "https://github.com/aws/amazon-ssm-agent/archive/3.3.2746.0/amazon-ssm-agent-3.3.2746.0.tar.gz"
16+
sha512 = "a0f2af7cf5cb9a8466f6ec8ed79fa3f4f00633c43d772624bdf1f71dc75967e760a997a7e37138bbc2197945848a9278fec0c2f21146945849bda64b8803b6dc"
1717

1818
[build-dependencies]
1919
glibc = { path = "../glibc" }

packages/amazon-ssm-agent/amazon-ssm-agent.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global goimport %{goproject}/%{gorepo}
44

55
Name: %{_cross_os}amazon-ssm-agent
6-
Version: 3.3.1957.0
6+
Version: 3.3.2746.0
77
Release: 1%{?dist}
88
Summary: An agent to enable remote management of EC2 instances
99
License: Apache-2.0

packages/docker-engine/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ path = "../packages.rs"
1212
releases-url = "https://github.com/moby/moby/releases"
1313

1414
[[package.metadata.build-package.external-files]]
15-
url = "https://github.com/moby/moby/archive/v25.0.8/moby-25.0.8.tar.gz"
16-
sha512 = "573f738df9fa1655c56ba5836fcfd0691521b81c4807e09156dd2813b172219b283b7ff1639f19379b46a7c3e1b0da4c8ae4f11f96e50e7efb0587d6bcc682fa"
15+
url = "https://github.com/moby/moby/archive/v25.0.12/moby-25.0.12.tar.gz"
16+
sha512 = "8954a86e87be392988cb56c9f99ee3004033b0b82b2ed5c6c6064d3409fb1357db115aa9b6e5a9f49084e5fc2a596d52c8b958482eb1a21b91c6e6791d81d637"
1717

1818
[build-dependencies]
1919
glibc = { path = "../glibc" }

packages/docker-engine/docker-engine.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global goorg github.com/docker
44
%global goimport %{goorg}/docker
55

6-
%global gover 25.0.8
6+
%global gover 25.0.12
77
%global rpmver %{gover}
88
%global gitrev b08a51fe16eed67de3861c03b363ba403643b12e
99

packages/ecs-agent/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ path = "../packages.rs"
1313
releases-url = "https://github.com/aws/amazon-ecs-agent/releases"
1414

1515
[[package.metadata.build-package.external-files]]
16-
url = "https://github.com/aws/amazon-ecs-agent/archive/v1.91.2/amazon-ecs-agent-1.91.2.tar.gz"
17-
sha512 = "c079dc22ee60ff0701d9a66f59add26fcab02baae36c72f98e8397ea6747a1858c4df2cada9ed3e2af3657d65920d2495b0b94c88dfbd573a6485ce2a4d6a816"
16+
url = "https://github.com/aws/amazon-ecs-agent/archive/v1.97.0/amazon-ecs-agent-1.97.0.tar.gz"
17+
sha512 = "86d625fe9700c26fb79d6432658b9c7beb695b91838c6c04246d9e02962d41f82bb1ebbbec14f036c0597993f321148aac39afeb813d36747b727b4005731fc1"
1818

1919
[build-dependencies]
2020
glibc = { path = "../glibc" }

packages/ecs-agent/ecs-agent.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%global agent_gorepo amazon-ecs-agent
33
%global agent_goimport %{agent_goproject}/%{agent_gorepo}
44

5-
%global agent_gover 1.91.2
5+
%global agent_gover 1.97.0
66

77
# git rev-parse --short=8
88
%global agent_gitrev b7e96508

0 commit comments

Comments
 (0)