From 45cb3bb20b95030fc03c392f916ca835eb32a01d Mon Sep 17 00:00:00 2001 From: hawking71 Date: Fri, 13 Dec 2024 11:40:19 -0500 Subject: [PATCH] update docker image for ci integration test (#1153) Co-authored-by: yutaoj <105471132+yutaoj@users.noreply.github.com> Co-authored-by: qliang71 <160087900+qliang71@users.noreply.github.com> --- .circleci/config.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 02da268a..7fad93a1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -171,7 +171,7 @@ jobs: test: docker: - - image: shimit/mbt_multi:0.3.0 + - image: cimg/go:1.21-node working_directory: ~/go/src/github.com/SAP/cloud-mta-build-tool steps: - checkout @@ -179,8 +179,16 @@ jobs: name: install dependencies command: | go mod vendor + - run: + name: install cf cli + command: | + curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&&version=8.8.3" | sudo tar -zx -C /usr/local/bin + - run: + name: install MTA cf plugins + command: | + cf install-plugin multiapps -f - run: cf login -a $CF_API -o $ORG -s $SPACE -u $TECH_USER -p $TECH_PASS - #- run: cd integration && go test -tags=integration + - run: cd integration && go test -tags=integration compliance: docker: