Skip to content

Commit 280e446

Browse files
Update multi_tenant_deploy.yml
1 parent dbda710 commit 280e446

1 file changed

Lines changed: 37 additions & 35 deletions

File tree

.github/workflows/multi_tenant_deploy.yml

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -32,46 +32,48 @@ jobs:
3232

3333
- name: Build and package
3434
run: |
35+
echo "branch ...."
36+
git branch
3537
mvn clean install -P unit-tests -DskipIntegrationTests
3638
37-
- name: Setup Node.js
38-
uses: actions/setup-node@v3
39-
with:
40-
node-version: '18' # Change this to at least version 18
39+
# - name: Setup Node.js
40+
# uses: actions/setup-node@v3
41+
# with:
42+
# node-version: '18' # Change this to at least version 18
4143

42-
- name: Install MBT
43-
run: npm install -g mbt
44+
# - name: Install MBT
45+
# run: npm install -g mbt
4446

45-
- name: Build and package
46-
run: |
47-
mvn clean install -P unit-tests -DskipIntegrationTests
47+
# - name: Build and package
48+
# run: |
49+
# mvn clean install -P unit-tests -DskipIntegrationTests
4850

49-
- name: Clone the cloud-cap-samples-java repo
50-
run: git clone --depth 1 --branch main https://github.com/vibhutikumar07/cloud-cap-samples-java.git
51+
# - name: Clone the cloud-cap-samples-java repo
52+
# run: git clone --depth 1 --branch main https://github.com/vibhutikumar07/cloud-cap-samples-java.git
5153

52-
- name: Change directory to cloud-cap-samples-java
53-
working-directory: cloud-cap-samples-java
54-
run: pwd # Verifies that we're in the correct directory
54+
# - name: Change directory to cloud-cap-samples-java
55+
# working-directory: cloud-cap-samples-java
56+
# run: pwd # Verifies that we're in the correct directory
5557

56-
- name: Run mbt build
57-
working-directory: cloud-cap-samples-java
58-
run: |
59-
echo "java version"
60-
java --version
61-
mbt build
62-
- name: Deploy to Cloud Foundry
63-
working-directory: cloud-cap-samples-java
64-
run: |
65-
echo "Deploying to ${{ github.event.inputs.cf_space }}......"
58+
# - name: Run mbt build
59+
# working-directory: cloud-cap-samples-java
60+
# run: |
61+
# echo "java version"
62+
# java --version
63+
# mbt build
64+
# - name: Deploy to Cloud Foundry
65+
# working-directory: cloud-cap-samples-java
66+
# run: |
67+
# echo "Deploying to ${{ github.event.inputs.cf_space }}......"
6668

67-
# Install cf CLI plugin
68-
cf install-plugin multiapps -f
69-
# Login to Cloud Foundry again to ensure session is active
70-
#cf login -a ${{ secrets.CF_API }} -u ${{ secrets.CF_USER }} -p ${{ secrets.CF_PASSWORD }} -o ${{ secrets.CF_ORG }} -s ${{ github.event.inputs.cf_space }}
71-
cf login -a ${{ secrets.CF_API }} -u ${{ secrets.CF_USER }} -p ${{ secrets.CF_PASSWORD }} -o ${{ secrets.CF_ORG }} -s ${{ secrets.CF_SPACE_RISHI }}
72-
# Deploy the application
73-
echo "Current directory.."
74-
pwd
75-
ls -lrth
76-
echo "Running cf deploy"
77-
cf deploy mta_archives/bookshop-mt_1.0.0.mtar -f
69+
# # Install cf CLI plugin
70+
# cf install-plugin multiapps -f
71+
# # Login to Cloud Foundry again to ensure session is active
72+
# #cf login -a ${{ secrets.CF_API }} -u ${{ secrets.CF_USER }} -p ${{ secrets.CF_PASSWORD }} -o ${{ secrets.CF_ORG }} -s ${{ github.event.inputs.cf_space }}
73+
# cf login -a ${{ secrets.CF_API }} -u ${{ secrets.CF_USER }} -p ${{ secrets.CF_PASSWORD }} -o ${{ secrets.CF_ORG }} -s ${{ secrets.CF_SPACE_RISHI }}
74+
# # Deploy the application
75+
# echo "Current directory.."
76+
# pwd
77+
# ls -lrth
78+
# echo "Running cf deploy"
79+
# cf deploy mta_archives/bookshop-mt_1.0.0.mtar -f

0 commit comments

Comments
 (0)