Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubefirst for openSUSE:Factory 
checked in at 2023-10-27 22:28:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubefirst (Old)
 and      /work/SRC/openSUSE:Factory/.kubefirst.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubefirst"

Fri Oct 27 22:28:37 2023 rev:3 rq:1120668 version:2.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubefirst/kubefirst.changes      2023-10-25 
18:04:06.205027387 +0200
+++ /work/SRC/openSUSE:Factory/.kubefirst.new.17445/kubefirst.changes   
2023-10-27 22:29:11.757721125 +0200
@@ -1,0 +2,8 @@
+Fri Oct 27 04:54:21 UTC 2023 - [email protected]
+
+- Update to version 2.3.3:
+  * feat: 2.3.3 adopt latest gitops-template (#1871)
+  * fix: cloudflare token, error handling for cluster creation
+    (#1870)
+
+-------------------------------------------------------------------

Old:
----
  kubefirst-2.3.2.obscpio

New:
----
  kubefirst-2.3.3.obscpio

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

Other differences:
------------------
++++++ kubefirst.spec ++++++
--- /var/tmp/diff_new_pack.jAli2k/_old  2023-10-27 22:29:17.681938402 +0200
+++ /var/tmp/diff_new_pack.jAli2k/_new  2023-10-27 22:29:17.685938549 +0200
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           kubefirst
-Version:        2.3.2
+Version:        2.3.3
 Release:        0
 Summary:        CLI for the KubeFirst GitOps Infrastructure & Application 
Delivery Platform
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jAli2k/_old  2023-10-27 22:29:17.709939429 +0200
+++ /var/tmp/diff_new_pack.jAli2k/_new  2023-10-27 22:29:17.713939575 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/kubefirst/kubefirst</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v2.3.2</param>
+    <param name="revision">v2.3.3</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.jAli2k/_old  2023-10-27 22:29:17.729940162 +0200
+++ /var/tmp/diff_new_pack.jAli2k/_new  2023-10-27 22:29:17.733940309 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/kubefirst/kubefirst</param>
-              <param 
name="changesrevision">155d0304b9c5ac032c430c91be7463ce6854f6e5</param></service></servicedata>
+              <param 
name="changesrevision">d39ebea43d694fead3d713e50a0981cfc90e27fc</param></service></servicedata>
 (No newline at EOF)
 

++++++ kubefirst-2.3.2.obscpio -> kubefirst-2.3.3.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubefirst-2.3.2/internal/cluster/cluster.go 
new/kubefirst-2.3.3/internal/cluster/cluster.go
--- old/kubefirst-2.3.2/internal/cluster/cluster.go     2023-10-24 
19:19:57.000000000 +0200
+++ new/kubefirst-2.3.3/internal/cluster/cluster.go     2023-10-27 
01:42:14.000000000 +0200
@@ -58,11 +58,6 @@
                return err
        }
 
-       if res.StatusCode != http.StatusOK {
-               log.Info().Msgf("unable to create cluster %s", res.Status)
-               return err
-       }
-
        body, err := io.ReadAll(res.Body)
        if err != nil {
                log.Info().Msgf("unable to create cluster %s", err)
@@ -70,6 +65,11 @@
                return err
        }
 
+       if res.StatusCode != http.StatusOK {
+               log.Info().Msgf("unable to create cluster %s %s", res.Status, 
body)
+               return fmt.Errorf("unable to create cluster %s %s", res.Status, 
body)
+       }
+
        log.Info().Msgf("Created cluster: %s", string(body))
 
        return nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubefirst-2.3.2/internal/common/common.go 
new/kubefirst-2.3.3/internal/common/common.go
--- old/kubefirst-2.3.2/internal/common/common.go       2023-10-24 
19:19:57.000000000 +0200
+++ new/kubefirst-2.3.3/internal/common/common.go       2023-10-27 
01:42:14.000000000 +0200
@@ -116,6 +116,7 @@
        // Determine if there are active instal ls
        gitProvider := viper.GetString("flags.git-provider")
        gitProtocol := viper.GetString("flags.git-protocol")
+       cloudProvider := viper.GetString("kubefirst.cloud-provider")
 
        log.Info().Msg("destroying kubefirst platform")
 
@@ -177,7 +178,7 @@
 #### :tada: Success` + "`Your K3D kubefirst platform has been destroyed.`" + `
 
 ### :blue_book: To delete a management cluster please see documentation:
-https://docs.kubefirst.io/aws/deprovision
+https://docs.kubefirst.io/` + cloudProvider + `/deprovision
 `
 
        progress.Success(successMessage)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubefirst-2.3.2/internal/launch/constants.go 
new/kubefirst-2.3.3/internal/launch/constants.go
--- old/kubefirst-2.3.2/internal/launch/constants.go    2023-10-24 
19:19:57.000000000 +0200
+++ new/kubefirst-2.3.3/internal/launch/constants.go    2023-10-27 
01:42:14.000000000 +0200
@@ -11,7 +11,7 @@
        helmChartName     = "kubefirst"
        helmChartRepoName = "kubefirst"
        helmChartRepoURL  = "https://charts.kubefirst.com";
-       helmChartVersion  = "2.3.2"
+       helmChartVersion  = "2.3.3"
        namespace         = "kubefirst"
        secretName        = "kubefirst-initial-secrets"
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubefirst-2.3.2/internal/provision/provision.go 
new/kubefirst-2.3.3/internal/provision/provision.go
--- old/kubefirst-2.3.2/internal/provision/provision.go 2023-10-24 
19:19:57.000000000 +0200
+++ new/kubefirst-2.3.3/internal/provision/provision.go 2023-10-27 
01:42:14.000000000 +0200
@@ -27,9 +27,9 @@
        }
 
        if !clusterCreated.InProgress {
-               err := cluster.CreateCluster(clusterRecord)
+               err = cluster.CreateCluster(clusterRecord)
                if err != nil {
-                       progress.Error("Unable to create the cluster")
+                       progress.Error(err.Error())
                }
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubefirst-2.3.2/internal/utilities/utilities.go 
new/kubefirst-2.3.3/internal/utilities/utilities.go
--- old/kubefirst-2.3.2/internal/utilities/utilities.go 2023-10-24 
19:19:57.000000000 +0200
+++ new/kubefirst-2.3.3/internal/utilities/utilities.go 2023-10-27 
01:42:14.000000000 +0200
@@ -153,7 +153,7 @@
                        PrivateKey: viper.GetString("kbot.private-key"),
                },
                CloudflareAuth: apiTypes.CloudflareAuth{
-                       Token: os.Getenv("CF_API_TOKEN"),
+                       APIToken: os.Getenv("CF_API_TOKEN"),
                },
        }
 

++++++ kubefirst.obsinfo ++++++
--- /var/tmp/diff_new_pack.jAli2k/_old  2023-10-27 22:29:17.929947498 +0200
+++ /var/tmp/diff_new_pack.jAli2k/_new  2023-10-27 22:29:17.929947498 +0200
@@ -1,5 +1,5 @@
 name: kubefirst
-version: 2.3.2
-mtime: 1698167997
-commit: 155d0304b9c5ac032c430c91be7463ce6854f6e5
+version: 2.3.3
+mtime: 1698363734
+commit: d39ebea43d694fead3d713e50a0981cfc90e27fc
 

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

Reply via email to