Browse Source

Cf push instead of restaging the app

review-app-deployment-test
Kat 2 years ago
parent
commit
f8d89c0ca4
  1. 6
      .github/workflows/review_pipeline.yml

6
.github/workflows/review_pipeline.yml

@ -99,9 +99,6 @@ jobs:
cf api $CF_API_ENDPOINT cf api $CF_API_ENDPOINT
cf auth cf auth
cf target -o $CF_ORG -s $CF_SPACE cf target -o $CF_ORG -s $CF_SPACE
cf push $APP_NAME \
--manifest ./config/cloud_foundry/review_manifest.yml \
--no-start
- name: Set environment variables - name: Set environment variables
env: env:
@ -162,7 +159,8 @@ jobs:
env: env:
APP_NAME: dluhc-core-review-${{ github.event.pull_request.number }} APP_NAME: dluhc-core-review-${{ github.event.pull_request.number }}
run: | run: |
cf restage $APP_NAME cf push $APP_NAME --strategy rolling -t 180 \
--manifest ./config/cloud_foundry/review_manifest.yml
- name: Comment on PR with URL - name: Comment on PR with URL
uses: unsplash/comment-on-pr@v1.3.0 uses: unsplash/comment-on-pr@v1.3.0

Loading…
Cancel
Save