Hi.
I have a continuous delivery pipeline on IBM cloud, with 2 stages. Build and Deploy.
The building part of is working, but the the deploy is always failing.
This is what i have tried.
downgrade nodejs from 9 to 8.
export environment variable.
installed ibm_db locally then pushed the app.
removed ibm_db and let it install as a dependencie
tried different command in the Build script section under jobs
Closing this.
the problem was the ibm_db needs to be installed but the installer/clidriver folder need to be removed before pushing. After that deploy went successfully
Hi. I have a continuous delivery pipeline on IBM cloud, with 2 stages. Build and Deploy.
The building part of is working, but the the deploy is always failing.
This is what i have tried. downgrade nodejs from 9 to 8. export environment variable. installed ibm_db locally then pushed the app. removed ibm_db and let it install as a dependencie tried different command in the Build script section under jobs
` 0 B / 14.05 MiB 0.00% 4.00 MiB / 14.05 MiB 28.48% 7.44 MiB / 14.05 MiB 52.95% 9.34 MiB / 14.05 MiB 66.52% 10.25 MiB / 14.05 MiB 72.97% 12.28 MiB / 14.05 MiB 87.43% 13.25 MiB / 14.05 MiB 94.33% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 14.05 MiB / 14.05 MiB 100.00% 4s
Waiting for API to complete processing files...
Staging app and tracing logs... Downloading sdk-for-nodejs... Downloaded sdk-for-nodejs Cell a16c6bd8-5094-471f-ac60-8a9a32c71bec creating container for instance 2cbea384-f767-4274-80a4-cf2f35e833e3 Cell a16c6bd8-5094-471f-ac60-8a9a32c71bec successfully created container for instance 2cbea384-f767-4274-80a4-cf2f35e833e3 Downloading app package... Downloaded app package (42.8M) -----> IBM SDK for Node.js Buildpack v3.24-20181128-1339 Based on Cloud Foundry Node.js Buildpack v1.5.24 -----> Creating runtime environment
-----> Installing binaries engines.node (package.json): 8.0.0 engines.npm (package.json): 5.6.0
-----> Restoring cache Skipping cache restore (new runtime signature) -----> Building dependencies Prebuild detected (node_modules already exists) Rebuilding any native modules
-----> Build failed
Failed to compile droplet: Failed to compile droplet: exit status 1 Exit status 223 Cell a16c6bd8-5094-471f-ac60-8a9a32c71bec stopping instance 2cbea384-f767-4274-80a4-cf2f35e833e3 Cell a16c6bd8-5094-471f-ac60-8a9a32c71bec destroying container for instance 2cbea384-f767-4274-80a4-cf2f35e833e3 FAILED Error staging application: App staging failed in the buildpack compile phase
Finished: FAILED`
This happens only when the package ibm_db is included on the deploy. Locally it works flawless... Thanks in advance.
Package