Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package okteto for openSUSE:Factory checked 
in at 2022-05-31 15:47:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/okteto (Old)
 and      /work/SRC/openSUSE:Factory/.okteto.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "okteto"

Tue May 31 15:47:26 2022 rev:17 rq:979926 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/okteto/okteto.changes    2022-05-19 
22:49:12.850326751 +0200
+++ /work/SRC/openSUSE:Factory/.okteto.new.1548/okteto.changes  2022-05-31 
15:48:37.256037562 +0200
@@ -1,0 +2,9 @@
+Mon May 30 14:31:10 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 2.3.1:
+  * Revert "Remove warning when failing to add dev annotations (#2719)"
+  * Remove warning when failing to add dev annotations (#2721)
+  * Fix "okteto up" metrics for vanilla clusters (#2718)
+  * fix: build okteto with volumes tag per commit (#2710)
+
+-------------------------------------------------------------------

Old:
----
  okteto-2.3.0.tar.gz

New:
----
  okteto-2.3.1.tar.gz

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

Other differences:
------------------
++++++ okteto.spec ++++++
--- /var/tmp/diff_new_pack.z0ido8/_old  2022-05-31 15:48:37.956038027 +0200
+++ /var/tmp/diff_new_pack.z0ido8/_new  2022-05-31 15:48:37.964038032 +0200
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           okteto
-Version:        2.3.0
+Version:        2.3.1
 Release:        0
 Summary:        Develop your applications directly in your Kubernetes Cluster
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.z0ido8/_old  2022-05-31 15:48:37.988038048 +0200
+++ /var/tmp/diff_new_pack.z0ido8/_new  2022-05-31 15:48:37.996038053 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/okteto/okteto</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">2.3.0</param>
+    <param name="revision">2.3.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
   </service>
@@ -15,7 +15,7 @@
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">okteto-2.3.0.tar.gz</param>
+    <param name="archive">okteto-2.3.1.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.z0ido8/_old  2022-05-31 15:48:38.012038064 +0200
+++ /var/tmp/diff_new_pack.z0ido8/_new  2022-05-31 15:48:38.016038067 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/okteto/okteto</param>
-              <param 
name="changesrevision">b0c6e61b9f0abc9c73026d0e7df46f3daa4da8d0</param></service></servicedata>
+              <param 
name="changesrevision">80423d4d9386ff531ad6dc5f15ce51131012ae6e</param></service></servicedata>
 (No newline at EOF)
 

++++++ okteto-2.3.0.tar.gz -> okteto-2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteto-2.3.0/pkg/cmd/build/build.go 
new/okteto-2.3.1/pkg/cmd/build/build.go
--- old/okteto-2.3.0/pkg/cmd/build/build.go     2022-05-16 09:56:22.000000000 
+0200
+++ new/okteto-2.3.1/pkg/cmd/build/build.go     2022-05-26 17:16:05.000000000 
+0200
@@ -232,7 +232,11 @@
 
                envGitCommit := os.Getenv(model.OktetoGitCommitEnvVar)
                if okteto.IsPipeline() {
-                       params := strings.Join(args, "") + envGitCommit
+                       params := ""
+                       if len(b.VolumesToInclude) > 0 {
+                               params = model.OktetoImageTagWithVolumes
+                       }
+                       params += strings.Join(args, "") + envGitCommit
                        tag = fmt.Sprintf("%x", sha256.Sum256([]byte(params)))
                }
 
@@ -242,7 +246,7 @@
                        targetRegistry = okteto.GlobalRegistry
                }
                b.Image = fmt.Sprintf("%s/%s-%s:%s", targetRegistry, 
manifestName, svcName, tag)
-               if len(b.VolumesToInclude) > 0 {
+               if !okteto.IsPipeline() && len(b.VolumesToInclude) > 0 {
                        b.Image = fmt.Sprintf("%s/%s-%s:%s", targetRegistry, 
manifestName, svcName, model.OktetoImageTagWithVolumes)
                }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteto-2.3.0/pkg/cmd/build/build_test.go 
new/okteto-2.3.1/pkg/cmd/build/build_test.go
--- old/okteto-2.3.0/pkg/cmd/build/build_test.go        2022-05-16 
09:56:22.000000000 +0200
+++ new/okteto-2.3.1/pkg/cmd/build/build_test.go        2022-05-26 
17:16:05.000000000 +0200
@@ -181,6 +181,43 @@
                        },
                },
                {
+                       name:        
"all-values-no-image-is-okteto-pipeline-with-volumes",
+                       serviceName: "service",
+                       buildInfo: &model.BuildInfo{
+                               Context:    "service",
+                               Dockerfile: "CustomDockerfile",
+                               Target:     "build",
+                               CacheFrom:  []string{"cache-image"},
+                               Args: model.Environment{
+                                       {
+                                               Name:  "arg1",
+                                               Value: "value1",
+                                       },
+                               },
+                               VolumesToInclude: []model.StackVolume{
+                                       {
+                                               LocalPath:  "a",
+                                               RemotePath: "b",
+                                       },
+                               },
+                       },
+                       initialOpts: &types.BuildOptions{
+                               OutputMode: "tty",
+                       },
+                       isOkteto:       true,
+                       okGitCommitEnv: "1235466",
+                       expected: &types.BuildOptions{
+                               OutputMode: oktetoLog.TTYFormat,
+                               Tag:        
"okteto.dev/movies-service:d5dd474fa99b0680c11f8098f06e408187bbcc5cc4a657fd0acabb117898a246",
+                               File:       filepath.Join("service", 
"CustomDockerfile"),
+                               Target:     "build",
+                               Path:       "service",
+                               CacheFrom:  []string{"cache-image"},
+                               BuildArgs:  []string{"arg1=value1"},
+                               AutogenTag: true,
+                       },
+               },
+               {
                        name:        "all-values-image",
                        serviceName: "service",
                        buildInfo: &model.BuildInfo{

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/okteto/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.okteto.new.1548/vendor.tar.gz differ: char 5, line 1

Reply via email to