Skip to content

Commit

Permalink
fix acceptance-release target
Browse files Browse the repository at this point in the history
  • Loading branch information
asalan316 committed Nov 29, 2024
1 parent db65e28 commit 59b70ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ mta-release: mta-build
@echo " - building mtar release '${VERSION}' to dir: '${DEST}' "

.PHONY: acceptance-release
acceptance-release: clean-acceptance go-mod-tidy go-mod-vendor build-test-app
acceptance-release: generate-fakes generate-openapi-generated-clients-and-servers clean-acceptance go-mod-tidy go-mod-vendor build-test-app
@echo " - building acceptance test release '${VERSION}' to dir: '${DEST}' "
@mkdir -p ${DEST}
${AUTOSCALER_DIR}/scripts/compile-acceptance-tests.sh
Expand Down
9 changes: 3 additions & 6 deletions src/acceptance/assets/app/go_app/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ function deploy(){
fi

# `create-org/space` is idempotent and will simply keep the potentially already existing org/space as is
cf create-org "${org}" || true
cf target -o "${org}" || true
cf create-space "${space}" || true
cf create-org "${org}"
cf target -o "${org}"
cf create-space "${space}"
cf target -s "${space}"

echo "current org ${org}"
echo "current space ${space}"

local app_name app_domain service_name memory_mb service_broker service_plan
app_name="test_app"
app_domain="$(getConfItem apps_domain)"
Expand Down

0 comments on commit 59b70ae

Please sign in to comment.