Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package amazon-ecs-init for openSUSE:Factory 
checked in at 2021-06-02 22:12:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/amazon-ecs-init (Old)
 and      /work/SRC/openSUSE:Factory/.amazon-ecs-init.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "amazon-ecs-init"

Wed Jun  2 22:12:21 2021 rev:9 rq:896910 version:1.52.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/amazon-ecs-init/amazon-ecs-init.changes  
2021-03-24 16:13:28.615972027 +0100
+++ 
/work/SRC/openSUSE:Factory/.amazon-ecs-init.new.1898/amazon-ecs-init.changes    
    2021-06-02 22:12:46.832072939 +0200
@@ -1,0 +2,15 @@
+Wed May 26 11:33:16 UTC 2021 - Robert Schweikert <rjsch...@suse.com>
+
+- Add use-agent-container-built-in-certs.patch to use the built in certs from
+  the downloaded agent container
+- Update amazon-ecs.service to consider the proper environment files
+- Set the cache state to ensure the latest agent container gets pulled
+
+-------------------------------------------------------------------
+Wed May 19 18:19:51 UTC 2021 - Robert Schweikert <rjsch...@suse.com>
+
+- Update to version 1.52.1 (bsc#1186239, bsc#1186262)
+  + Cache Agent version 1.52.1
+  + Add support for ECS EXTERNAL launch type (ECS Anywhere)
+
+-------------------------------------------------------------------

Old:
----
  amazon-ecs-init-1.50.1-1.tar.gz

New:
----
  amazon-ecs-init-1.52.1-1.tar.gz
  use-agent-container-built-in-certs.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ amazon-ecs-init.spec ++++++
--- /var/tmp/diff_new_pack.8qyrRJ/_old  2021-06-02 22:12:47.292071801 +0200
+++ /var/tmp/diff_new_pack.8qyrRJ/_new  2021-06-02 22:12:47.296071791 +0200
@@ -18,7 +18,7 @@
 
 %define short_name amazon-ecs
 Name:           amazon-ecs-init
-Version:        1.50.1
+Version:        1.52.1
 Release:        0
 Summary:        Amazon EC2 Container Service Initialization
 License:        Apache-2.0
@@ -27,6 +27,7 @@
 Source0:        %{name}-%{version}-1.tar.gz
 Source1:        %{short_name}.service
 Patch0:         reproducible.patch
+Patch1:         use-agent-container-built-in-certs.patch
 BuildRequires:  go  >= 1.7
 BuildRequires:  pkgconfig(systemd)
 # We cannot handle cross module dependencies properly, i.e. one module can
@@ -139,6 +140,7 @@
 %prep
 %setup -q -n %{name}-%{version}-1
 %patch0 -p1
+%patch1
 
 %build
 export GO111MODULE="auto"
@@ -160,7 +162,7 @@
 
 mkdir -p %{buildroot}/%{_localstatedir}/cache/ecs
 touch %{buildroot}/%{_localstatedir}/cache/ecs/ecs-agent.tar
-touch %{buildroot}/%{_localstatedir}/cache/ecs/state
+echo 0 > %{buildroot}/%{_localstatedir}/cache/ecs/state
 
 %files
 %defattr(-,root,root,-)

++++++ amazon-ecs-init-1.50.1-1.tar.gz -> amazon-ecs-init-1.52.1-1.tar.gz ++++++
++++ 3859 lines of diff (skipped)

++++++ amazon-ecs.service ++++++
--- /var/tmp/diff_new_pack.8qyrRJ/_old  2021-06-02 22:12:47.664070882 +0200
+++ /var/tmp/diff_new_pack.8qyrRJ/_new  2021-06-02 22:12:47.664070882 +0200
@@ -7,6 +7,11 @@
 
 [Service]
 Type=simple
+Restart=on-failure
+RestartPreventExitStatus=5
+RestartSec=10s
+EnvironmentFile=-/var/lib/ecs/ecs.config
+EnvironmentFile=-/etc/ecs/ecs.config
 ExecStartPre=/usr/sbin/amazon-ecs-init pre-start
 ExecStart=/usr/sbin/amazon-ecs-init start
 ExecStop=/usr/sbin/amazon-ecs-init pre-stop

++++++ use-agent-container-built-in-certs.patch ++++++
--- ecs-init/config/config_generic_rpm.go.orig
+++ ecs-init/config/config_generic_rpm.go
@@ -1,4 +1,4 @@
-// +build generic_rpm
+// +build generic_rpm suse
 
 // Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 //
--- ecs-init/config/config_suse_ubuntu_debian.go.orig
+++ ecs-init/config/config_suse_ubuntu_debian.go
@@ -1,4 +1,4 @@
-// +build suse ubuntu debian
+// +build ubuntu debian
 
 // Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 //

Reply via email to