Upgrade Gitea dependencies #141

Merged
techknowlogick merged 5 commits from dependency-upgrade into master 2021-06-15 21:09:03 +00:00
Member
  • postgresql 9.7.2 to 10.3.17
  • mariadb 8.0.0 to 9.3.6
  • memcached 4.2.20 to 5.9.0

Tested on my clusters.

- postgresql 9.7.2 to 10.3.17 - mariadb 8.0.0 to 9.3.6 - memcached 4.2.20 to 5.9.0 Tested on my clusters.
luhahn added 1 commit 2021-04-12 11:01:24 +00:00
Upgrade Gitea dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
f925ea17ce
- postgresql 9.7.2 to 10.3.17 - mariadb 8.0.0 to 9.3.6 - memcached 4.2.20 to 5.9.0
techknowlogick approved these changes 2021-04-16 13:17:26 +00:00
Dismissed
luhahn added 1 commit 2021-05-07 06:43:27 +00:00
Merge branch 'master' into dependency-upgrade
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
1a375b46b6
Contributor

Worked fine for me as well, after deleting the postgres statefulset. It just did not want to upgrade that.

upgrade.go:123: [debug] preparing upgrade for gitea upgrade.go:131: [debug] performing update for gitea upgrade.go:303: [debug] creating upgraded release for gitea client.go:201: [debug] checking 13 resources for changes client.go:464: [debug] Looks like there are no changes for ServiceAccount "gitea-memcached" client.go:464: [debug] Looks like there are no changes for Service "gitea-postgresql-headless" client.go:464: [debug] Looks like there are no changes for Service "gitea-postgresql" client.go:464: [debug] Looks like there are no changes for Service "gitea-http" client.go:464: [debug] Looks like there are no changes for Service "gitea-ssh" client.go:233: [debug] error updating the resource "gitea-postgresql":  cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden upgrade.go:369: [debug] warning: Upgrade "gitea" failed: cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden Error: UPGRADE FAILED: cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden helm.go:81: [debug] cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden helm.sh/helm/v3/pkg/kube.(*Client).Update  /home/circleci/helm.sh/helm/pkg/kube/client.go:246 helm.sh/helm/v3/pkg/action.(*Upgrade).performUpgrade  /home/circleci/helm.sh/helm/pkg/action/upgrade.go:317 helm.sh/helm/v3/pkg/action.(*Upgrade).Run  /home/circleci/helm.sh/helm/pkg/action/upgrade.go:132 main.newUpgradeCmd.func2  /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:155 github.com/spf13/cobra.(*Command).execute  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 github.com/spf13/cobra.(*Command).ExecuteC  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 github.com/spf13/cobra.(*Command).Execute  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895 main.main  /home/circleci/helm.sh/helm/cmd/helm/helm.go:80 runtime.main  /usr/local/go/src/runtime/proc.go:204 runtime.goexit  /usr/local/go/src/runtime/asm_amd64.s:1374 UPGRADE FAILED main.newUpgradeCmd.func2  /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:157 github.com/spf13/cobra.(*Command).execute  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 github.com/spf13/cobra.(*Command).ExecuteC  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 github.com/spf13/cobra.(*Command).Execute  /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895 main.main  /home/circleci/helm.sh/helm/cmd/helm/helm.go:80 runtime.main  /usr/local/go/src/runtime/proc.go:204 runtime.goexit  /usr/local/go/src/runtime/asm_amd64.s:1374 
Worked fine for me as well, after deleting the postgres statefulset. It just did not want to upgrade that. ```console upgrade.go:123: [debug] preparing upgrade for gitea upgrade.go:131: [debug] performing update for gitea upgrade.go:303: [debug] creating upgraded release for gitea client.go:201: [debug] checking 13 resources for changes client.go:464: [debug] Looks like there are no changes for ServiceAccount "gitea-memcached" client.go:464: [debug] Looks like there are no changes for Service "gitea-postgresql-headless" client.go:464: [debug] Looks like there are no changes for Service "gitea-postgresql" client.go:464: [debug] Looks like there are no changes for Service "gitea-http" client.go:464: [debug] Looks like there are no changes for Service "gitea-ssh" client.go:233: [debug] error updating the resource "gitea-postgresql": cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden upgrade.go:369: [debug] warning: Upgrade "gitea" failed: cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden Error: UPGRADE FAILED: cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden helm.go:81: [debug] cannot patch "gitea-postgresql" with kind StatefulSet: StatefulSet.apps "gitea-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden helm.sh/helm/v3/pkg/kube.(*Client).Update /home/circleci/helm.sh/helm/pkg/kube/client.go:246 helm.sh/helm/v3/pkg/action.(*Upgrade).performUpgrade /home/circleci/helm.sh/helm/pkg/action/upgrade.go:317 helm.sh/helm/v3/pkg/action.(*Upgrade).Run /home/circleci/helm.sh/helm/pkg/action/upgrade.go:132 main.newUpgradeCmd.func2 /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:155 github.com/spf13/cobra.(*Command).execute /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 github.com/spf13/cobra.(*Command).ExecuteC /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 github.com/spf13/cobra.(*Command).Execute /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895 main.main /home/circleci/helm.sh/helm/cmd/helm/helm.go:80 runtime.main /usr/local/go/src/runtime/proc.go:204 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374 UPGRADE FAILED main.newUpgradeCmd.func2 /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:157 github.com/spf13/cobra.(*Command).execute /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 github.com/spf13/cobra.(*Command).ExecuteC /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 github.com/spf13/cobra.(*Command).Execute /go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895 main.main /home/circleci/helm.sh/helm/cmd/helm/helm.go:80 runtime.main /usr/local/go/src/runtime/proc.go:204 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374 ```
zeripath approved these changes 2021-06-07 20:38:11 +00:00
lunny added 1 commit 2021-06-08 02:24:29 +00:00
Merge branch 'master' into dependency-upgrade
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
31be0cb717
luhahn added 1 commit 2021-06-10 17:50:31 +00:00
Merge branch 'master' into dependency-upgrade
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
f1d6a731e3
techknowlogick added 1 commit 2021-06-15 21:08:31 +00:00
Merge branch 'master' into dependency-upgrade
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
cb87983469
techknowlogick approved these changes 2021-06-15 21:08:43 +00:00
techknowlogick merged commit f344b4559d into master 2021-06-15 21:09:03 +00:00
justusbunsi added the
kind
enhancement
label 2021-06-30 10:17:20 +00:00
justusbunsi added this to the Release 4.0.0 milestone 2021-06-30 10:17:25 +00:00
Sign in to join this conversation.
No description provided.