Closed mstiunicon closed 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/171715985
The labels on this github issue will be updated when the story is started.
manifest.yml
---
applications:
- name: metering-feeder
memory: 2048MB
instances: 1
health-check-type: process
routes:
- route: metering-feeder.mybluemix.net
command: cd src;python3 main.py
env:
ENVIRONMENT: dev
multi-buildpack.yml
buildpacks:
- https://github.com/cloudfoundry/apt-buildpack
- https://github.com/cloudfoundry/python-buildpack
apt.yml
---
packages:
- openjdk-8-jre
repos:
- deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main
keys:
- https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xEB9B1D8886F44E2A
requirements.txt
xlrd>=1.2.0
requests==2.22.0
python-dateutil>=2.8.0
ibm-cos-sdk>=2.5.0
pymongo>=3.8.0
pyspark>=2.4.0
pyspark>=2.4.0
schedule>=0.6.0
python-dotenv>=0.10.3
log4mongo>=1.7.0
runtime.txt
python-3.7.x
specify the python-buildpack to 1.7.6, then fixed looks the latest version is not matched.
multi-buildpack.yml
buildpacks:
- https://github.com/cloudfoundry/apt-buildpack
- https://github.com/cloudfoundry/python-buildpack#v1.7.6
We are build the app successfully in previous months, but from last month, it build failed with "exit status 2", we didn't know what's the meaning, would you please help me ?
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?What version of the buildpack you are using?
Python Buildpack version 1.7.9
If you were attempting to accomplish a task, what was it you were attempting to do?
ibmcloud cf push
What did you expect to happen? successfully push the build and start app
What was the actual behavior? build failed with "Failed to compress droplet filesystem: exit status 2"
Please confirm where necessary: