Skip to content

Commit 1c01da7

Browse files
fix failures in ci (#403)
this addresses two issues: - change to bosh/integration cfpersi/nfs-broker-tests contains go 1.13 and won't compile because it missed os.ReadFile since it still uses the long deprecated (1.17 IIRC) ioutil.ReadFile. - moving to bosh integration main introduces openssl v3. that will output certs that are not usable by a java 1.8 keytool if the -legacy flag is not provided.
1 parent a49886e commit 1c01da7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/ci/run_broker_integration

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -e -x
55

66
{
77
cd credhub
8+
# need to patch the script from credhub repo to use the -legacy flag to export the keytool certs, else newer java versions will fail
9+
sed -i 's#pass:changeit#pass:changeit -legacy#g' scripts/setup_dev_mtls.sh
810
./scripts/start_server.sh -Dspring.profiles.active=dev,dev-h2 > /tmp/start_credhub.log 2>&1
911
kill -9 "$(ps --pid $$ -oppid=)"; exit
1012
}&

scripts/ci/run_broker_integration.build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cfpersi/nfs-broker-tests
8-
tag: latest
7+
repository: bosh/integration
8+
tag: main
99

1010
inputs:
1111
- name: nfs-volume-release-concourse-tasks

0 commit comments

Comments
 (0)