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-02-18 23:02:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/okteto (Old)
 and      /work/SRC/openSUSE:Factory/.okteto.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "okteto"

Fri Feb 18 23:02:56 2022 rev:5 rq:955794 version:1.15.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/okteto/okteto.changes    2022-02-10 
23:13:03.644357934 +0100
+++ /work/SRC/openSUSE:Factory/.okteto.new.1958/okteto.changes  2022-02-18 
23:03:27.217410449 +0100
@@ -1,0 +2,6 @@
+Fri Feb 18 07:38:12 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 1.15.5:
+  * Fix skip-if-exists by checking if the configmap exists (#2271)
+
+-------------------------------------------------------------------

Old:
----
  okteto-1.15.4.tar.gz

New:
----
  okteto-1.15.5.tar.gz

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

Other differences:
------------------
++++++ okteto.spec ++++++
--- /var/tmp/diff_new_pack.jfOpSd/_old  2022-02-18 23:03:28.093410381 +0100
+++ /var/tmp/diff_new_pack.jfOpSd/_new  2022-02-18 23:03:28.097410381 +0100
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           okteto
-Version:        1.15.4
+Version:        1.15.5
 Release:        0
 Summary:        Develop your applications directly in your Kubernetes Cluster
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jfOpSd/_old  2022-02-18 23:03:28.133410378 +0100
+++ /var/tmp/diff_new_pack.jfOpSd/_new  2022-02-18 23:03:28.137410378 +0100
@@ -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">1.15.4</param>
+    <param name="revision">1.15.5</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-1.15.4.tar.gz</param>
+    <param name="archive">okteto-1.15.5.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.jfOpSd/_old  2022-02-18 23:03:28.161410376 +0100
+++ /var/tmp/diff_new_pack.jfOpSd/_new  2022-02-18 23:03:28.165410375 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/okteto/okteto</param>
-              <param 
name="changesrevision">bdc64f29ea85bb389dae1eefb8c763951066a38e</param></service></servicedata>
+              <param 
name="changesrevision">bd2355772061c5f33bc2ce40936df57fabfca5fd</param></service></servicedata>
 (No newline at EOF)
 

++++++ okteto-1.15.4.tar.gz -> okteto-1.15.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteto-1.15.4/cmd/pipeline/deploy.go 
new/okteto-1.15.5/cmd/pipeline/deploy.go
--- old/okteto-1.15.4/cmd/pipeline/deploy.go    2022-02-09 19:10:28.000000000 
+0100
+++ new/okteto-1.15.5/cmd/pipeline/deploy.go    2022-02-18 00:32:33.000000000 
+0100
@@ -24,6 +24,7 @@
        contextCMD "github.com/okteto/okteto/cmd/context"
        "github.com/okteto/okteto/cmd/utils"
        oktetoErrors "github.com/okteto/okteto/pkg/errors"
+       "github.com/okteto/okteto/pkg/k8s/configmaps"
        oktetoLog "github.com/okteto/okteto/pkg/log"
        "github.com/okteto/okteto/pkg/model"
        "github.com/okteto/okteto/pkg/okteto"
@@ -95,16 +96,17 @@
                        }
 
                        if skipIfExists {
-                               oktetoClient, err := okteto.NewOktetoClient()
+                               c, _, err := okteto.GetK8sClient()
                                if err != nil {
-                                       return err
+                                       return fmt.Errorf("failed to load 
okteto context '%s': %v", okteto.Context().Name, err)
                                }
-                               pipeline, err := 
oktetoClient.GetPipelineByRepository(ctx, repository)
+
+                               _, err = configmaps.Get(ctx, 
fmt.Sprintf("okteto-git-%s", name), okteto.Context().Namespace, c)
                                if err == nil {
-                                       oktetoLog.Information("Pipeline URL: 
%s", getPipelineURL(pipeline.GitDeploy))
-                                       oktetoLog.Success("Pipeline '%s' was 
already deployed", name)
+                                       oktetoLog.Success("Skipping '%s' 
because it's already deployed", name)
                                        return nil
                                }
+
                                if !oktetoErrors.IsNotFound(err) {
                                        return err
                                }

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

Reply via email to