Hello community,
here is the log from the commit of package container-registry-systemd for
openSUSE:Factory checked in at 2019-12-23 22:46:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/container-registry-systemd (Old)
and /work/SRC/openSUSE:Factory/.container-registry-systemd.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "container-registry-systemd"
Mon Dec 23 22:46:47 2019 rev:4 rq:758990 version:0.0+git20191222.b00b515
Changes:
--------
---
/work/SRC/openSUSE:Factory/container-registry-systemd/container-registry-systemd.changes
2019-11-03 12:24:01.301499324 +0100
+++
/work/SRC/openSUSE:Factory/.container-registry-systemd.new.6675/container-registry-systemd.changes
2019-12-23 22:49:05.442104127 +0100
@@ -1,0 +2,8 @@
+Mon Dec 23 13:02:46 UTC 2019 - [email protected]
+
+- Update to version 0.0+git20191222.b00b515:
+ * Disable auth_server if no auth is wanted
+ * Abort if unknown options are given
+ * Only run after network is online
+
+-------------------------------------------------------------------
Old:
----
container-registry-systemd-0.0+git20191102.b2b9ebf.tar.xz
New:
----
container-registry-systemd-0.0+git20191222.b00b515.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ container-registry-systemd.spec ++++++
--- /var/tmp/diff_new_pack.9MSG8q/_old 2019-12-23 22:49:06.214104412 +0100
+++ /var/tmp/diff_new_pack.9MSG8q/_new 2019-12-23 22:49:06.230104418 +0100
@@ -1,7 +1,7 @@
#
# spec file for package container-registry-systemd
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: container-registry-systemd
-Version: 0.0+git20191102.b2b9ebf
+Version: 0.0+git20191222.b00b515
Release: 0
Summary: Systemd service files and config files for container-registry
License: GPL-3.0-or-later
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.9MSG8q/_old 2019-12-23 22:49:06.326104453 +0100
+++ /var/tmp/diff_new_pack.9MSG8q/_new 2019-12-23 22:49:06.330104454 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">git://github.com/thkukuk/container-registry-systemd.git</param>
- <param
name="changesrevision">b2b9ebfbd4eac8445698775ee349392ce49cb6db</param>
+ <param
name="changesrevision">b00b5157429f328f3c21a7837d1c13b03767f99b</param>
</service>
</servicedata>
\ No newline at end of file
++++++ container-registry-systemd-0.0+git20191102.b2b9ebf.tar.xz ->
container-registry-systemd-0.0+git20191222.b00b515.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/container-registry-systemd-0.0+git20191102.b2b9ebf/container-registry.service
new/container-registry-systemd-0.0+git20191222.b00b515/container-registry.service
---
old/container-registry-systemd-0.0+git20191102.b2b9ebf/container-registry.service
2019-11-02 15:38:19.000000000 +0100
+++
new/container-registry-systemd-0.0+git20191222.b00b515/container-registry.service
2019-12-22 10:01:45.000000000 +0100
@@ -1,6 +1,7 @@
[Unit]
Description=Container Registry
Documentation=https://docs.docker.com/registry/
+After=network-online.target
# Make sure that at least the certs directory exists, the registry
# will fail if the configured certificates don't exist.
ConditionPathExists=/etc/registry/certs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/container-registry-systemd-0.0+git20191102.b2b9ebf/registry-auth_server.service
new/container-registry-systemd-0.0+git20191222.b00b515/registry-auth_server.service
---
old/container-registry-systemd-0.0+git20191102.b2b9ebf/registry-auth_server.service
2019-11-02 15:38:19.000000000 +0100
+++
new/container-registry-systemd-0.0+git20191222.b00b515/registry-auth_server.service
2019-12-22 10:01:45.000000000 +0100
@@ -4,6 +4,7 @@
# Make sure that at least the certs directory exists, the container
# will fail if the configured certificates don't exist.
ConditionPathExists=/etc/registry/certs
+After=network-online.target
Wants=container-registry.service
[Service]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/container-registry-systemd-0.0+git20191102.b2b9ebf/setup-container-registry.sh
new/container-registry-systemd-0.0+git20191222.b00b515/setup-container-registry.sh
---
old/container-registry-systemd-0.0+git20191102.b2b9ebf/setup-container-registry.sh
2019-11-02 15:38:19.000000000 +0100
+++
new/container-registry-systemd-0.0+git20191222.b00b515/setup-container-registry.sh
2019-12-22 10:01:45.000000000 +0100
@@ -41,9 +41,9 @@
echo " Don't install an autentication server"
echo " --portus"
echo " Use portus as authorization service and user interface"
- echo " --force"
+ echo " -f|--force"
echo " Delete everything in /etc/registry first"
- echo " --help"
+ echo " -h|--help"
echo " Display this help text"
echo ""
}
@@ -70,6 +70,10 @@
FORCE_CLEAN=1
shift
;;
+ -*)
+ show_help
+ exit 1
+ ;;
*) # unknown option
POSITIONAL+=("$1") # save it in an array for later
shift # past argument
@@ -134,6 +138,7 @@
fi
systemctl enable container-registry
+systemctl disable registry-auth_server
echo "The container registry can be started by:"
echo " systemctl start container-registry"