automation: document how to refresh a container
authorOlaf Hering <olaf@aepfle.de>
Thu, 8 Jul 2021 14:56:28 +0000 (16:56 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Jul 2021 12:28:52 +0000 (13:28 +0100)
The Tumbleweed container should be updated often.
Describe the neccessary steps how to refresh and test it before
pushing the new image to gitlab.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
automation/build/README.md

index e1fb3124deb84988a0eebf065d25ab74c5c6e0e7..2137957408c6f24ae59c99b54d4358dfc6ff647c 100644 (file)
@@ -91,5 +91,17 @@ you have access to do so and have your Docker logged into the registry.
 To login you must run `docker login registry.gitlab.com`. For more
 information see the [registry help].
 
+This example shows how to refresh a container for a rolling release
+such as openSUSE Tumbleweed. Login with the gitlab.com credentials.
+
+```
+docker login registry.gitlab.com/xen-project/xen
+make -C automation/build suse/opensuse-tumbleweed
+env CONTAINER_NO_PULL=1 \
+  CONTAINER=tumbleweed \
+  automation/scripts/containerize bash -exc './configure && make'
+make -C automation/build suse/opensuse-tumbleweed PUSH=1
+```
+
 [registry]: https://gitlab.com/xen-project/xen/container_registry
 [registry help]: https://gitlab.com/help/user/project/container_registry