buildpack

Accessing the java executable from a cloudfoundry task command (cf run-task)

空扰寡人 提交于 2019-12-20 02:44:08
问题 I need the java executable to run a java -jar from a cloudfoundry task command. Here is how I try to run the task: cf run-task bignibou-batch "java -jar bignibou-batch/build/libs/bignibou-batch.jar" Here is the error message I get: 2016-12-24T12:53:30.002+01:00 [APP/TASK/358e02df/0] [ERR] bash: java: command not found My manifest uses the java buildpack as follows (see bignibou-batch app at the bottom): --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env:

Selenium & Heroku: urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

半城伤御伤魂 提交于 2019-12-17 13:58:21
问题 Setup: selenium : 3.141.0 python : 3.6.7 heroku-stack : heroku-18 headless-chrome : v71.0.3578.80 buildpack installed chromedriver : v2.44.609551 buildpack installed I'm getting this error when using selenium in heroku: urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) I googled but didn't have luck. The error happens at the last line of this code. Code from selenium import webdriver from selenium.common.exceptions import

Selenium & Heroku: urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

时间秒杀一切 提交于 2019-12-17 13:57:12
问题 Setup: selenium : 3.141.0 python : 3.6.7 heroku-stack : heroku-18 headless-chrome : v71.0.3578.80 buildpack installed chromedriver : v2.44.609551 buildpack installed I'm getting this error when using selenium in heroku: urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) I googled but didn't have luck. The error happens at the last line of this code. Code from selenium import webdriver from selenium.common.exceptions import

'GoDep' is not recognized as an internal or external command

依然范特西╮ 提交于 2019-12-13 08:54:53
问题 I am trying to deploy my Go App on heroku, for which I am using Godep as build pack. After installing godep using the command go get github.com/tools/godep when I try to run godep save I am getting the error which states that 'godep' is not recognised as an internal or external command. Below is my env variables. Can someone please point out where I am going wrong ? 回答1: Setting the GOBIN value in the environment variables fixed the issue. 来源: https://stackoverflow.com/questions/49224055

Heroku NodeJS + CouchBase Custom Buildpack

风流意气都作罢 提交于 2019-12-13 04:59:47
问题 I'm trying to put together a custom buildpack with NodeJS and the CouchBase module/libraries I've gotten as far as using Vulcan to build libcouchbase and libvbucket and getting the buildpack to retrieve and unpack the tgz files for both. Everything looks ok there, but I receive errors when npm tries to install the couchbase module: I get a bunch of errors, but this line: "../src/couchbase_impl.h:52:36: warning: libcouchbase/couchbase.h: No such file or directory" leads me to think that it can

cloudfoundry: use an older buildpack version

为君一笑 提交于 2019-12-12 10:56:38
问题 Cloundfoundry recently updated its Java buildpack to version 2.5 (including java 8 and tomcat 8). I still would like to use version 2.4 since my app hasn't been upgraded to java 8 yet. What is the easiest way to do so? I can push the app using cf push app -b https://github.com/cloudfoundry/java-buildpack but how can I specify to use release 2.4 (https://github.com/cloudfoundry/java-buildpack/releases/tag/v2.4)? Apparently specifying the tag URL instead doesn't work. 回答1: To specify a branch

Heroku-Buildpack-Multi causing app to crash

自古美人都是妖i 提交于 2019-12-12 06:00:19
问题 I'm have a Rails 4 app on Heroku that I'm trying to deploy with two buildpacks. I'm not sure if I'm missing a step or if there is a bug, but when I push the code, the app deploys successfully. When I open it however, it crashes. I've tried using the command heroku buildpacks:set https://github.com/bobbus/image-optim-buildpack.git and heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git , but am only able to set one at a time, not both. It doesn't seem to matter which

Deploying Flask App using Python 3.5 and Scipy on Heroku

◇◆丶佛笑我妖孽 提交于 2019-12-12 02:58:39
问题 I'm try to use create a flask web app on Heroku that uses python 3.5, scipy and flask. It's well known I suppose that Heroku (still) can't install scipy on its platform. I'm wondering if anyone knows how to push a Flask app to Heroku that can use scipy. I know there are buildpacks that exist (like this one https://github.com/kennethreitz/conda-buildpack ) but they don't use the version of python I would like and doesn't seem to let gunicorn and flask do there web app thing. I don't know if

What is this buildpack error?

前提是你 提交于 2019-12-11 17:48:20
问题 I am trying to deploy a react app bootstrapped with create-react-app to heroku. The build keeps failing, and I get this error on the command line and in the build log App not compatible with buildpack: https://github.com/AdamT213/RateYourAcquaintance.git bash: /app/tmp/buildpacks/85d7c3f242750d8981190d9ed3f29461a37d776664b86f3dc3263563e08c29443b03b01355b70cb2a4a461abab934f47aa7919c42b019918961b2ebf902b1fa/bin/detect No such file or directory More info: https://devcenter.heroku.com/articles

multi buildpack - not able to build java and node

徘徊边缘 提交于 2019-12-11 13:08:52
问题 Following this https://docs.cloud.gov/apps/multi-buildpack-deploys/ tutorial, I'm trying to build java and node buildpacks and my build pack contains the below URLs https://github.com/cloudfoundry/java-buildpack https://github.com/cloudfoundry/nodejs-buildpack Staging failed: Buildpack compilation step failed, how to fix this error? 来源: https://stackoverflow.com/questions/36596095/multi-buildpack-not-able-to-build-java-and-node