Re-enable PRserv and HASHserv after api migration 95/29995/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 17 Jun 2024 15:38:52 +0000 (17:38 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 18 Jun 2024 10:11:56 +0000 (10:11 +0000)
The new services were deployed and can be enabled.
Add a feature agl-prhash-public to enable use.

Bug-AGL: SPEC-5173

Change-Id: I552fcc170748ce0c7ef6b4537beaceb97333f1a7
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29995
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

templates/feature/agl-ci/99_local.conf.inc
templates/feature/agl-prhash-public/99_local.conf.inc [new file with mode: 0644]

index 06402ef..68b5e07 100644 (file)
@@ -21,15 +21,15 @@ INHERIT += "buildstats"
 INHERIT += "buildstats-summary"
 
 # setup for PRSERV and HASHSERV
-#AGL_HOST_PRSERV ?= "10.30.72.18"
-#AGL_HOST_HASHSERV ?= "10.30.72.18"
+AGL_HOST_PRSERV ?= "10.30.72.18"
+AGL_HOST_HASHSERV ?= "10.30.72.18"
 
 # r/w hashserv
-#BB_HASHSERVE = "${AGL_HOST_HASHSERV}:8383"
-#BB_SIGNATURE_HANDLER = "OEEquivHash"
+BB_HASHSERVE = "${AGL_HOST_HASHSERV}:8383"
+BB_SIGNATURE_HANDLER = "OEEquivHash"
 
 # r/w prserv
-#PRSERV_HOST = "${AGL_HOST_PRSERV}:8181"
+PRSERV_HOST = "${AGL_HOST_PRSERV}:8181"
 
 IMAGE_INSTALL:append = " curl"
 
diff --git a/templates/feature/agl-prhash-public/99_local.conf.inc b/templates/feature/agl-prhash-public/99_local.conf.inc
new file mode 100644 (file)
index 0000000..c82b0f4
--- /dev/null
@@ -0,0 +1,11 @@
+# setup for PRSERV and HASHSERV
+AGL_HOST_PRSERV ?= "prserv.automotivelinux.org"
+AGL_HOST_HASHSERV ?= "prserv.automotivelinux.org"
+
+# r/o hashserv
+BB_HASHSERVE = "auto"
+BB_HASHSERVE_UPSTREAM = "${AGL_HOST_HASHSERV}:8484"
+BB_SIGNATURE_HANDLER = "OEEquivHash"
+
+# r/o prserv
+PRSERV_HOST = "${AGL_HOST_PRSERV}:8282"