From 785b60f92f8d0be2f6ed17b64e8433ae666f59ed Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Tue, 16 Mar 2021 15:39:40 +0100 Subject: [PATCH] TSK-1595: updated IBM/cloudfoundry-deploy action to version 2.0 --- .github/workflows/continuous-integration.yml | 4 +++- manifest.yml => ci/ibm_cf_manifest.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) rename manifest.yml => ci/ibm_cf_manifest.yml (74%) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e3536190e..a03a0096e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -419,12 +419,14 @@ jobs: - name: Verify Example Application contains documentation run: ci/verify_docs_jar.sh - name: Deploy to IBM Cloud Foundry - uses: IBM/cloudfoundry-deploy@v1.1 + uses: IBM/cloudfoundry-deploy@v2.0 with: IBM_CLOUD_API_KEY: ${{ secrets.IBM_CLOUD_API_KEY }} IBM_CLOUD_CF_API: ${{ secrets.IBM_CLOUD_CF_API }} IBM_CLOUD_CF_ORG: ${{ secrets.IBM_CLOUD_CF_ORG }} IBM_CLOUD_CF_SPACE: ${{ secrets.IBM_CLOUD_CF_SPACE }} + RESOURCE_GROUP: default + APP_MANIFEST_FILE: ci/ibm_cf_manifest.yml - name: Smoke test documentation run: ci/verify_docs_alive.sh - name: Cancel workflow diff --git a/manifest.yml b/ci/ibm_cf_manifest.yml similarity index 74% rename from manifest.yml rename to ci/ibm_cf_manifest.yml index af8e98f82..354a22d69 100644 --- a/manifest.yml +++ b/ci/ibm_cf_manifest.yml @@ -1,7 +1,7 @@ # Configuration file for Cloud Foundry, see https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html applications: - name: taskana-rest-spring-example-boot - path: rest/taskana-rest-spring-example-boot/target/taskana-rest-spring-example-boot.jar + path: ../rest/taskana-rest-spring-example-boot/target/taskana-rest-spring-example-boot.jar buildpacks: - https://github.com/cloudfoundry/java-buildpack.git memory: 640M