cds-dbm
cds-dbm copied to clipboard
sapmachine-11-jre package is no longer available
support for JRE packages was removed from SAP/SapMachine quite a while ago with this commit.
As a result deploy to Cloud Foundry no longer work.
Templates in "https://github.com/mikezaschka/cds-dbm/tree/main/src/build/postgres-cf/template" to be modified for "sapmachine-11-jdk" package support. This requires at least package change in "apt.yml" and line "export JAVA_HOME=/home/vcap/deps/0/apt/usr/lib/jvm/sapmachine-11" modification in "deploy.sh".
Proposed pull request: #33
There also seems to be an issue with the keys section in "apt.yml". Using
---
keys:
- https://dist.sapmachine.io/debian/sapmachine.old.key
- https://dist.sapmachine.io/debian/sapmachine.key
repos:
- deb http://dist.sapmachine.io/debian/amd64/ ./
packages:
- sapmachine-11-jdk
I get the following error:
2021-10-20T06:17:39.891+0000 [STG/0] ERR gpg: WARNING: unable to fetch URI https://dist.sapmachine.io/debian/sapmachine.old.key: keyserver error
2021-10-20T06:17:39.892+0000 [STG/0] OUT **ERROR** Error running supply: could not add apt key https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-20T06:17:39.892+0000 [STG/0] OUT
2021-10-20T06:17:39.892+0000 [STG/0] OUT Executing: /tmp/apt-key-gpghome.ADdZAdVahF/gpg.1.sh --fetch-keys https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-20T06:17:39.892+0000 [STG/0] OUT gpgkeys: https fetch error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
2021-10-20T06:17:39.892+0000 [STG/0] OUT
2021-10-20T06:17:39.892+0000 [STG/0] OUT
2021-10-20T06:17:39.892+0000 [STG/0] OUT exit status 2
2021-10-20T06:17:39.894+0000 [STG/0] ERR Failed to run all supply scripts: exit status 14
2021-10-20T06:17:39.898+0000 [STG/0] OUT Exit status 225
Please check my comment at https://github.com/gregorwolf/pg-beershop/issues/149#issuecomment-938362028