Add documentation about updating Gitea #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO:
closes #12
@ -44,0 +52,4 @@
### Unreleased version
This is useful to deploy features that are in master but not yet in a release.
You mean like
gitea/gitea:latest
? If we never want to deploy our own code, then we never have to use our own repo afaics. But we do want to be able to deploy our own code.Yes, but a copy of
gitea/gitea:latest
at the revision we want, instead of always keeping up with their latest. Creating our own images should be a separate issue@ -44,0 +54,4 @@
This is useful to deploy features that are in master but not yet in a release.
TODO: Create an org on Docker Hub (kosmos is already taken and 67p is too short)
Pretty sure creating orgs is not part of the update process. This should be done before documenting how to update anything imo.
Obsolete comment. Already explained in PR description as TODO.
@ -44,0 +56,4 @@
TODO: Create an org on Docker Hub (kosmos is already taken and 67p is too short)
$ docker pull gitea/gitea
This is missing the build step for our own image. But also, we should build on Drone CI anyway, as discussed.
@ -44,0 +61,4 @@
$ docker push $ORG/gitea
Set the image for the gitea-server container to `$ORG/gitea:latest`, or run
this command to force a deployment if it is already set to it
Set the image where? And also why wouldn't we always use the same tag to be deployed; isn't that what they're for? So that we only have to tag an image, not change Kubernetes config?
I'd propose a tag like
production
, similar to the Git tags/branches we're using elsewhere.It depends, I think sometimes we'll want to use releases, so official images, and sometimes we'll want an unreleased feature.
production
tag sounds goodThe question about how/where to "set the image to x" is still unanswered by the doc.
This is still the old commit because we're commenting on it, new content is:
Oh, looks like Gitea's "show outdated" thing is not applied correctly then. Thanks.
I just checked again, and contrary to their announcements, Drone 1.0.0 is still RC and the install instructions aren't great yet. But in order to build ourselves, I think we first need to set up a Kosmos Drone CI that all repos/users on this Gitea can use.
So until we have that, I guess local building of images is required.
Local building of images is really easy. Clone https://github.com/go-gitea/gitea and run
make docker
and you get a image taggedgitea/gitea:latest
that you can then push. I'm updating the docsWIP: Add documentation about updating Giteato Add documentation about updating Gitea